]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/msw/ogl_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info *swig_types[42];
251
252 /* -------- TYPES TABLE (END) -------- */
253
254
255 /*-----------------------------------------------
256 @(target):= _ogl.so
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
259
260 #define SWIG_name "_ogl"
261
262 /* Auxiliar swig macros */
263
264 #ifdef __cplusplus
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
272
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
275 #else
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
277 #endif
278
279 #else /* C case */
280
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
289
290 #endif /* __cplusplus */
291
292
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
303
304
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject *obj)
314 {
315 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 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();
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 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();
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 wxPyBeginBlockThreads();
660 if (!PyList_Check(pyList)) {
661 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
662 wxPyEndBlockThreads();
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();
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();
681 return NULL;
682 }
683 list->Append(wxo);
684 }
685 wxPyEndBlockThreads();
686 return list;
687 }
688
689 //---------------------------------------------------------------------------
690
691 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
692 wxPyBeginBlockThreads();
693 if (!PyList_Check(pyList)) {
694 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
695 wxPyEndBlockThreads();
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();
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();
722 return NULL;
723 }
724 list->Append((wxObject*) new wxRealPoint(*wxo));
725 }
726 }
727 wxPyEndBlockThreads();
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 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();
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 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2677 wxDC *arg2 = 0 ;
2678 double arg3 ;
2679 double arg4 ;
2680 double arg5 ;
2681 double arg6 ;
2682 bool arg7 = (bool) True ;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
2685 PyObject * obj2 = 0 ;
2686 PyObject * obj3 = 0 ;
2687 PyObject * obj4 = 0 ;
2688 PyObject * obj5 = 0 ;
2689 PyObject * obj6 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1)
2699 SWIG_fail;
2700 if (arg2 == NULL) {
2701 PyErr_SetString(PyExc_TypeError,"null reference");
2702 SWIG_fail;
2703 }
2704 arg3 = (double) SWIG_AsDouble(obj2);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 arg4 = (double) SWIG_AsDouble(obj3);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 arg5 = (double) SWIG_AsDouble(obj4);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 arg6 = (double) SWIG_AsDouble(obj5);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 if (obj6) {
2713 arg7 = (bool) SWIG_AsBool(obj6);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 Py_INCREF(Py_None); resultobj = Py_None;
2724 return resultobj;
2725 fail:
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2733 bool arg2 ;
2734 double arg3 ;
2735 double arg4 ;
2736 int arg5 = (int) 0 ;
2737 int arg6 = (int) 0 ;
2738 PyObject * obj0 = 0 ;
2739 PyObject * obj1 = 0 ;
2740 PyObject * obj2 = 0 ;
2741 PyObject * obj3 = 0 ;
2742 PyObject * obj4 = 0 ;
2743 PyObject * obj5 = 0 ;
2744 char *kwnames[] = {
2745 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2746 };
2747
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2751 arg2 = (bool) SWIG_AsBool(obj1);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 arg3 = (double) SWIG_AsDouble(obj2);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 arg4 = (double) SWIG_AsDouble(obj3);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 if (obj4) {
2758 arg5 = (int) SWIG_AsInt(obj4);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 if (obj5) {
2762 arg6 = (int) SWIG_AsInt(obj5);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 Py_INCREF(Py_None); resultobj = Py_None;
2773 return resultobj;
2774 fail:
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2782 double arg2 ;
2783 double arg3 ;
2784 int arg4 = (int) 0 ;
2785 int arg5 = (int) 0 ;
2786 PyObject * obj0 = 0 ;
2787 PyObject * obj1 = 0 ;
2788 PyObject * obj2 = 0 ;
2789 PyObject * obj3 = 0 ;
2790 PyObject * obj4 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 arg2 = (double) SWIG_AsDouble(obj1);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 arg3 = (double) SWIG_AsDouble(obj2);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 if (obj3) {
2803 arg4 = (int) SWIG_AsInt(obj3);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 if (obj4) {
2807 arg5 = (int) SWIG_AsInt(obj4);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821 }
2822
2823
2824 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2827 double arg2 ;
2828 double arg3 ;
2829 int arg4 = (int) 0 ;
2830 int arg5 = (int) 0 ;
2831 PyObject * obj0 = 0 ;
2832 PyObject * obj1 = 0 ;
2833 PyObject * obj2 = 0 ;
2834 PyObject * obj3 = 0 ;
2835 PyObject * obj4 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2843 arg2 = (double) SWIG_AsDouble(obj1);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 arg3 = (double) SWIG_AsDouble(obj2);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 if (obj3) {
2848 arg4 = (int) SWIG_AsInt(obj3);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 if (obj4) {
2852 arg5 = (int) SWIG_AsInt(obj4);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
2862 Py_INCREF(Py_None); resultobj = Py_None;
2863 return resultobj;
2864 fail:
2865 return NULL;
2866 }
2867
2868
2869 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject *resultobj;
2871 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2872 bool arg2 ;
2873 double arg3 ;
2874 double arg4 ;
2875 int arg5 = (int) 0 ;
2876 int arg6 = (int) 0 ;
2877 PyObject * obj0 = 0 ;
2878 PyObject * obj1 = 0 ;
2879 PyObject * obj2 = 0 ;
2880 PyObject * obj3 = 0 ;
2881 PyObject * obj4 = 0 ;
2882 PyObject * obj5 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2890 arg2 = (bool) SWIG_AsBool(obj1);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 arg3 = (double) SWIG_AsDouble(obj2);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 arg4 = (double) SWIG_AsDouble(obj3);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 if (obj4) {
2897 arg5 = (int) SWIG_AsInt(obj4);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 if (obj5) {
2901 arg6 = (int) SWIG_AsInt(obj5);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 Py_INCREF(Py_None); resultobj = Py_None;
2912 return resultobj;
2913 fail:
2914 return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2921 double arg2 ;
2922 double arg3 ;
2923 int arg4 = (int) 0 ;
2924 int arg5 = (int) 0 ;
2925 PyObject * obj0 = 0 ;
2926 PyObject * obj1 = 0 ;
2927 PyObject * obj2 = 0 ;
2928 PyObject * obj3 = 0 ;
2929 PyObject * obj4 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2937 arg2 = (double) SWIG_AsDouble(obj1);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 arg3 = (double) SWIG_AsDouble(obj2);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 if (obj3) {
2942 arg4 = (int) SWIG_AsInt(obj3);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 if (obj4) {
2946 arg5 = (int) SWIG_AsInt(obj4);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2966 double arg2 ;
2967 double arg3 ;
2968 int arg4 = (int) 0 ;
2969 int arg5 = (int) 0 ;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 PyObject * obj2 = 0 ;
2973 PyObject * obj3 = 0 ;
2974 PyObject * obj4 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2982 arg2 = (double) SWIG_AsDouble(obj1);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 arg3 = (double) SWIG_AsDouble(obj2);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 if (obj3) {
2987 arg4 = (int) SWIG_AsInt(obj3);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 if (obj4) {
2991 arg5 = (int) SWIG_AsInt(obj4);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 Py_INCREF(Py_None); resultobj = Py_None;
3002 return resultobj;
3003 fail:
3004 return NULL;
3005 }
3006
3007
3008 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject *resultobj;
3010 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3011 wxDC *arg2 = 0 ;
3012 double arg3 ;
3013 double arg4 ;
3014 double arg5 ;
3015 double arg6 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3018 PyObject * obj2 = 0 ;
3019 PyObject * obj3 = 0 ;
3020 PyObject * obj4 = 0 ;
3021 PyObject * obj5 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3030 SWIG_POINTER_EXCEPTION | 0)) == -1)
3031 SWIG_fail;
3032 if (arg2 == NULL) {
3033 PyErr_SetString(PyExc_TypeError,"null reference");
3034 SWIG_fail;
3035 }
3036 arg3 = (double) SWIG_AsDouble(obj2);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 arg4 = (double) SWIG_AsDouble(obj3);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 arg5 = (double) SWIG_AsDouble(obj4);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 arg6 = (double) SWIG_AsDouble(obj5);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3061 wxDC *arg2 = 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "dc", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1)
3073 SWIG_fail;
3074 if (arg2 == NULL) {
3075 PyErr_SetString(PyExc_TypeError,"null reference");
3076 SWIG_fail;
3077 }
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 (arg1)->base_OnDrawControlPoints(*arg2);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 Py_INCREF(Py_None); resultobj = Py_None;
3086 return resultobj;
3087 fail:
3088 return NULL;
3089 }
3090
3091
3092 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3095 wxDC *arg2 = 0 ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "dc", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3106 SWIG_POINTER_EXCEPTION | 0)) == -1)
3107 SWIG_fail;
3108 if (arg2 == NULL) {
3109 PyErr_SetString(PyExc_TypeError,"null reference");
3110 SWIG_fail;
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 (arg1)->base_OnEraseControlPoints(*arg2);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 Py_INCREF(Py_None); resultobj = Py_None;
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj;
3128 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3129 wxDC *arg2 = 0 ;
3130 bool arg3 = (bool) True ;
3131 PyObject * obj0 = 0 ;
3132 PyObject * obj1 = 0 ;
3133 PyObject * obj2 = 0 ;
3134 char *kwnames[] = {
3135 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3136 };
3137
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3142 SWIG_POINTER_EXCEPTION | 0)) == -1)
3143 SWIG_fail;
3144 if (arg2 == NULL) {
3145 PyErr_SetString(PyExc_TypeError,"null reference");
3146 SWIG_fail;
3147 }
3148 if (obj2) {
3149 arg3 = (bool) SWIG_AsBool(obj2);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->base_OnMoveLink(*arg2,arg3);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3169 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3170 bool arg3 ;
3171 double arg4 ;
3172 double arg5 ;
3173 int arg6 = (int) 0 ;
3174 int arg7 = (int) 0 ;
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj1 = 0 ;
3177 PyObject * obj2 = 0 ;
3178 PyObject * obj3 = 0 ;
3179 PyObject * obj4 = 0 ;
3180 PyObject * obj5 = 0 ;
3181 PyObject * obj6 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3191 arg3 = (bool) SWIG_AsBool(obj2);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 arg4 = (double) SWIG_AsDouble(obj3);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 arg5 = (double) SWIG_AsDouble(obj4);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 if (obj5) {
3198 arg6 = (int) SWIG_AsInt(obj5);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 if (obj6) {
3202 arg7 = (int) SWIG_AsInt(obj6);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 Py_INCREF(Py_None); resultobj = Py_None;
3213 return resultobj;
3214 fail:
3215 return NULL;
3216 }
3217
3218
3219 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject *resultobj;
3221 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3222 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3223 double arg3 ;
3224 double arg4 ;
3225 int arg5 = (int) 0 ;
3226 int arg6 = (int) 0 ;
3227 PyObject * obj0 = 0 ;
3228 PyObject * obj1 = 0 ;
3229 PyObject * obj2 = 0 ;
3230 PyObject * obj3 = 0 ;
3231 PyObject * obj4 = 0 ;
3232 PyObject * obj5 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 arg3 = (double) SWIG_AsDouble(obj2);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 arg4 = (double) SWIG_AsDouble(obj3);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 if (obj4) {
3247 arg5 = (int) SWIG_AsInt(obj4);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 if (obj5) {
3251 arg6 = (int) SWIG_AsInt(obj5);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265 }
3266
3267
3268 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3271 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3272 double arg3 ;
3273 double arg4 ;
3274 int arg5 = (int) 0 ;
3275 int arg6 = (int) 0 ;
3276 PyObject * obj0 = 0 ;
3277 PyObject * obj1 = 0 ;
3278 PyObject * obj2 = 0 ;
3279 PyObject * obj3 = 0 ;
3280 PyObject * obj4 = 0 ;
3281 PyObject * obj5 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3291 arg3 = (double) SWIG_AsDouble(obj2);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 arg4 = (double) SWIG_AsDouble(obj3);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 if (obj4) {
3296 arg5 = (int) SWIG_AsInt(obj4);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 if (obj5) {
3300 arg6 = (int) SWIG_AsInt(obj5);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3320 double arg2 ;
3321 double arg3 ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "w",(char *) "h", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3332 arg2 = (double) SWIG_AsDouble(obj1);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 arg3 = (double) SWIG_AsDouble(obj2);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 (arg1)->base_OnBeginSize(arg2,arg3);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 Py_INCREF(Py_None); resultobj = Py_None;
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3353 double arg2 ;
3354 double arg3 ;
3355 PyObject * obj0 = 0 ;
3356 PyObject * obj1 = 0 ;
3357 PyObject * obj2 = 0 ;
3358 char *kwnames[] = {
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3360 };
3361
3362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3365 arg2 = (double) SWIG_AsDouble(obj1);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 arg3 = (double) SWIG_AsDouble(obj2);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->base_OnEndSize(arg2,arg3);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3384 PyObject *obj;
3385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3386 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3387 Py_INCREF(obj);
3388 return Py_BuildValue((char *)"");
3389 }
3390 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3393 wxPyShape *result;
3394 PyObject * obj0 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "can", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3400 if (obj0) {
3401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3403 }
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 result = (wxPyShape *)new wxPyShape(arg1);
3407
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
3411 {
3412 resultobj = wxPyMake_wxShapeEvtHandler(result);
3413 }
3414 return resultobj;
3415 fail:
3416 return NULL;
3417 }
3418
3419
3420 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxPyShape *arg1 = (wxPyShape *) 0 ;
3423 PyObject *arg2 = (PyObject *) 0 ;
3424 PyObject *arg3 = (PyObject *) 0 ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "self",(char *) "self",(char *) "_class", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3435 arg2 = obj1;
3436 arg3 = obj2;
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 (arg1)->_setCallbackInfo(arg2,arg3);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 return resultobj;
3446 fail:
3447 return NULL;
3448 }
3449
3450
3451 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxPyShape *arg1 = (wxPyShape *) 0 ;
3454 double *arg2 = (double *) 0 ;
3455 double *arg3 = (double *) 0 ;
3456 double temp2 ;
3457 double temp3 ;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self", NULL
3461 };
3462
3463 arg2 = &temp2;
3464 arg3 = &temp3;
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->GetBoundingBoxMax(arg2,arg3);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 {
3477 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3478 resultobj = t_output_helper(resultobj,o);
3479 }
3480 {
3481 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3482 resultobj = t_output_helper(resultobj,o);
3483 }
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxPyShape *arg1 = (wxPyShape *) 0 ;
3493 double *arg2 = (double *) 0 ;
3494 double *arg3 = (double *) 0 ;
3495 double temp2 ;
3496 double temp3 ;
3497 PyObject * obj0 = 0 ;
3498 char *kwnames[] = {
3499 (char *) "self", NULL
3500 };
3501
3502 arg2 = &temp2;
3503 arg3 = &temp3;
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 (arg1)->GetBoundingBoxMin(arg2,arg3);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 Py_INCREF(Py_None); resultobj = Py_None;
3515 {
3516 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3517 resultobj = t_output_helper(resultobj,o);
3518 }
3519 {
3520 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3521 resultobj = t_output_helper(resultobj,o);
3522 }
3523 return resultobj;
3524 fail:
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxPyShape *arg1 = (wxPyShape *) 0 ;
3532 double arg2 ;
3533 double arg3 ;
3534 double arg4 ;
3535 double arg5 ;
3536 double *arg6 = (double *) 0 ;
3537 double *arg7 = (double *) 0 ;
3538 bool result;
3539 double temp6 ;
3540 double temp7 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 PyObject * obj2 = 0 ;
3544 PyObject * obj3 = 0 ;
3545 PyObject * obj4 = 0 ;
3546 char *kwnames[] = {
3547 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3548 };
3549
3550 arg6 = &temp6;
3551 arg7 = &temp7;
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3555 arg2 = (double) SWIG_AsDouble(obj1);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 arg3 = (double) SWIG_AsDouble(obj2);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 arg4 = (double) SWIG_AsDouble(obj3);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 arg5 = (double) SWIG_AsDouble(obj4);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3571 {
3572 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3573 resultobj = t_output_helper(resultobj,o);
3574 }
3575 {
3576 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3577 resultobj = t_output_helper(resultobj,o);
3578 }
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxPyShape *arg1 = (wxPyShape *) 0 ;
3588 wxPyShapeCanvas *result;
3589 PyObject * obj0 = 0 ;
3590 char *kwnames[] = {
3591 (char *) "self", NULL
3592 };
3593
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 {
3605 resultobj = wxPyMake_wxObject(result);
3606 }
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxPyShape *arg1 = (wxPyShape *) 0 ;
3616 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "the_canvas", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 (arg1)->SetCanvas(arg2);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 Py_INCREF(Py_None); resultobj = Py_None;
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxPyShape *arg1 = (wxPyShape *) 0 ;
3645 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3646 wxPyShape *arg3 = (wxPyShape *) NULL ;
3647 PyObject * obj0 = 0 ;
3648 PyObject * obj1 = 0 ;
3649 PyObject * obj2 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3659 if (obj2) {
3660 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3662 }
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->AddToCanvas(arg2,arg3);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxPyShape *arg1 = (wxPyShape *) 0 ;
3680 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3681 PyObject * obj0 = 0 ;
3682 PyObject * obj1 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "self",(char *) "the_canvas", NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->InsertInCanvas(arg2);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxPyShape *arg1 = (wxPyShape *) 0 ;
3709 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3710 PyObject * obj0 = 0 ;
3711 PyObject * obj1 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self",(char *) "the_canvas", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->RemoveFromCanvas(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxPyShape *arg1 = (wxPyShape *) 0 ;
3738 double result;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (double)(arg1)->GetX();
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = SWIG_FromDouble((double)result);
3755 return resultobj;
3756 fail:
3757 return NULL;
3758 }
3759
3760
3761 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxPyShape *arg1 = (wxPyShape *) 0 ;
3764 double result;
3765 PyObject * obj0 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3773 {
3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
3775 result = (double)(arg1)->GetY();
3776
3777 wxPyEndAllowThreads(__tstate);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 resultobj = SWIG_FromDouble((double)result);
3781 return resultobj;
3782 fail:
3783 return NULL;
3784 }
3785
3786
3787 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3788 PyObject *resultobj;
3789 wxPyShape *arg1 = (wxPyShape *) 0 ;
3790 double arg2 ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self",(char *) "x", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3800 arg2 = (double) SWIG_AsDouble(obj1);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 (arg1)->SetX(arg2);
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxPyShape *arg1 = (wxPyShape *) 0 ;
3819 double arg2 ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "y", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3829 arg2 = (double) SWIG_AsDouble(obj1);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->SetY(arg2);
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 return resultobj;
3840 fail:
3841 return NULL;
3842 }
3843
3844
3845 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxPyShape *arg1 = (wxPyShape *) 0 ;
3848 wxPyShape *result;
3849 PyObject * obj0 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPyShape *)(arg1)->GetParent();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 resultobj = wxPyMake_wxShapeEvtHandler(result);
3866 }
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxPyShape *arg1 = (wxPyShape *) 0 ;
3876 wxPyShape *arg2 = (wxPyShape *) 0 ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self",(char *) "p", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 (arg1)->SetParent(arg2);
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 Py_INCREF(Py_None); resultobj = Py_None;
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxPyShape *arg1 = (wxPyShape *) 0 ;
3905 wxPyShape *result;
3906 PyObject * obj0 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3914 {
3915 PyThreadState* __tstate = wxPyBeginAllowThreads();
3916 result = (wxPyShape *)(arg1)->GetTopAncestor();
3917
3918 wxPyEndAllowThreads(__tstate);
3919 if (PyErr_Occurred()) SWIG_fail;
3920 }
3921 {
3922 resultobj = wxPyMake_wxShapeEvtHandler(result);
3923 }
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxPyShape *arg1 = (wxPyShape *) 0 ;
3933 PyObject *result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (PyObject *)wxPyShape_GetChildren(arg1);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = result;
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxPyShape *arg1 = (wxPyShape *) 0 ;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 (arg1)->Unlink();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 Py_INCREF(Py_None); resultobj = Py_None;
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 wxPyShape *arg1 = (wxPyShape *) 0 ;
3984 bool arg2 ;
3985 PyObject * obj0 = 0 ;
3986 PyObject * obj1 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self",(char *) "drawH", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3994 arg2 = (bool) SWIG_AsBool(obj1);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 (arg1)->SetDrawHandles(arg2);
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 Py_INCREF(Py_None); resultobj = Py_None;
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxPyShape *arg1 = (wxPyShape *) 0 ;
4013 bool result;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (bool)(arg1)->GetDrawHandles();
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4030 return resultobj;
4031 fail:
4032 return NULL;
4033 }
4034
4035
4036 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj;
4038 wxPyShape *arg1 = (wxPyShape *) 0 ;
4039 PyObject * obj0 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->MakeControlPoints();
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxPyShape *arg1 = (wxPyShape *) 0 ;
4064 wxDC *arg2 = (wxDC *) NULL ;
4065 PyObject * obj0 = 0 ;
4066 PyObject * obj1 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "self",(char *) "dc", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4074 if (obj1) {
4075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4077 }
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 (arg1)->DeleteControlPoints(arg2);
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 Py_INCREF(Py_None); resultobj = Py_None;
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxPyShape *arg1 = (wxPyShape *) 0 ;
4095 PyObject * obj0 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 (arg1)->ResetControlPoints();
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 Py_INCREF(Py_None); resultobj = Py_None;
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxPyShape *arg1 = (wxPyShape *) 0 ;
4120 wxPyShapeEvtHandler *result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 resultobj = wxPyMake_wxShapeEvtHandler(result);
4138 }
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj;
4147 wxPyShape *arg1 = (wxPyShape *) 0 ;
4148 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4149 PyObject * obj0 = 0 ;
4150 PyObject * obj1 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self",(char *) "handler", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 (arg1)->SetEventHandler(arg2);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 Py_INCREF(Py_None); resultobj = Py_None;
4168 return resultobj;
4169 fail:
4170 return NULL;
4171 }
4172
4173
4174 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxPyShape *arg1 = (wxPyShape *) 0 ;
4177 PyObject * obj0 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 (arg1)->MakeMandatoryControlPoints();
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 Py_INCREF(Py_None); resultobj = Py_None;
4193 return resultobj;
4194 fail:
4195 return NULL;
4196 }
4197
4198
4199 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4200 PyObject *resultobj;
4201 wxPyShape *arg1 = (wxPyShape *) 0 ;
4202 PyObject * obj0 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 (arg1)->ResetMandatoryControlPoints();
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 Py_INCREF(Py_None); resultobj = Py_None;
4218 return resultobj;
4219 fail:
4220 return NULL;
4221 }
4222
4223
4224 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxPyShape *arg1 = (wxPyShape *) 0 ;
4227 bool result;
4228 PyObject * obj0 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (bool)(arg1)->Recompute();
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4244 return resultobj;
4245 fail:
4246 return NULL;
4247 }
4248
4249
4250 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4251 PyObject *resultobj;
4252 wxPyShape *arg1 = (wxPyShape *) 0 ;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 (arg1)->CalculateSize();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 Py_INCREF(Py_None); resultobj = Py_None;
4269 return resultobj;
4270 fail:
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxPyShape *arg1 = (wxPyShape *) 0 ;
4278 bool arg2 = (bool) True ;
4279 wxDC *arg3 = (wxDC *) NULL ;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 PyObject * obj2 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "select",(char *) "dc", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4290 if (obj1) {
4291 arg2 = (bool) SWIG_AsBool(obj1);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 if (obj2) {
4295 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4297 }
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 (arg1)->Select(arg2,arg3);
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 Py_INCREF(Py_None); resultobj = Py_None;
4306 return resultobj;
4307 fail:
4308 return NULL;
4309 }
4310
4311
4312 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject *resultobj;
4314 wxPyShape *arg1 = (wxPyShape *) 0 ;
4315 bool arg2 = (bool) True ;
4316 bool arg3 = (bool) False ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 PyObject * obj2 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4327 if (obj1) {
4328 arg2 = (bool) SWIG_AsBool(obj1);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 if (obj2) {
4332 arg3 = (bool) SWIG_AsBool(obj2);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 (arg1)->SetHighlight(arg2,arg3);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxPyShape *arg1 = (wxPyShape *) 0 ;
4352 bool result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (bool)(arg1)->IsHighlighted();
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxPyShape *arg1 = (wxPyShape *) 0 ;
4378 bool result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)(arg1)->Selected();
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxPyShape *arg1 = (wxPyShape *) 0 ;
4404 bool result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (bool)(arg1)->AncestorSelected();
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxPyShape *arg1 = (wxPyShape *) 0 ;
4430 int arg2 = (int) OP_ALL ;
4431 bool arg3 = (bool) False ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
4440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4442 if (obj1) {
4443 arg2 = (int) SWIG_AsInt(obj1);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 if (obj2) {
4447 arg3 = (bool) SWIG_AsBool(obj2);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 (arg1)->SetSensitivityFilter(arg2,arg3);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 Py_INCREF(Py_None); resultobj = Py_None;
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxPyShape *arg1 = (wxPyShape *) 0 ;
4467 int result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)(arg1)->GetSensitivityFilter();
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = SWIG_FromInt((int)result);
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxPyShape *arg1 = (wxPyShape *) 0 ;
4493 bool arg2 ;
4494 bool arg3 = (bool) False ;
4495 PyObject * obj0 = 0 ;
4496 PyObject * obj1 = 0 ;
4497 PyObject * obj2 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4505 arg2 = (bool) SWIG_AsBool(obj1);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 if (obj2) {
4508 arg3 = (bool) SWIG_AsBool(obj2);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetDraggable(arg2,arg3);
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 Py_INCREF(Py_None); resultobj = Py_None;
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxPyShape *arg1 = (wxPyShape *) 0 ;
4528 bool arg2 ;
4529 bool arg3 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 PyObject * obj2 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self",(char *) "x",(char *) "y", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4540 arg2 = (bool) SWIG_AsBool(obj1);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 arg3 = (bool) SWIG_AsBool(obj2);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 (arg1)->SetFixedSize(arg2,arg3);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 Py_INCREF(Py_None); resultobj = Py_None;
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxPyShape *arg1 = (wxPyShape *) 0 ;
4561 bool *arg2 = (bool *) 0 ;
4562 bool *arg3 = (bool *) 0 ;
4563 bool temp2 ;
4564 bool temp3 ;
4565 PyObject * obj0 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self", NULL
4568 };
4569
4570 arg2 = &temp2;
4571 arg3 = &temp3;
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 (arg1)->GetFixedSize(arg2,arg3);
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 Py_INCREF(Py_None); resultobj = Py_None;
4583 {
4584 PyObject *o = PyInt_FromLong((long) (*arg2));
4585 resultobj = t_output_helper(resultobj,o);
4586 }
4587 {
4588 PyObject *o = PyInt_FromLong((long) (*arg3));
4589 resultobj = t_output_helper(resultobj,o);
4590 }
4591 return resultobj;
4592 fail:
4593 return NULL;
4594 }
4595
4596
4597 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxPyShape *arg1 = (wxPyShape *) 0 ;
4600 bool result;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = (bool)(arg1)->GetFixedWidth();
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4617 return resultobj;
4618 fail:
4619 return NULL;
4620 }
4621
4622
4623 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4624 PyObject *resultobj;
4625 wxPyShape *arg1 = (wxPyShape *) 0 ;
4626 bool result;
4627 PyObject * obj0 = 0 ;
4628 char *kwnames[] = {
4629 (char *) "self", NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (bool)(arg1)->GetFixedHeight();
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4643 return resultobj;
4644 fail:
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxPyShape *arg1 = (wxPyShape *) 0 ;
4652 bool arg2 ;
4653 PyObject * obj0 = 0 ;
4654 PyObject * obj1 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "self",(char *) "sp", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 arg2 = (bool) SWIG_AsBool(obj1);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 (arg1)->SetSpaceAttachments(arg2);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
4671 Py_INCREF(Py_None); resultobj = Py_None;
4672 return resultobj;
4673 fail:
4674 return NULL;
4675 }
4676
4677
4678 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject *resultobj;
4680 wxPyShape *arg1 = (wxPyShape *) 0 ;
4681 bool result;
4682 PyObject * obj0 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (bool)(arg1)->GetSpaceAttachments();
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 wxPyShape *arg1 = (wxPyShape *) 0 ;
4707 int arg2 ;
4708 bool arg3 = (bool) False ;
4709 PyObject * obj0 = 0 ;
4710 PyObject * obj1 = 0 ;
4711 PyObject * obj2 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4719 arg2 = (int) SWIG_AsInt(obj1);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 if (obj2) {
4722 arg3 = (bool) SWIG_AsBool(obj2);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 (arg1)->SetShadowMode(arg2,arg3);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 Py_INCREF(Py_None); resultobj = Py_None;
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxPyShape *arg1 = (wxPyShape *) 0 ;
4742 int result;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (int)(arg1)->GetShadowMode();
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 resultobj = SWIG_FromInt((int)result);
4759 return resultobj;
4760 fail:
4761 return NULL;
4762 }
4763
4764
4765 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxPyShape *arg1 = (wxPyShape *) 0 ;
4768 double arg2 ;
4769 double arg3 ;
4770 int *arg4 = (int *) 0 ;
4771 double *arg5 = (double *) 0 ;
4772 bool result;
4773 int temp4 ;
4774 double temp5 ;
4775 PyObject * obj0 = 0 ;
4776 PyObject * obj1 = 0 ;
4777 PyObject * obj2 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "x",(char *) "y", NULL
4780 };
4781
4782 arg4 = &temp4;
4783 arg5 = &temp5;
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
4785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4787 arg2 = (double) SWIG_AsDouble(obj1);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 arg3 = (double) SWIG_AsDouble(obj2);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 {
4792 PyThreadState* __tstate = wxPyBeginAllowThreads();
4793 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4794
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4799 {
4800 PyObject *o = PyInt_FromLong((long) (*arg4));
4801 resultobj = t_output_helper(resultobj,o);
4802 }
4803 {
4804 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4805 resultobj = t_output_helper(resultobj,o);
4806 }
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxPyShape *arg1 = (wxPyShape *) 0 ;
4816 bool arg2 ;
4817 PyObject * obj0 = 0 ;
4818 PyObject * obj1 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self",(char *) "cr", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4826 arg2 = (bool) SWIG_AsBool(obj1);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 (arg1)->SetCentreResize(arg2);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 Py_INCREF(Py_None); resultobj = Py_None;
4836 return resultobj;
4837 fail:
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxPyShape *arg1 = (wxPyShape *) 0 ;
4845 bool result;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (bool)(arg1)->GetCentreResize();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxPyShape *arg1 = (wxPyShape *) 0 ;
4871 bool arg2 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "ar", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4881 arg2 = (bool) SWIG_AsBool(obj1);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->SetMaintainAspectRatio(arg2);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxPyShape *arg1 = (wxPyShape *) 0 ;
4900 bool result;
4901 PyObject * obj0 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (bool)(arg1)->GetMaintainAspectRatio();
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxPyShape *arg1 = (wxPyShape *) 0 ;
4926 PyObject *result;
4927 PyObject * obj0 = 0 ;
4928 char *kwnames[] = {
4929 (char *) "self", NULL
4930 };
4931
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 result = (PyObject *)wxPyShape_GetLines(arg1);
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 resultobj = result;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxPyShape *arg1 = (wxPyShape *) 0 ;
4952 bool arg2 ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self",(char *) "flag", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4962 arg2 = (bool) SWIG_AsBool(obj1);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 (arg1)->SetDisableLabel(arg2);
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 Py_INCREF(Py_None); resultobj = Py_None;
4972 return resultobj;
4973 fail:
4974 return NULL;
4975 }
4976
4977
4978 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject *resultobj;
4980 wxPyShape *arg1 = (wxPyShape *) 0 ;
4981 bool result;
4982 PyObject * obj0 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (bool)(arg1)->GetDisableLabel();
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj;
5006 wxPyShape *arg1 = (wxPyShape *) 0 ;
5007 int arg2 ;
5008 PyObject * obj0 = 0 ;
5009 PyObject * obj1 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self",(char *) "mode", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
5015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5017 arg2 = (int) SWIG_AsInt(obj1);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->SetAttachmentMode(arg2);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 Py_INCREF(Py_None); resultobj = Py_None;
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxPyShape *arg1 = (wxPyShape *) 0 ;
5036 int result;
5037 PyObject * obj0 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (int)(arg1)->GetAttachmentMode();
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 resultobj = SWIG_FromInt((int)result);
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxPyShape *arg1 = (wxPyShape *) 0 ;
5062 long arg2 ;
5063 PyObject * obj0 = 0 ;
5064 PyObject * obj1 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self",(char *) "i", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
5070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5072 arg2 = (long) SWIG_AsLong(obj1);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetId(arg2);
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 Py_INCREF(Py_None); resultobj = Py_None;
5082 return resultobj;
5083 fail:
5084 return NULL;
5085 }
5086
5087
5088 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj;
5090 wxPyShape *arg1 = (wxPyShape *) 0 ;
5091 long result;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (long)(arg1)->GetId();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 resultobj = SWIG_FromLong((long)result);
5108 return resultobj;
5109 fail:
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxPyShape *arg1 = (wxPyShape *) 0 ;
5117 wxPen *arg2 = (wxPen *) 0 ;
5118 PyObject * obj0 = 0 ;
5119 PyObject * obj1 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "self",(char *) "pen", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5127 {
5128 wxPen* temp;
5129 if (obj1) {
5130 if (obj1 == Py_None) {
5131 temp = NULL;
5132 }
5133 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5134 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5135 return NULL;
5136 }
5137 }
5138 if (temp)
5139 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5140 temp->GetWidth(),
5141 temp->GetStyle());
5142 else
5143 arg2 = NULL;
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 (arg1)->SetPen(arg2);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 Py_INCREF(Py_None); resultobj = Py_None;
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxPyShape *arg1 = (wxPyShape *) 0 ;
5162 wxBrush *arg2 = (wxBrush *) 0 ;
5163 PyObject * obj0 = 0 ;
5164 PyObject * obj1 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self",(char *) "brush", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5172 {
5173 wxBrush* temp;
5174 if (obj1) {
5175 if (obj1 == Py_None) {
5176 temp = NULL;
5177 }
5178 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5179 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5180 return NULL;
5181 }
5182 }
5183 if (temp)
5184 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5185 else
5186 arg2 = NULL;
5187 }
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 (arg1)->SetBrush(arg2);
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 Py_INCREF(Py_None); resultobj = Py_None;
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxPyShape *arg1 = (wxPyShape *) 0 ;
5205 bool arg2 ;
5206 PyObject * obj0 = 0 ;
5207 PyObject * obj1 = 0 ;
5208 char *kwnames[] = {
5209 (char *) "self",(char *) "show", NULL
5210 };
5211
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5215 arg2 = (bool) SWIG_AsBool(obj1);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 (arg1)->Show(arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 Py_INCREF(Py_None); resultobj = Py_None;
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxPyShape *arg1 = (wxPyShape *) 0 ;
5234 bool result;
5235 PyObject * obj0 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (bool)(arg1)->IsShown();
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxPyShape *arg1 = (wxPyShape *) 0 ;
5260 wxDC *arg2 = 0 ;
5261 double arg3 ;
5262 double arg4 ;
5263 bool arg5 = (bool) True ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 PyObject * obj2 = 0 ;
5267 PyObject * obj3 = 0 ;
5268 PyObject * obj4 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5277 SWIG_POINTER_EXCEPTION | 0)) == -1)
5278 SWIG_fail;
5279 if (arg2 == NULL) {
5280 PyErr_SetString(PyExc_TypeError,"null reference");
5281 SWIG_fail;
5282 }
5283 arg3 = (double) SWIG_AsDouble(obj2);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 arg4 = (double) SWIG_AsDouble(obj3);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 if (obj4) {
5288 arg5 = (bool) SWIG_AsBool(obj4);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 (arg1)->Move(*arg2,arg3,arg4,arg5);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxPyShape *arg1 = (wxPyShape *) 0 ;
5308 wxDC *arg2 = 0 ;
5309 PyObject * obj0 = 0 ;
5310 PyObject * obj1 = 0 ;
5311 char *kwnames[] = {
5312 (char *) "self",(char *) "dc", NULL
5313 };
5314
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1)
5320 SWIG_fail;
5321 if (arg2 == NULL) {
5322 PyErr_SetString(PyExc_TypeError,"null reference");
5323 SWIG_fail;
5324 }
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 (arg1)->Erase(*arg2);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 Py_INCREF(Py_None); resultobj = Py_None;
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxPyShape *arg1 = (wxPyShape *) 0 ;
5342 wxDC *arg2 = 0 ;
5343 PyObject * obj0 = 0 ;
5344 PyObject * obj1 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "dc", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1)
5354 SWIG_fail;
5355 if (arg2 == NULL) {
5356 PyErr_SetString(PyExc_TypeError,"null reference");
5357 SWIG_fail;
5358 }
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 (arg1)->EraseContents(*arg2);
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 Py_INCREF(Py_None); resultobj = Py_None;
5367 return resultobj;
5368 fail:
5369 return NULL;
5370 }
5371
5372
5373 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxPyShape *arg1 = (wxPyShape *) 0 ;
5376 wxDC *arg2 = 0 ;
5377 PyObject * obj0 = 0 ;
5378 PyObject * obj1 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self",(char *) "dc", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1)
5388 SWIG_fail;
5389 if (arg2 == NULL) {
5390 PyErr_SetString(PyExc_TypeError,"null reference");
5391 SWIG_fail;
5392 }
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 (arg1)->Draw(*arg2);
5396
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 Py_INCREF(Py_None); resultobj = Py_None;
5401 return resultobj;
5402 fail:
5403 return NULL;
5404 }
5405
5406
5407 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5408 PyObject *resultobj;
5409 wxPyShape *arg1 = (wxPyShape *) 0 ;
5410 PyObject * obj0 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 (arg1)->Flash();
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 Py_INCREF(Py_None); resultobj = Py_None;
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxPyShape *arg1 = (wxPyShape *) 0 ;
5435 wxDC *arg2 = 0 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 char *kwnames[] = {
5439 (char *) "self",(char *) "dc", NULL
5440 };
5441
5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1)
5447 SWIG_fail;
5448 if (arg2 == NULL) {
5449 PyErr_SetString(PyExc_TypeError,"null reference");
5450 SWIG_fail;
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->MoveLinks(*arg2);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 Py_INCREF(Py_None); resultobj = Py_None;
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxPyShape *arg1 = (wxPyShape *) 0 ;
5469 wxDC *arg2 = 0 ;
5470 PyObject * obj0 = 0 ;
5471 PyObject * obj1 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "dc", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1)
5481 SWIG_fail;
5482 if (arg2 == NULL) {
5483 PyErr_SetString(PyExc_TypeError,"null reference");
5484 SWIG_fail;
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->DrawContents(*arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxPyShape *arg1 = (wxPyShape *) 0 ;
5503 double arg2 ;
5504 double arg3 ;
5505 bool arg4 = (bool) True ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 PyObject * obj2 = 0 ;
5509 PyObject * obj3 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5517 arg2 = (double) SWIG_AsDouble(obj1);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 arg3 = (double) SWIG_AsDouble(obj2);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 if (obj3) {
5522 arg4 = (bool) SWIG_AsBool(obj3);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 (arg1)->SetSize(arg2,arg3,arg4);
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 Py_INCREF(Py_None); resultobj = Py_None;
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj;
5541 wxPyShape *arg1 = (wxPyShape *) 0 ;
5542 double arg2 ;
5543 double arg3 ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 PyObject * obj2 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "x",(char *) "y", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
5552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5554 arg2 = (double) SWIG_AsDouble(obj1);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 arg3 = (double) SWIG_AsDouble(obj2);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 (arg1)->SetAttachmentSize(arg2,arg3);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 Py_INCREF(Py_None); resultobj = Py_None;
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxPyShape *arg1 = (wxPyShape *) 0 ;
5575 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "can", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->Attach(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxPyShape *arg1 = (wxPyShape *) 0 ;
5604 PyObject * obj0 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->Detach();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 return resultobj;
5621 fail:
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxPyShape *arg1 = (wxPyShape *) 0 ;
5629 bool result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (bool)(arg1)->Constrain();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxPyShape *arg1 = (wxPyShape *) 0 ;
5655 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5656 wxPyShape *arg3 = (wxPyShape *) 0 ;
5657 int arg4 = (int) 0 ;
5658 int arg5 = (int) 0 ;
5659 int arg6 = (int) -1 ;
5660 int arg7 = (int) -1 ;
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 PyObject * obj2 = 0 ;
5664 PyObject * obj3 = 0 ;
5665 PyObject * obj4 = 0 ;
5666 PyObject * obj5 = 0 ;
5667 PyObject * obj6 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5679 if (obj3) {
5680 arg4 = (int) SWIG_AsInt(obj3);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 if (obj4) {
5684 arg5 = (int) SWIG_AsInt(obj4);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 if (obj5) {
5688 arg6 = (int) SWIG_AsInt(obj5);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 if (obj6) {
5692 arg7 = (int) SWIG_AsInt(obj6);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 Py_INCREF(Py_None); resultobj = Py_None;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxPyShape *arg1 = (wxPyShape *) 0 ;
5712 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5713 int result;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self",(char *) "line", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (int)(arg1)->GetLinePosition(arg2);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 resultobj = SWIG_FromInt((int)result);
5733 return resultobj;
5734 fail:
5735 return NULL;
5736 }
5737
5738
5739 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxPyShape *arg1 = (wxPyShape *) 0 ;
5742 wxString *arg2 = 0 ;
5743 bool temp2 = False ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self",(char *) "string", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5753 {
5754 arg2 = wxString_in_helper(obj1);
5755 if (arg2 == NULL) SWIG_fail;
5756 temp2 = True;
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->AddText((wxString const &)*arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 {
5767 if (temp2)
5768 delete arg2;
5769 }
5770 return resultobj;
5771 fail:
5772 {
5773 if (temp2)
5774 delete arg2;
5775 }
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxPyShape *arg1 = (wxPyShape *) 0 ;
5783 wxPen *result;
5784 PyObject * obj0 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "self", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (wxPen *)(arg1)->GetPen();
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
5800 return resultobj;
5801 fail:
5802 return NULL;
5803 }
5804
5805
5806 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxPyShape *arg1 = (wxPyShape *) 0 ;
5809 wxBrush *result;
5810 PyObject * obj0 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (wxBrush *)(arg1)->GetBrush();
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxPyShape *arg1 = (wxPyShape *) 0 ;
5835 PyObject * obj0 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 (arg1)->SetDefaultRegionSize();
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 Py_INCREF(Py_None); resultobj = Py_None;
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxPyShape *arg1 = (wxPyShape *) 0 ;
5860 wxDC *arg2 = 0 ;
5861 wxString *arg3 = 0 ;
5862 int arg4 = (int) 0 ;
5863 bool temp3 = False ;
5864 PyObject * obj0 = 0 ;
5865 PyObject * obj1 = 0 ;
5866 PyObject * obj2 = 0 ;
5867 PyObject * obj3 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1)
5877 SWIG_fail;
5878 if (arg2 == NULL) {
5879 PyErr_SetString(PyExc_TypeError,"null reference");
5880 SWIG_fail;
5881 }
5882 {
5883 arg3 = wxString_in_helper(obj2);
5884 if (arg3 == NULL) SWIG_fail;
5885 temp3 = True;
5886 }
5887 if (obj3) {
5888 arg4 = (int) SWIG_AsInt(obj3);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 Py_INCREF(Py_None); resultobj = Py_None;
5899 {
5900 if (temp3)
5901 delete arg3;
5902 }
5903 return resultobj;
5904 fail:
5905 {
5906 if (temp3)
5907 delete arg3;
5908 }
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxPyShape *arg1 = (wxPyShape *) 0 ;
5916 int arg2 ;
5917 int arg3 = (int) 0 ;
5918 PyObject * obj0 = 0 ;
5919 PyObject * obj1 = 0 ;
5920 PyObject * obj2 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 arg2 = (int) SWIG_AsInt(obj1);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 if (obj2) {
5931 arg3 = (int) SWIG_AsInt(obj2);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetFormatMode(arg2,arg3);
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 Py_INCREF(Py_None); resultobj = Py_None;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxPyShape *arg1 = (wxPyShape *) 0 ;
5951 int arg2 = (int) 0 ;
5952 int result;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "regionId", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if (obj1) {
5963 arg2 = (int) SWIG_AsInt(obj1);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (int)(arg1)->GetFormatMode(arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_FromInt((int)result);
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxPyShape *arg1 = (wxPyShape *) 0 ;
5983 wxFont *arg2 = (wxFont *) 0 ;
5984 int arg3 = (int) 0 ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj2 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self",(char *) "font",(char *) "regionId", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5995 {
5996 wxFont* temp;
5997 if (obj1) {
5998 if (obj1 == Py_None) {
5999 temp = NULL;
6000 }
6001 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6002 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6003 return NULL;
6004 }
6005 }
6006 if (temp)
6007 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6008 temp->GetFamily(),
6009 temp->GetStyle(),
6010 temp->GetWeight(),
6011 temp->GetUnderlined(),
6012 temp->GetFaceName(),
6013 temp->GetEncoding());
6014 else
6015 arg2 = NULL;
6016 }
6017 if (obj2) {
6018 arg3 = (int) SWIG_AsInt(obj2);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->SetFont(arg2,arg3);
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxPyShape *arg1 = (wxPyShape *) 0 ;
6038 int arg2 = (int) 0 ;
6039 wxFont *result;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "regionId", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6049 if (obj1) {
6050 arg2 = (int) SWIG_AsInt(obj1);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (wxFont *)(arg1)->GetFont(arg2);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxPyShape *arg1 = (wxPyShape *) 0 ;
6070 wxString *arg2 = 0 ;
6071 int arg3 = (int) 0 ;
6072 bool temp2 = False ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 PyObject * obj2 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 {
6084 arg2 = wxString_in_helper(obj1);
6085 if (arg2 == NULL) SWIG_fail;
6086 temp2 = True;
6087 }
6088 if (obj2) {
6089 arg3 = (int) SWIG_AsInt(obj2);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 Py_INCREF(Py_None); resultobj = Py_None;
6100 {
6101 if (temp2)
6102 delete arg2;
6103 }
6104 return resultobj;
6105 fail:
6106 {
6107 if (temp2)
6108 delete arg2;
6109 }
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxPyShape *arg1 = (wxPyShape *) 0 ;
6117 int arg2 = (int) 0 ;
6118 wxString result;
6119 PyObject * obj0 = 0 ;
6120 PyObject * obj1 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "regionId", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
6126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6128 if (obj1) {
6129 arg2 = (int) SWIG_AsInt(obj1);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (arg1)->GetTextColour(arg2);
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 #if wxUSE_UNICODE
6141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6142 #else
6143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6144 #endif
6145 }
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxPyShape *arg1 = (wxPyShape *) 0 ;
6155 int result;
6156 PyObject * obj0 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (int)(arg1)->GetNumberOfTextRegions();
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 resultobj = SWIG_FromInt((int)result);
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxPyShape *arg1 = (wxPyShape *) 0 ;
6181 wxString *arg2 = 0 ;
6182 int arg3 = (int) 0 ;
6183 bool temp2 = False ;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 PyObject * obj2 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "self",(char *) "name",(char *) "regionId", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
6192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6194 {
6195 arg2 = wxString_in_helper(obj1);
6196 if (arg2 == NULL) SWIG_fail;
6197 temp2 = True;
6198 }
6199 if (obj2) {
6200 arg3 = (int) SWIG_AsInt(obj2);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 Py_INCREF(Py_None); resultobj = Py_None;
6211 {
6212 if (temp2)
6213 delete arg2;
6214 }
6215 return resultobj;
6216 fail:
6217 {
6218 if (temp2)
6219 delete arg2;
6220 }
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxPyShape *arg1 = (wxPyShape *) 0 ;
6228 int arg2 ;
6229 wxString result;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "regionId", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 arg2 = (int) SWIG_AsInt(obj1);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (arg1)->GetRegionName(arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 {
6249 #if wxUSE_UNICODE
6250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6251 #else
6252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6253 #endif
6254 }
6255 return resultobj;
6256 fail:
6257 return NULL;
6258 }
6259
6260
6261 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj;
6263 wxPyShape *arg1 = (wxPyShape *) 0 ;
6264 wxString *arg2 = 0 ;
6265 int result;
6266 bool temp2 = False ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "name", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
6279 temp2 = True;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = SWIG_FromInt((int)result);
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return resultobj;
6294 fail:
6295 {
6296 if (temp2)
6297 delete arg2;
6298 }
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxPyShape *arg1 = (wxPyShape *) 0 ;
6306 wxString const &arg2_defvalue = wxPyEmptyString ;
6307 wxString *arg2 = (wxString *) &arg2_defvalue ;
6308 bool temp2 = False ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 char *kwnames[] = {
6312 (char *) "self",(char *) "parentName", NULL
6313 };
6314
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6318 if (obj1) {
6319 {
6320 arg2 = wxString_in_helper(obj1);
6321 if (arg2 == NULL) SWIG_fail;
6322 temp2 = True;
6323 }
6324 }
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 (arg1)->NameRegions((wxString const &)*arg2);
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 Py_INCREF(Py_None); resultobj = Py_None;
6333 {
6334 if (temp2)
6335 delete arg2;
6336 }
6337 return resultobj;
6338 fail:
6339 {
6340 if (temp2)
6341 delete arg2;
6342 }
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxPyShape *arg1 = (wxPyShape *) 0 ;
6350 PyObject *result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (PyObject *)wxPyShape_GetRegions(arg1);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = result;
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxPyShape *arg1 = (wxPyShape *) 0 ;
6376 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6377 PyObject * obj0 = 0 ;
6378 PyObject * obj1 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self",(char *) "region", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 (arg1)->AddRegion(arg2);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 Py_INCREF(Py_None); resultobj = Py_None;
6396 return resultobj;
6397 fail:
6398 return NULL;
6399 }
6400
6401
6402 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj;
6404 wxPyShape *arg1 = (wxPyShape *) 0 ;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->ClearRegions();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxPyShape *arg1 = (wxPyShape *) 0 ;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
6436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->AssignNewIds();
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 Py_INCREF(Py_None); resultobj = Py_None;
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxPyShape *arg1 = (wxPyShape *) 0 ;
6455 wxString *arg2 = 0 ;
6456 int *arg3 = (int *) 0 ;
6457 wxPyShape *result;
6458 bool temp2 = False ;
6459 int temp3 ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self",(char *) "regionName", NULL
6464 };
6465
6466 arg3 = &temp3;
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 {
6471 arg2 = wxString_in_helper(obj1);
6472 if (arg2 == NULL) SWIG_fail;
6473 temp2 = True;
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 resultobj = wxPyMake_wxShapeEvtHandler(result);
6484 }
6485 {
6486 PyObject *o = PyInt_FromLong((long) (*arg3));
6487 resultobj = t_output_helper(resultobj,o);
6488 }
6489 {
6490 if (temp2)
6491 delete arg2;
6492 }
6493 return resultobj;
6494 fail:
6495 {
6496 if (temp2)
6497 delete arg2;
6498 }
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 wxPyShape *arg1 = (wxPyShape *) 0 ;
6506 wxStringList *arg2 = 0 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "list", NULL
6511 };
6512
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6517 SWIG_POINTER_EXCEPTION | 0)) == -1)
6518 SWIG_fail;
6519 if (arg2 == NULL) {
6520 PyErr_SetString(PyExc_TypeError,"null reference");
6521 SWIG_fail;
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 (arg1)->FindRegionNames(*arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 Py_INCREF(Py_None); resultobj = Py_None;
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxPyShape *arg1 = (wxPyShape *) 0 ;
6540 int arg2 = (int) 0 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self",(char *) "regionId", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6550 if (obj1) {
6551 arg2 = (int) SWIG_AsInt(obj1);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 (arg1)->ClearText(arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 Py_INCREF(Py_None); resultobj = Py_None;
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxPyShape *arg1 = (wxPyShape *) 0 ;
6571 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "line", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->RemoveLine(arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxPyShape *arg1 = (wxPyShape *) 0 ;
6600 int arg2 ;
6601 double *arg3 = (double *) 0 ;
6602 double *arg4 = (double *) 0 ;
6603 int arg5 = (int) 0 ;
6604 int arg6 = (int) 1 ;
6605 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6606 bool result;
6607 double temp3 ;
6608 double temp4 ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 PyObject * obj2 = 0 ;
6612 PyObject * obj3 = 0 ;
6613 PyObject * obj4 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6616 };
6617
6618 arg3 = &temp3;
6619 arg4 = &temp4;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6623 arg2 = (int) SWIG_AsInt(obj1);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 if (obj2) {
6626 arg5 = (int) SWIG_AsInt(obj2);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 if (obj3) {
6630 arg6 = (int) SWIG_AsInt(obj3);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 if (obj4) {
6634 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6645 {
6646 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6647 resultobj = t_output_helper(resultobj,o);
6648 }
6649 {
6650 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6651 resultobj = t_output_helper(resultobj,o);
6652 }
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxPyShape *arg1 = (wxPyShape *) 0 ;
6662 int result;
6663 PyObject * obj0 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (int)(arg1)->GetNumberOfAttachments();
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 resultobj = SWIG_FromInt((int)result);
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxPyShape *arg1 = (wxPyShape *) 0 ;
6688 int arg2 ;
6689 bool result;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self",(char *) "attachment", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6699 arg2 = (int) SWIG_AsInt(obj1);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = (bool)(arg1)->AttachmentIsValid(arg2);
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj;
6717 wxPyShape *arg1 = (wxPyShape *) 0 ;
6718 PyObject *result;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 resultobj = result;
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxPyShape *arg1 = (wxPyShape *) 0 ;
6744 int arg2 ;
6745 double *arg3 = (double *) 0 ;
6746 double *arg4 = (double *) 0 ;
6747 int arg5 = (int) 0 ;
6748 int arg6 = (int) 1 ;
6749 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6750 bool result;
6751 double temp3 ;
6752 double temp4 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6760 };
6761
6762 arg3 = &temp3;
6763 arg4 = &temp4;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6767 arg2 = (int) SWIG_AsInt(obj1);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 if (obj2) {
6770 arg5 = (int) SWIG_AsInt(obj2);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 if (obj3) {
6774 arg6 = (int) SWIG_AsInt(obj3);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 if (obj4) {
6778 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6789 {
6790 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6791 resultobj = t_output_helper(resultobj,o);
6792 }
6793 {
6794 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6795 resultobj = t_output_helper(resultobj,o);
6796 }
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxPyShape *arg1 = (wxPyShape *) 0 ;
6806 wxRealPoint *arg2 = 0 ;
6807 wxRealPoint *arg3 = 0 ;
6808 int arg4 ;
6809 int arg5 ;
6810 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6811 wxRealPoint result;
6812 wxRealPoint temp2 ;
6813 wxRealPoint temp3 ;
6814 PyObject * obj0 = 0 ;
6815 PyObject * obj1 = 0 ;
6816 PyObject * obj2 = 0 ;
6817 PyObject * obj3 = 0 ;
6818 PyObject * obj4 = 0 ;
6819 PyObject * obj5 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 {
6828 arg2 = &temp2;
6829 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6830 }
6831 {
6832 arg3 = &temp3;
6833 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6834 }
6835 arg4 = (int) SWIG_AsInt(obj3);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 arg5 = (int) SWIG_AsInt(obj4);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 wxRealPoint * resultptr;
6850 resultptr = new wxRealPoint((wxRealPoint &) result);
6851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
6852 }
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxPyShape *arg1 = (wxPyShape *) 0 ;
6862 int arg2 ;
6863 wxRealPoint *arg3 = 0 ;
6864 wxRealPoint *arg4 = 0 ;
6865 bool result;
6866 wxRealPoint temp3 ;
6867 wxRealPoint temp4 ;
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 PyObject * obj2 = 0 ;
6871 PyObject * obj3 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6879 arg2 = (int) SWIG_AsInt(obj1);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 {
6882 arg3 = &temp3;
6883 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6884 }
6885 {
6886 arg4 = &temp4;
6887 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxPyShape *arg1 = (wxPyShape *) 0 ;
6906 wxDC *arg2 = 0 ;
6907 int arg3 = (int) -1 ;
6908 bool arg4 = (bool) False ;
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 PyObject * obj2 = 0 ;
6912 PyObject * obj3 = 0 ;
6913 char *kwnames[] = {
6914 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6921 SWIG_POINTER_EXCEPTION | 0)) == -1)
6922 SWIG_fail;
6923 if (arg2 == NULL) {
6924 PyErr_SetString(PyExc_TypeError,"null reference");
6925 SWIG_fail;
6926 }
6927 if (obj2) {
6928 arg3 = (int) SWIG_AsInt(obj2);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 if (obj3) {
6932 arg4 = (bool) SWIG_AsBool(obj3);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 (arg1)->EraseLinks(*arg2,arg3,arg4);
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 Py_INCREF(Py_None); resultobj = Py_None;
6943 return resultobj;
6944 fail:
6945 return NULL;
6946 }
6947
6948
6949 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 wxPyShape *arg1 = (wxPyShape *) 0 ;
6952 wxDC *arg2 = 0 ;
6953 int arg3 = (int) -1 ;
6954 bool arg4 = (bool) False ;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 PyObject * obj2 = 0 ;
6958 PyObject * obj3 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1)
6968 SWIG_fail;
6969 if (arg2 == NULL) {
6970 PyErr_SetString(PyExc_TypeError,"null reference");
6971 SWIG_fail;
6972 }
6973 if (obj2) {
6974 arg3 = (int) SWIG_AsInt(obj2);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 if (obj3) {
6978 arg4 = (bool) SWIG_AsBool(obj3);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 (arg1)->DrawLinks(*arg2,arg3,arg4);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxPyShape *arg1 = (wxPyShape *) 0 ;
6998 wxDC *arg2 = 0 ;
6999 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7000 double arg4 ;
7001 double arg5 ;
7002 bool result;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 PyObject * obj2 = 0 ;
7006 PyObject * obj3 = 0 ;
7007 PyObject * obj4 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7016 SWIG_POINTER_EXCEPTION | 0)) == -1)
7017 SWIG_fail;
7018 if (arg2 == NULL) {
7019 PyErr_SetString(PyExc_TypeError,"null reference");
7020 SWIG_fail;
7021 }
7022 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7024 arg4 = (double) SWIG_AsDouble(obj3);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 arg5 = (double) SWIG_AsDouble(obj4);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxPyShape *arg1 = (wxPyShape *) 0 ;
7045 PyObject *arg2 = (PyObject *) 0 ;
7046 PyObject * obj0 = 0 ;
7047 PyObject * obj1 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "linesToSort", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 arg2 = obj1;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxPyShape *arg1 = (wxPyShape *) 0 ;
7073 int arg2 ;
7074 wxRealPoint result;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "attachment", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 arg2 = (int) SWIG_AsInt(obj1);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7089
7090 wxPyEndAllowThreads(__tstate);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 {
7094 wxRealPoint * resultptr;
7095 resultptr = new wxRealPoint((wxRealPoint &) result);
7096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
7097 }
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxPyShape *arg1 = (wxPyShape *) 0 ;
7107 int arg2 ;
7108 wxRealPoint *arg3 = 0 ;
7109 wxRealPoint *arg4 = 0 ;
7110 wxRealPoint *arg5 = 0 ;
7111 wxRealPoint *arg6 = 0 ;
7112 bool result;
7113 wxRealPoint temp3 ;
7114 wxRealPoint temp4 ;
7115 wxRealPoint temp5 ;
7116 wxRealPoint temp6 ;
7117 PyObject * obj0 = 0 ;
7118 PyObject * obj1 = 0 ;
7119 PyObject * obj2 = 0 ;
7120 PyObject * obj3 = 0 ;
7121 PyObject * obj4 = 0 ;
7122 PyObject * obj5 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7130 arg2 = (int) SWIG_AsInt(obj1);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 {
7133 arg3 = &temp3;
7134 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7135 }
7136 {
7137 arg4 = &temp4;
7138 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7139 }
7140 {
7141 arg5 = &temp5;
7142 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7143 }
7144 {
7145 arg6 = &temp6;
7146 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7147 }
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxPyShape *arg1 = (wxPyShape *) 0 ;
7165 int arg2 ;
7166 int arg3 ;
7167 wxRealPoint *arg4 = 0 ;
7168 wxRealPoint *arg5 = 0 ;
7169 bool result;
7170 wxRealPoint temp4 ;
7171 wxRealPoint temp5 ;
7172 PyObject * obj0 = 0 ;
7173 PyObject * obj1 = 0 ;
7174 PyObject * obj2 = 0 ;
7175 PyObject * obj3 = 0 ;
7176 PyObject * obj4 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7184 arg2 = (int) SWIG_AsInt(obj1);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 arg3 = (int) SWIG_AsInt(obj2);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 {
7189 arg4 = &temp4;
7190 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7191 }
7192 {
7193 arg5 = &temp5;
7194 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxPyShape *arg1 = (wxPyShape *) 0 ;
7213 int arg2 ;
7214 int result;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "attachment", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7224 arg2 = (int) SWIG_AsInt(obj1);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_FromInt((int)result);
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxPyShape *arg1 = (wxPyShape *) 0 ;
7243 int arg2 ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "len", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
7251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7253 arg2 = (int) SWIG_AsInt(obj1);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 (arg1)->SetBranchNeckLength(arg2);
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 Py_INCREF(Py_None); resultobj = Py_None;
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxPyShape *arg1 = (wxPyShape *) 0 ;
7272 int result;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (int)(arg1)->GetBranchNeckLength();
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 resultobj = SWIG_FromInt((int)result);
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxPyShape *arg1 = (wxPyShape *) 0 ;
7298 int arg2 ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "len", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 arg2 = (int) SWIG_AsInt(obj1);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->SetBranchStemLength(arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxPyShape *arg1 = (wxPyShape *) 0 ;
7327 int result;
7328 PyObject * obj0 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (int)(arg1)->GetBranchStemLength();
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 resultobj = SWIG_FromInt((int)result);
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj;
7352 wxPyShape *arg1 = (wxPyShape *) 0 ;
7353 int arg2 ;
7354 PyObject * obj0 = 0 ;
7355 PyObject * obj1 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self",(char *) "len", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
7361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7363 arg2 = (int) SWIG_AsInt(obj1);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 (arg1)->SetBranchSpacing(arg2);
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 Py_INCREF(Py_None); resultobj = Py_None;
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxPyShape *arg1 = (wxPyShape *) 0 ;
7382 int result;
7383 PyObject * obj0 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 result = (int)(arg1)->GetBranchSpacing();
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 resultobj = SWIG_FromInt((int)result);
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxPyShape *arg1 = (wxPyShape *) 0 ;
7408 long arg2 ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 char *kwnames[] = {
7412 (char *) "self",(char *) "style", NULL
7413 };
7414
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
7416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7418 arg2 = (long) SWIG_AsLong(obj1);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 (arg1)->SetBranchStyle(arg2);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 Py_INCREF(Py_None); resultobj = Py_None;
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxPyShape *arg1 = (wxPyShape *) 0 ;
7437 long result;
7438 PyObject * obj0 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = (long)(arg1)->GetBranchStyle();
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 resultobj = SWIG_FromLong((long)result);
7454 return resultobj;
7455 fail:
7456 return NULL;
7457 }
7458
7459
7460 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7461 PyObject *resultobj;
7462 wxPyShape *arg1 = (wxPyShape *) 0 ;
7463 int arg2 ;
7464 int result;
7465 PyObject * obj0 = 0 ;
7466 PyObject * obj1 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "physicalAttachment", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 arg2 = (int) SWIG_AsInt(obj1);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = SWIG_FromInt((int)result);
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxPyShape *arg1 = (wxPyShape *) 0 ;
7493 int arg2 ;
7494 int result;
7495 PyObject * obj0 = 0 ;
7496 PyObject * obj1 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "logicalAttachment", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7504 arg2 = (int) SWIG_AsInt(obj1);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = SWIG_FromInt((int)result);
7514 return resultobj;
7515 fail:
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxPyShape *arg1 = (wxPyShape *) 0 ;
7523 bool result;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (bool)(arg1)->Draggable();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxPyShape *arg1 = (wxPyShape *) 0 ;
7549 wxPyShape *arg2 = (wxPyShape *) 0 ;
7550 bool result;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "image", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (bool)(arg1)->HasDescendant(arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxPyShape *arg1 = (wxPyShape *) 0 ;
7579 bool arg2 = (bool) True ;
7580 bool arg3 = (bool) True ;
7581 wxPyShape *result;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 PyObject * obj2 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7592 if (obj1) {
7593 arg2 = (bool) SWIG_AsBool(obj1);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 if (obj2) {
7597 arg3 = (bool) SWIG_AsBool(obj2);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 {
7608 resultobj = wxPyMake_wxShapeEvtHandler(result);
7609 }
7610 return resultobj;
7611 fail:
7612 return NULL;
7613 }
7614
7615
7616 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj;
7618 wxPyShape *arg1 = (wxPyShape *) 0 ;
7619 wxPyShape *arg2 = 0 ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self",(char *) "copy", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7630 SWIG_POINTER_EXCEPTION | 0)) == -1)
7631 SWIG_fail;
7632 if (arg2 == NULL) {
7633 PyErr_SetString(PyExc_TypeError,"null reference");
7634 SWIG_fail;
7635 }
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 (arg1)->Copy(*arg2);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 Py_INCREF(Py_None); resultobj = Py_None;
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxPyShape *arg1 = (wxPyShape *) 0 ;
7653 wxPyShape *arg2 = 0 ;
7654 PyObject * obj0 = 0 ;
7655 PyObject * obj1 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "copy", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7664 SWIG_POINTER_EXCEPTION | 0)) == -1)
7665 SWIG_fail;
7666 if (arg2 == NULL) {
7667 PyErr_SetString(PyExc_TypeError,"null reference");
7668 SWIG_fail;
7669 }
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 (arg1)->CopyWithHandler(*arg2);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxPyShape *arg1 = (wxPyShape *) 0 ;
7687 double arg2 ;
7688 double arg3 ;
7689 double arg4 ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 PyObject * obj2 = 0 ;
7693 PyObject * obj3 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7701 arg2 = (double) SWIG_AsDouble(obj1);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 arg3 = (double) SWIG_AsDouble(obj2);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 arg4 = (double) SWIG_AsDouble(obj3);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 (arg1)->Rotate(arg2,arg3,arg4);
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 Py_INCREF(Py_None); resultobj = Py_None;
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxPyShape *arg1 = (wxPyShape *) 0 ;
7724 double result;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (double)(arg1)->GetRotation();
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 resultobj = SWIG_FromDouble((double)result);
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxPyShape *arg1 = (wxPyShape *) 0 ;
7750 double arg2 ;
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "rotation", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 arg2 = (double) SWIG_AsDouble(obj1);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 (arg1)->SetRotation(arg2);
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 Py_INCREF(Py_None); resultobj = Py_None;
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxPyShape *arg1 = (wxPyShape *) 0 ;
7779 PyObject * obj0 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 (arg1)->ClearAttachments();
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj;
7803 wxPyShape *arg1 = (wxPyShape *) 0 ;
7804 wxDC *arg2 = 0 ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self",(char *) "dc", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1)
7816 SWIG_fail;
7817 if (arg2 == NULL) {
7818 PyErr_SetString(PyExc_TypeError,"null reference");
7819 SWIG_fail;
7820 }
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->Recentre(*arg2);
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxPyShape *arg1 = (wxPyShape *) 0 ;
7838 wxList *arg2 = 0 ;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self",(char *) "list", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7849 SWIG_POINTER_EXCEPTION | 0)) == -1)
7850 SWIG_fail;
7851 if (arg2 == NULL) {
7852 PyErr_SetString(PyExc_TypeError,"null reference");
7853 SWIG_fail;
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->ClearPointList(*arg2);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxPyShape *arg1 = (wxPyShape *) 0 ;
7872 wxPen result;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (arg1)->GetBackgroundPen();
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 {
7889 wxPen * resultptr;
7890 resultptr = new wxPen((wxPen &) result);
7891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
7892 }
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxPyShape *arg1 = (wxPyShape *) 0 ;
7902 wxBrush result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (arg1)->GetBackgroundBrush();
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 {
7919 wxBrush * resultptr;
7920 resultptr = new wxBrush((wxBrush &) result);
7921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
7922 }
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxPyShape *arg1 = (wxPyShape *) 0 ;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 (arg1)->base_OnDelete();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 Py_INCREF(Py_None); resultobj = Py_None;
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxPyShape *arg1 = (wxPyShape *) 0 ;
7957 wxDC *arg2 = 0 ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj1 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self",(char *) "dc", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7968 SWIG_POINTER_EXCEPTION | 0)) == -1)
7969 SWIG_fail;
7970 if (arg2 == NULL) {
7971 PyErr_SetString(PyExc_TypeError,"null reference");
7972 SWIG_fail;
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->base_OnDraw(*arg2);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 Py_INCREF(Py_None); resultobj = Py_None;
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxPyShape *arg1 = (wxPyShape *) 0 ;
7991 wxDC *arg2 = 0 ;
7992 PyObject * obj0 = 0 ;
7993 PyObject * obj1 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self",(char *) "dc", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8002 SWIG_POINTER_EXCEPTION | 0)) == -1)
8003 SWIG_fail;
8004 if (arg2 == NULL) {
8005 PyErr_SetString(PyExc_TypeError,"null reference");
8006 SWIG_fail;
8007 }
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->base_OnDrawContents(*arg2);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxPyShape *arg1 = (wxPyShape *) 0 ;
8025 wxDC *arg2 = 0 ;
8026 bool arg3 = (bool) False ;
8027 PyObject * obj0 = 0 ;
8028 PyObject * obj1 = 0 ;
8029 PyObject * obj2 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self",(char *) "dc",(char *) "erase", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
8035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8038 SWIG_POINTER_EXCEPTION | 0)) == -1)
8039 SWIG_fail;
8040 if (arg2 == NULL) {
8041 PyErr_SetString(PyExc_TypeError,"null reference");
8042 SWIG_fail;
8043 }
8044 if (obj2) {
8045 arg3 = (bool) SWIG_AsBool(obj2);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 (arg1)->base_OnDrawBranches(*arg2,arg3);
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 Py_INCREF(Py_None); resultobj = Py_None;
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxPyShape *arg1 = (wxPyShape *) 0 ;
8065 wxDC *arg2 = 0 ;
8066 PyObject * obj0 = 0 ;
8067 PyObject * obj1 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self",(char *) "dc", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8076 SWIG_POINTER_EXCEPTION | 0)) == -1)
8077 SWIG_fail;
8078 if (arg2 == NULL) {
8079 PyErr_SetString(PyExc_TypeError,"null reference");
8080 SWIG_fail;
8081 }
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 (arg1)->base_OnMoveLinks(*arg2);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 Py_INCREF(Py_None); resultobj = Py_None;
8090 return resultobj;
8091 fail:
8092 return NULL;
8093 }
8094
8095
8096 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxPyShape *arg1 = (wxPyShape *) 0 ;
8099 wxDC *arg2 = 0 ;
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self",(char *) "dc", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8110 SWIG_POINTER_EXCEPTION | 0)) == -1)
8111 SWIG_fail;
8112 if (arg2 == NULL) {
8113 PyErr_SetString(PyExc_TypeError,"null reference");
8114 SWIG_fail;
8115 }
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 (arg1)->base_OnErase(*arg2);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxPyShape *arg1 = (wxPyShape *) 0 ;
8133 wxDC *arg2 = 0 ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "dc", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1)
8145 SWIG_fail;
8146 if (arg2 == NULL) {
8147 PyErr_SetString(PyExc_TypeError,"null reference");
8148 SWIG_fail;
8149 }
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 (arg1)->base_OnEraseContents(*arg2);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 Py_INCREF(Py_None); resultobj = Py_None;
8158 return resultobj;
8159 fail:
8160 return NULL;
8161 }
8162
8163
8164 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj;
8166 wxPyShape *arg1 = (wxPyShape *) 0 ;
8167 wxDC *arg2 = 0 ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "self",(char *) "dc", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8178 SWIG_POINTER_EXCEPTION | 0)) == -1)
8179 SWIG_fail;
8180 if (arg2 == NULL) {
8181 PyErr_SetString(PyExc_TypeError,"null reference");
8182 SWIG_fail;
8183 }
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 (arg1)->base_OnHighlight(*arg2);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 Py_INCREF(Py_None); resultobj = Py_None;
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxPyShape *arg1 = (wxPyShape *) 0 ;
8201 double arg2 ;
8202 double arg3 ;
8203 int arg4 = (int) 0 ;
8204 int arg5 = (int) 0 ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 PyObject * obj2 = 0 ;
8208 PyObject * obj3 = 0 ;
8209 PyObject * obj4 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8217 arg2 = (double) SWIG_AsDouble(obj1);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 arg3 = (double) SWIG_AsDouble(obj2);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 if (obj3) {
8222 arg4 = (int) SWIG_AsInt(obj3);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 if (obj4) {
8226 arg5 = (int) SWIG_AsInt(obj4);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 Py_INCREF(Py_None); resultobj = Py_None;
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxPyShape *arg1 = (wxPyShape *) 0 ;
8246 double arg2 ;
8247 double arg3 ;
8248 int arg4 = (int) 0 ;
8249 int arg5 = (int) 0 ;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 PyObject * obj2 = 0 ;
8253 PyObject * obj3 = 0 ;
8254 PyObject * obj4 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 arg2 = (double) SWIG_AsDouble(obj1);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 arg3 = (double) SWIG_AsDouble(obj2);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 if (obj3) {
8267 arg4 = (int) SWIG_AsInt(obj3);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 if (obj4) {
8271 arg5 = (int) SWIG_AsInt(obj4);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 Py_INCREF(Py_None); resultobj = Py_None;
8282 return resultobj;
8283 fail:
8284 return NULL;
8285 }
8286
8287
8288 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj;
8290 wxPyShape *arg1 = (wxPyShape *) 0 ;
8291 double arg2 ;
8292 double arg3 ;
8293 int arg4 = (int) 0 ;
8294 int arg5 = (int) 0 ;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 PyObject * obj2 = 0 ;
8298 PyObject * obj3 = 0 ;
8299 PyObject * obj4 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 arg2 = (double) SWIG_AsDouble(obj1);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 arg3 = (double) SWIG_AsDouble(obj2);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 if (obj3) {
8312 arg4 = (int) SWIG_AsInt(obj3);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 if (obj4) {
8316 arg5 = (int) SWIG_AsInt(obj4);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 Py_INCREF(Py_None); resultobj = Py_None;
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxPyShape *arg1 = (wxPyShape *) 0 ;
8336 double arg2 ;
8337 double arg3 ;
8338 PyObject * obj0 = 0 ;
8339 PyObject * obj1 = 0 ;
8340 PyObject * obj2 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "self",(char *) "x",(char *) "y", NULL
8343 };
8344
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8348 arg2 = (double) SWIG_AsDouble(obj1);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 arg3 = (double) SWIG_AsDouble(obj2);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 (arg1)->base_OnSize(arg2,arg3);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 Py_INCREF(Py_None); resultobj = Py_None;
8360 return resultobj;
8361 fail:
8362 return NULL;
8363 }
8364
8365
8366 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8367 PyObject *resultobj;
8368 wxPyShape *arg1 = (wxPyShape *) 0 ;
8369 wxDC *arg2 = 0 ;
8370 double arg3 ;
8371 double arg4 ;
8372 double arg5 ;
8373 double arg6 ;
8374 bool arg7 = (bool) True ;
8375 bool result;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 PyObject * obj2 = 0 ;
8379 PyObject * obj3 = 0 ;
8380 PyObject * obj4 = 0 ;
8381 PyObject * obj5 = 0 ;
8382 PyObject * obj6 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8391 SWIG_POINTER_EXCEPTION | 0)) == -1)
8392 SWIG_fail;
8393 if (arg2 == NULL) {
8394 PyErr_SetString(PyExc_TypeError,"null reference");
8395 SWIG_fail;
8396 }
8397 arg3 = (double) SWIG_AsDouble(obj2);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 arg4 = (double) SWIG_AsDouble(obj3);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 arg5 = (double) SWIG_AsDouble(obj4);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 arg6 = (double) SWIG_AsDouble(obj5);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 if (obj6) {
8406 arg7 = (bool) SWIG_AsBool(obj6);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxPyShape *arg1 = (wxPyShape *) 0 ;
8426 wxDC *arg2 = 0 ;
8427 double arg3 ;
8428 double arg4 ;
8429 double arg5 ;
8430 double arg6 ;
8431 bool arg7 = (bool) True ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 PyObject * obj2 = 0 ;
8435 PyObject * obj3 = 0 ;
8436 PyObject * obj4 = 0 ;
8437 PyObject * obj5 = 0 ;
8438 PyObject * obj6 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8447 SWIG_POINTER_EXCEPTION | 0)) == -1)
8448 SWIG_fail;
8449 if (arg2 == NULL) {
8450 PyErr_SetString(PyExc_TypeError,"null reference");
8451 SWIG_fail;
8452 }
8453 arg3 = (double) SWIG_AsDouble(obj2);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 arg4 = (double) SWIG_AsDouble(obj3);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 arg5 = (double) SWIG_AsDouble(obj4);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 arg6 = (double) SWIG_AsDouble(obj5);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 if (obj6) {
8462 arg7 = (bool) SWIG_AsBool(obj6);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 Py_INCREF(Py_None); resultobj = Py_None;
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxPyShape *arg1 = (wxPyShape *) 0 ;
8482 bool arg2 ;
8483 double arg3 ;
8484 double arg4 ;
8485 int arg5 = (int) 0 ;
8486 int arg6 = (int) 0 ;
8487 PyObject * obj0 = 0 ;
8488 PyObject * obj1 = 0 ;
8489 PyObject * obj2 = 0 ;
8490 PyObject * obj3 = 0 ;
8491 PyObject * obj4 = 0 ;
8492 PyObject * obj5 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8500 arg2 = (bool) SWIG_AsBool(obj1);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 arg3 = (double) SWIG_AsDouble(obj2);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 arg4 = (double) SWIG_AsDouble(obj3);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 if (obj4) {
8507 arg5 = (int) SWIG_AsInt(obj4);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 if (obj5) {
8511 arg6 = (int) SWIG_AsInt(obj5);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 Py_INCREF(Py_None); resultobj = Py_None;
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxPyShape *arg1 = (wxPyShape *) 0 ;
8531 double arg2 ;
8532 double arg3 ;
8533 int arg4 = (int) 0 ;
8534 int arg5 = (int) 0 ;
8535 PyObject * obj0 = 0 ;
8536 PyObject * obj1 = 0 ;
8537 PyObject * obj2 = 0 ;
8538 PyObject * obj3 = 0 ;
8539 PyObject * obj4 = 0 ;
8540 char *kwnames[] = {
8541 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8542 };
8543
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8547 arg2 = (double) SWIG_AsDouble(obj1);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 arg3 = (double) SWIG_AsDouble(obj2);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 if (obj3) {
8552 arg4 = (int) SWIG_AsInt(obj3);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 if (obj4) {
8556 arg5 = (int) SWIG_AsInt(obj4);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 Py_INCREF(Py_None); resultobj = Py_None;
8567 return resultobj;
8568 fail:
8569 return NULL;
8570 }
8571
8572
8573 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj;
8575 wxPyShape *arg1 = (wxPyShape *) 0 ;
8576 double arg2 ;
8577 double arg3 ;
8578 int arg4 = (int) 0 ;
8579 int arg5 = (int) 0 ;
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 PyObject * obj2 = 0 ;
8583 PyObject * obj3 = 0 ;
8584 PyObject * obj4 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8592 arg2 = (double) SWIG_AsDouble(obj1);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 arg3 = (double) SWIG_AsDouble(obj2);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 if (obj3) {
8597 arg4 = (int) SWIG_AsInt(obj3);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 if (obj4) {
8601 arg5 = (int) SWIG_AsInt(obj4);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 Py_INCREF(Py_None); resultobj = Py_None;
8612 return resultobj;
8613 fail:
8614 return NULL;
8615 }
8616
8617
8618 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxPyShape *arg1 = (wxPyShape *) 0 ;
8621 bool arg2 ;
8622 double arg3 ;
8623 double arg4 ;
8624 int arg5 = (int) 0 ;
8625 int arg6 = (int) 0 ;
8626 PyObject * obj0 = 0 ;
8627 PyObject * obj1 = 0 ;
8628 PyObject * obj2 = 0 ;
8629 PyObject * obj3 = 0 ;
8630 PyObject * obj4 = 0 ;
8631 PyObject * obj5 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8639 arg2 = (bool) SWIG_AsBool(obj1);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 arg3 = (double) SWIG_AsDouble(obj2);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 arg4 = (double) SWIG_AsDouble(obj3);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 if (obj4) {
8646 arg5 = (int) SWIG_AsInt(obj4);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 if (obj5) {
8650 arg6 = (int) SWIG_AsInt(obj5);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 Py_INCREF(Py_None); resultobj = Py_None;
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj;
8669 wxPyShape *arg1 = (wxPyShape *) 0 ;
8670 double arg2 ;
8671 double arg3 ;
8672 int arg4 = (int) 0 ;
8673 int arg5 = (int) 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 PyObject * obj2 = 0 ;
8677 PyObject * obj3 = 0 ;
8678 PyObject * obj4 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 arg2 = (double) SWIG_AsDouble(obj1);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 arg3 = (double) SWIG_AsDouble(obj2);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 if (obj3) {
8691 arg4 = (int) SWIG_AsInt(obj3);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 if (obj4) {
8695 arg5 = (int) SWIG_AsInt(obj4);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 Py_INCREF(Py_None); resultobj = Py_None;
8706 return resultobj;
8707 fail:
8708 return NULL;
8709 }
8710
8711
8712 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxPyShape *arg1 = (wxPyShape *) 0 ;
8715 double arg2 ;
8716 double arg3 ;
8717 int arg4 = (int) 0 ;
8718 int arg5 = (int) 0 ;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 PyObject * obj2 = 0 ;
8722 PyObject * obj3 = 0 ;
8723 PyObject * obj4 = 0 ;
8724 char *kwnames[] = {
8725 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8726 };
8727
8728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8731 arg2 = (double) SWIG_AsDouble(obj1);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 arg3 = (double) SWIG_AsDouble(obj2);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 if (obj3) {
8736 arg4 = (int) SWIG_AsInt(obj3);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 if (obj4) {
8740 arg5 = (int) SWIG_AsInt(obj4);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 return resultobj;
8752 fail:
8753 return NULL;
8754 }
8755
8756
8757 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxPyShape *arg1 = (wxPyShape *) 0 ;
8760 wxDC *arg2 = 0 ;
8761 double arg3 ;
8762 double arg4 ;
8763 double arg5 ;
8764 double arg6 ;
8765 PyObject * obj0 = 0 ;
8766 PyObject * obj1 = 0 ;
8767 PyObject * obj2 = 0 ;
8768 PyObject * obj3 = 0 ;
8769 PyObject * obj4 = 0 ;
8770 PyObject * obj5 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8779 SWIG_POINTER_EXCEPTION | 0)) == -1)
8780 SWIG_fail;
8781 if (arg2 == NULL) {
8782 PyErr_SetString(PyExc_TypeError,"null reference");
8783 SWIG_fail;
8784 }
8785 arg3 = (double) SWIG_AsDouble(obj2);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 arg4 = (double) SWIG_AsDouble(obj3);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 arg5 = (double) SWIG_AsDouble(obj4);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 arg6 = (double) SWIG_AsDouble(obj5);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 Py_INCREF(Py_None); resultobj = Py_None;
8801 return resultobj;
8802 fail:
8803 return NULL;
8804 }
8805
8806
8807 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxPyShape *arg1 = (wxPyShape *) 0 ;
8810 wxDC *arg2 = 0 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "self",(char *) "dc", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8821 SWIG_POINTER_EXCEPTION | 0)) == -1)
8822 SWIG_fail;
8823 if (arg2 == NULL) {
8824 PyErr_SetString(PyExc_TypeError,"null reference");
8825 SWIG_fail;
8826 }
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 (arg1)->base_OnDrawControlPoints(*arg2);
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 Py_INCREF(Py_None); resultobj = Py_None;
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyShape *arg1 = (wxPyShape *) 0 ;
8844 wxDC *arg2 = 0 ;
8845 PyObject * obj0 = 0 ;
8846 PyObject * obj1 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self",(char *) "dc", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1)
8856 SWIG_fail;
8857 if (arg2 == NULL) {
8858 PyErr_SetString(PyExc_TypeError,"null reference");
8859 SWIG_fail;
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 (arg1)->base_OnEraseControlPoints(*arg2);
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 Py_INCREF(Py_None); resultobj = Py_None;
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxPyShape *arg1 = (wxPyShape *) 0 ;
8878 wxDC *arg2 = 0 ;
8879 bool arg3 = (bool) True ;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 PyObject * obj2 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8891 SWIG_POINTER_EXCEPTION | 0)) == -1)
8892 SWIG_fail;
8893 if (arg2 == NULL) {
8894 PyErr_SetString(PyExc_TypeError,"null reference");
8895 SWIG_fail;
8896 }
8897 if (obj2) {
8898 arg3 = (bool) SWIG_AsBool(obj2);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->base_OnMoveLink(*arg2,arg3);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxPyShape *arg1 = (wxPyShape *) 0 ;
8918 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8919 bool arg3 ;
8920 double arg4 ;
8921 double arg5 ;
8922 int arg6 = (int) 0 ;
8923 int arg7 = (int) 0 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 PyObject * obj2 = 0 ;
8927 PyObject * obj3 = 0 ;
8928 PyObject * obj4 = 0 ;
8929 PyObject * obj5 = 0 ;
8930 PyObject * obj6 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8940 arg3 = (bool) SWIG_AsBool(obj2);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 arg4 = (double) SWIG_AsDouble(obj3);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 arg5 = (double) SWIG_AsDouble(obj4);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 if (obj5) {
8947 arg6 = (int) SWIG_AsInt(obj5);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 if (obj6) {
8951 arg7 = (int) SWIG_AsInt(obj6);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 Py_INCREF(Py_None); resultobj = Py_None;
8962 return resultobj;
8963 fail:
8964 return NULL;
8965 }
8966
8967
8968 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj;
8970 wxPyShape *arg1 = (wxPyShape *) 0 ;
8971 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8972 double arg3 ;
8973 double arg4 ;
8974 int arg5 = (int) 0 ;
8975 int arg6 = (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 char *kwnames[] = {
8983 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 arg3 = (double) SWIG_AsDouble(obj2);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 arg4 = (double) SWIG_AsDouble(obj3);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 if (obj4) {
8996 arg5 = (int) SWIG_AsInt(obj4);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 if (obj5) {
9000 arg6 = (int) SWIG_AsInt(obj5);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 Py_INCREF(Py_None); resultobj = Py_None;
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxPyShape *arg1 = (wxPyShape *) 0 ;
9020 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9021 double arg3 ;
9022 double arg4 ;
9023 int arg5 = (int) 0 ;
9024 int arg6 = (int) 0 ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 PyObject * obj3 = 0 ;
9029 PyObject * obj4 = 0 ;
9030 PyObject * obj5 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9040 arg3 = (double) SWIG_AsDouble(obj2);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 arg4 = (double) SWIG_AsDouble(obj3);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 if (obj4) {
9045 arg5 = (int) SWIG_AsInt(obj4);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 if (obj5) {
9049 arg6 = (int) SWIG_AsInt(obj5);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 Py_INCREF(Py_None); resultobj = Py_None;
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxPyShape *arg1 = (wxPyShape *) 0 ;
9069 double arg2 ;
9070 double arg3 ;
9071 PyObject * obj0 = 0 ;
9072 PyObject * obj1 = 0 ;
9073 PyObject * obj2 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self",(char *) "w",(char *) "h", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9081 arg2 = (double) SWIG_AsDouble(obj1);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 arg3 = (double) SWIG_AsDouble(obj2);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 (arg1)->base_OnBeginSize(arg2,arg3);
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxPyShape *arg1 = (wxPyShape *) 0 ;
9102 double arg2 ;
9103 double arg3 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 PyObject * obj2 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self",(char *) "w",(char *) "h", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9114 arg2 = (double) SWIG_AsDouble(obj1);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 arg3 = (double) SWIG_AsDouble(obj2);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 (arg1)->base_OnEndSize(arg2,arg3);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 Py_INCREF(Py_None); resultobj = Py_None;
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9133 PyObject *obj;
9134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9136 Py_INCREF(obj);
9137 return Py_BuildValue((char *)"");
9138 }
9139 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxPseudoMetaFile *result;
9142 char *kwnames[] = {
9143 NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 {
9155 resultobj = wxPyMake_wxObject(result);
9156 }
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 delete arg1;
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185 }
9186
9187
9188 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9191 wxDC *arg2 = 0 ;
9192 double arg3 ;
9193 double arg4 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 PyObject * obj2 = 0 ;
9197 PyObject * obj3 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1)
9207 SWIG_fail;
9208 if (arg2 == NULL) {
9209 PyErr_SetString(PyExc_TypeError,"null reference");
9210 SWIG_fail;
9211 }
9212 arg3 = (double) SWIG_AsDouble(obj2);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 arg4 = (double) SWIG_AsDouble(obj3);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->Draw(*arg2,arg3,arg4);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 (arg1)->Clear();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 Py_INCREF(Py_None); resultobj = Py_None;
9249 return resultobj;
9250 fail:
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9258 wxPseudoMetaFile *arg2 = 0 ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "copy", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9269 SWIG_POINTER_EXCEPTION | 0)) == -1)
9270 SWIG_fail;
9271 if (arg2 == NULL) {
9272 PyErr_SetString(PyExc_TypeError,"null reference");
9273 SWIG_fail;
9274 }
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 (arg1)->Copy(*arg2);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 Py_INCREF(Py_None); resultobj = Py_None;
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9292 double arg2 ;
9293 double arg3 ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 PyObject * obj2 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self",(char *) "sx",(char *) "sy", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9304 arg2 = (double) SWIG_AsDouble(obj1);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 arg3 = (double) SWIG_AsDouble(obj2);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 (arg1)->Scale(arg2,arg3);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 Py_INCREF(Py_None); resultobj = Py_None;
9316 return resultobj;
9317 fail:
9318 return NULL;
9319 }
9320
9321
9322 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9325 double arg2 ;
9326 double arg3 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 PyObject * obj2 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "w",(char *) "h", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9337 arg2 = (double) SWIG_AsDouble(obj1);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 arg3 = (double) SWIG_AsDouble(obj2);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 (arg1)->ScaleTo(arg2,arg3);
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352 }
9353
9354
9355 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9358 double arg2 ;
9359 double arg3 ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362 PyObject * obj2 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self",(char *) "x",(char *) "y", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9370 arg2 = (double) SWIG_AsDouble(obj1);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 arg3 = (double) SWIG_AsDouble(obj2);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->Translate(arg2,arg3);
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9391 double arg2 ;
9392 double arg3 ;
9393 double arg4 ;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 PyObject * obj2 = 0 ;
9397 PyObject * obj3 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9405 arg2 = (double) SWIG_AsDouble(obj1);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 arg3 = (double) SWIG_AsDouble(obj2);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 arg4 = (double) SWIG_AsDouble(obj3);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 (arg1)->Rotate(arg2,arg3,arg4);
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 Py_INCREF(Py_None); resultobj = Py_None;
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9428 wxString *arg2 = 0 ;
9429 double *arg3 = (double *) 0 ;
9430 double *arg4 = (double *) 0 ;
9431 bool result;
9432 bool temp2 = False ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 PyObject * obj2 = 0 ;
9436 PyObject * obj3 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9444 {
9445 arg2 = wxString_in_helper(obj1);
9446 if (arg2 == NULL) SWIG_fail;
9447 temp2 = True;
9448 }
9449 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9451 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9461 {
9462 if (temp2)
9463 delete arg2;
9464 }
9465 return resultobj;
9466 fail:
9467 {
9468 if (temp2)
9469 delete arg2;
9470 }
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9478 double *arg2 = (double *) 0 ;
9479 double *arg3 = (double *) 0 ;
9480 double *arg4 = (double *) 0 ;
9481 double *arg5 = (double *) 0 ;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 PyObject * obj2 = 0 ;
9485 PyObject * obj3 = 0 ;
9486 PyObject * obj4 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9496 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9519 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9520 PyObject * obj0 = 0 ;
9521 PyObject * obj1 = 0 ;
9522 char *kwnames[] = {
9523 (char *) "self",(char *) "shape", NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 (arg1)->CalculateSize(arg2);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 Py_INCREF(Py_None); resultobj = Py_None;
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9548 bool arg2 ;
9549 PyObject * obj0 = 0 ;
9550 PyObject * obj1 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self",(char *) "rot", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9558 arg2 = (bool) SWIG_AsBool(obj1);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 (arg1)->SetRotateable(arg2);
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 Py_INCREF(Py_None); resultobj = Py_None;
9568 return resultobj;
9569 fail:
9570 return NULL;
9571 }
9572
9573
9574 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj;
9576 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9577 bool result;
9578 PyObject * obj0 = 0 ;
9579 char *kwnames[] = {
9580 (char *) "self", NULL
9581 };
9582
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 result = (bool)(arg1)->GetRotateable();
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9603 double arg2 ;
9604 double arg3 ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 PyObject * obj2 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self",(char *) "w",(char *) "h", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9615 arg2 = (double) SWIG_AsDouble(obj1);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 arg3 = (double) SWIG_AsDouble(obj2);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 (arg1)->SetSize(arg2,arg3);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 Py_INCREF(Py_None); resultobj = Py_None;
9627 return resultobj;
9628 fail:
9629 return NULL;
9630 }
9631
9632
9633 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9636 wxBrush *arg2 = (wxBrush *) 0 ;
9637 PyObject * obj0 = 0 ;
9638 PyObject * obj1 = 0 ;
9639 char *kwnames[] = {
9640 (char *) "self",(char *) "brush", NULL
9641 };
9642
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9646 {
9647 wxBrush* temp;
9648 if (obj1) {
9649 if (obj1 == Py_None) {
9650 temp = NULL;
9651 }
9652 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9653 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9654 return NULL;
9655 }
9656 }
9657 if (temp)
9658 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9659 else
9660 arg2 = NULL;
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 (arg1)->SetFillBrush(arg2);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9679 wxBrush *result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (wxBrush *)(arg1)->GetFillBrush();
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9705 wxPen *arg2 = (wxPen *) 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self",(char *) "pen", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9715 {
9716 wxPen* temp;
9717 if (obj1) {
9718 if (obj1 == Py_None) {
9719 temp = NULL;
9720 }
9721 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9722 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9723 return NULL;
9724 }
9725 }
9726 if (temp)
9727 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9728 temp->GetWidth(),
9729 temp->GetStyle());
9730 else
9731 arg2 = NULL;
9732 }
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->SetOutlinePen(arg2);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 Py_INCREF(Py_None); resultobj = Py_None;
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9750 wxPen *result;
9751 PyObject * obj0 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (wxPen *)(arg1)->GetOutlinePen();
9762
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9776 int arg2 ;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self",(char *) "op", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9786 arg2 = (int) SWIG_AsInt(obj1);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->SetOutlineOp(arg2);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 Py_INCREF(Py_None); resultobj = Py_None;
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9805 int result;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (int)(arg1)->GetOutlineOp();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 resultobj = SWIG_FromInt((int)result);
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9831 bool result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (bool)(arg1)->IsValid();
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9857 wxPoint *arg2 = 0 ;
9858 wxPoint *arg3 = 0 ;
9859 wxPoint temp2 ;
9860 wxPoint temp3 ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 PyObject * obj2 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9871 {
9872 arg2 = &temp2;
9873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9874 }
9875 {
9876 arg3 = &temp3;
9877 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9878 }
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9896 wxRect *arg2 = 0 ;
9897 wxRect temp2 ;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "rect", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 {
9908 arg2 = &temp2;
9909 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->DrawRectangle((wxRect const &)*arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 Py_INCREF(Py_None); resultobj = Py_None;
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9928 wxRect *arg2 = 0 ;
9929 double arg3 ;
9930 wxRect temp2 ;
9931 PyObject * obj0 = 0 ;
9932 PyObject * obj1 = 0 ;
9933 PyObject * obj2 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self",(char *) "rect",(char *) "radius", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9941 {
9942 arg2 = &temp2;
9943 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9944 }
9945 arg3 = (double) SWIG_AsDouble(obj2);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 Py_INCREF(Py_None); resultobj = Py_None;
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9964 wxPoint *arg2 = 0 ;
9965 wxPoint *arg3 = 0 ;
9966 wxPoint *arg4 = 0 ;
9967 wxPoint temp2 ;
9968 wxPoint temp3 ;
9969 wxPoint temp4 ;
9970 PyObject * obj0 = 0 ;
9971 PyObject * obj1 = 0 ;
9972 PyObject * obj2 = 0 ;
9973 PyObject * obj3 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 {
9982 arg2 = &temp2;
9983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9984 }
9985 {
9986 arg3 = &temp3;
9987 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9988 }
9989 {
9990 arg4 = &temp4;
9991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9992 }
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 Py_INCREF(Py_None); resultobj = Py_None;
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10010 wxRect *arg2 = 0 ;
10011 double arg3 ;
10012 double arg4 ;
10013 wxRect temp2 ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 PyObject * obj3 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10025 {
10026 arg2 = &temp2;
10027 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10028 }
10029 arg3 = (double) SWIG_AsDouble(obj2);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 arg4 = (double) SWIG_AsDouble(obj3);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10050 wxRect *arg2 = 0 ;
10051 wxRect temp2 ;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self",(char *) "rect", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10061 {
10062 arg2 = &temp2;
10063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->DrawEllipse((wxRect const &)*arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10082 wxPoint *arg2 = 0 ;
10083 wxPoint temp2 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self",(char *) "pt", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10093 {
10094 arg2 = &temp2;
10095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->DrawPoint((wxPoint const &)*arg2);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10114 wxString *arg2 = 0 ;
10115 wxPoint *arg3 = 0 ;
10116 bool temp2 = False ;
10117 wxPoint temp3 ;
10118 PyObject * obj0 = 0 ;
10119 PyObject * obj1 = 0 ;
10120 PyObject * obj2 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self",(char *) "text",(char *) "pt", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 {
10129 arg2 = wxString_in_helper(obj1);
10130 if (arg2 == NULL) SWIG_fail;
10131 temp2 = True;
10132 }
10133 {
10134 arg3 = &temp3;
10135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 Py_INCREF(Py_None); resultobj = Py_None;
10145 {
10146 if (temp2)
10147 delete arg2;
10148 }
10149 return resultobj;
10150 fail:
10151 {
10152 if (temp2)
10153 delete arg2;
10154 }
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10162 int arg2 ;
10163 wxPoint *arg3 = (wxPoint *) 0 ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166 PyObject * obj2 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
10172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10174 arg2 = (int) SWIG_AsInt(obj1);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 (arg1)->DrawLines(arg2,arg3);
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 Py_INCREF(Py_None); resultobj = Py_None;
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10195 int arg2 ;
10196 wxPoint *arg3 = (wxPoint *) 0 ;
10197 int arg4 = (int) 0 ;
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 PyObject * obj2 = 0 ;
10201 PyObject * obj3 = 0 ;
10202 char *kwnames[] = {
10203 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10204 };
10205
10206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10209 arg2 = (int) SWIG_AsInt(obj1);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 if (obj3) {
10214 arg4 = (int) SWIG_AsInt(obj3);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->DrawPolygon(arg2,arg3,arg4);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 Py_INCREF(Py_None); resultobj = Py_None;
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10234 int arg2 ;
10235 wxPoint *arg3 = (wxPoint *) 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 PyObject * obj2 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
10244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10246 arg2 = (int) SWIG_AsInt(obj1);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 (arg1)->DrawSpline(arg2,arg3);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 Py_INCREF(Py_None); resultobj = Py_None;
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10267 wxRect *arg2 = 0 ;
10268 wxRect temp2 ;
10269 PyObject * obj0 = 0 ;
10270 PyObject * obj1 = 0 ;
10271 char *kwnames[] = {
10272 (char *) "self",(char *) "rect", NULL
10273 };
10274
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10278 {
10279 arg2 = &temp2;
10280 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10281 }
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SetClippingRect((wxRect const &)*arg2);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->DestroyClippingRect();
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10324 wxPen *arg2 = (wxPen *) 0 ;
10325 bool arg3 = (bool) FALSE ;
10326 PyObject * obj0 = 0 ;
10327 PyObject * obj1 = 0 ;
10328 PyObject * obj2 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10336 {
10337 wxPen* temp;
10338 if (obj1) {
10339 if (obj1 == Py_None) {
10340 temp = NULL;
10341 }
10342 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10343 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10344 return NULL;
10345 }
10346 }
10347 if (temp)
10348 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10349 temp->GetWidth(),
10350 temp->GetStyle());
10351 else
10352 arg2 = NULL;
10353 }
10354 if (obj2) {
10355 arg3 = (bool) SWIG_AsBool(obj2);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->SetPen(arg2,arg3);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10375 wxBrush *arg2 = (wxBrush *) 0 ;
10376 bool arg3 = (bool) FALSE ;
10377 PyObject * obj0 = 0 ;
10378 PyObject * obj1 = 0 ;
10379 PyObject * obj2 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10387 {
10388 wxBrush* temp;
10389 if (obj1) {
10390 if (obj1 == Py_None) {
10391 temp = NULL;
10392 }
10393 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10394 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10395 return NULL;
10396 }
10397 }
10398 if (temp)
10399 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10400 else
10401 arg2 = NULL;
10402 }
10403 if (obj2) {
10404 arg3 = (bool) SWIG_AsBool(obj2);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->SetBrush(arg2,arg3);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10424 wxFont *arg2 = (wxFont *) 0 ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self",(char *) "font", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10434 {
10435 wxFont* temp;
10436 if (obj1) {
10437 if (obj1 == Py_None) {
10438 temp = NULL;
10439 }
10440 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10441 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10442 return NULL;
10443 }
10444 }
10445 if (temp)
10446 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10447 temp->GetFamily(),
10448 temp->GetStyle(),
10449 temp->GetWeight(),
10450 temp->GetUnderlined(),
10451 temp->GetFaceName(),
10452 temp->GetEncoding());
10453 else
10454 arg2 = NULL;
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetFont(arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 Py_INCREF(Py_None); resultobj = Py_None;
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10473 wxColour *arg2 = 0 ;
10474 wxColour temp2 ;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 char *kwnames[] = {
10478 (char *) "self",(char *) "colour", NULL
10479 };
10480
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10484 {
10485 arg2 = &temp2;
10486 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10487 }
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 (arg1)->SetTextColour((wxColour const &)*arg2);
10491
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 Py_INCREF(Py_None); resultobj = Py_None;
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10505 wxColour *arg2 = 0 ;
10506 wxColour temp2 ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "colour", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10516 {
10517 arg2 = &temp2;
10518 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10537 int arg2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "mode", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10547 arg2 = (int) SWIG_AsInt(obj1);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->SetBackgroundMode(arg2);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10564 PyObject *obj;
10565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10566 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10567 Py_INCREF(obj);
10568 return Py_BuildValue((char *)"");
10569 }
10570 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 double arg1 = (double) 0.0 ;
10573 double arg2 = (double) 0.0 ;
10574 wxPyRectangleShape *result;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "width",(char *) "height", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10582 if (obj0) {
10583 arg1 = (double) SWIG_AsDouble(obj0);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 if (obj1) {
10587 arg2 = (double) SWIG_AsDouble(obj1);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10607 PyObject *arg2 = (PyObject *) 0 ;
10608 PyObject *arg3 = (PyObject *) 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 PyObject * obj2 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "self",(char *) "_class", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10619 arg2 = obj1;
10620 arg3 = obj2;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->_setCallbackInfo(arg2,arg3);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10638 double arg2 ;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "radius", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 arg2 = (double) SWIG_AsDouble(obj1);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->SetCornerRadius(arg2);
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10667 double result;
10668 PyObject * obj0 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (double)(arg1)->GetCornerRadius();
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = SWIG_FromDouble((double)result);
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10693 PyObject * obj0 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 (arg1)->base_OnDelete();
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 Py_INCREF(Py_None); resultobj = Py_None;
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10718 wxDC *arg2 = 0 ;
10719 PyObject * obj0 = 0 ;
10720 PyObject * obj1 = 0 ;
10721 char *kwnames[] = {
10722 (char *) "self",(char *) "dc", NULL
10723 };
10724
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1)
10730 SWIG_fail;
10731 if (arg2 == NULL) {
10732 PyErr_SetString(PyExc_TypeError,"null reference");
10733 SWIG_fail;
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 (arg1)->base_OnDraw(*arg2);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 Py_INCREF(Py_None); resultobj = Py_None;
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10750 PyObject *resultobj;
10751 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10752 wxDC *arg2 = 0 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self",(char *) "dc", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1)
10764 SWIG_fail;
10765 if (arg2 == NULL) {
10766 PyErr_SetString(PyExc_TypeError,"null reference");
10767 SWIG_fail;
10768 }
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 (arg1)->base_OnDrawContents(*arg2);
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 Py_INCREF(Py_None); resultobj = Py_None;
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj;
10785 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10786 wxDC *arg2 = 0 ;
10787 bool arg3 = (bool) FALSE ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 PyObject * obj2 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self",(char *) "dc",(char *) "erase", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1)
10800 SWIG_fail;
10801 if (arg2 == NULL) {
10802 PyErr_SetString(PyExc_TypeError,"null reference");
10803 SWIG_fail;
10804 }
10805 if (obj2) {
10806 arg3 = (bool) SWIG_AsBool(obj2);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->base_OnDrawBranches(*arg2,arg3);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820 }
10821
10822
10823 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10826 wxDC *arg2 = 0 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "dc", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10837 SWIG_POINTER_EXCEPTION | 0)) == -1)
10838 SWIG_fail;
10839 if (arg2 == NULL) {
10840 PyErr_SetString(PyExc_TypeError,"null reference");
10841 SWIG_fail;
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 (arg1)->base_OnMoveLinks(*arg2);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 Py_INCREF(Py_None); resultobj = Py_None;
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj;
10859 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10860 wxDC *arg2 = 0 ;
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self",(char *) "dc", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10871 SWIG_POINTER_EXCEPTION | 0)) == -1)
10872 SWIG_fail;
10873 if (arg2 == NULL) {
10874 PyErr_SetString(PyExc_TypeError,"null reference");
10875 SWIG_fail;
10876 }
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->base_OnErase(*arg2);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 return resultobj;
10886 fail:
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10894 wxDC *arg2 = 0 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 char *kwnames[] = {
10898 (char *) "self",(char *) "dc", NULL
10899 };
10900
10901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1)
10906 SWIG_fail;
10907 if (arg2 == NULL) {
10908 PyErr_SetString(PyExc_TypeError,"null reference");
10909 SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->base_OnEraseContents(*arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10928 wxDC *arg2 = 0 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char *kwnames[] = {
10932 (char *) "self",(char *) "dc", NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1)
10940 SWIG_fail;
10941 if (arg2 == NULL) {
10942 PyErr_SetString(PyExc_TypeError,"null reference");
10943 SWIG_fail;
10944 }
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->base_OnHighlight(*arg2);
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 Py_INCREF(Py_None); resultobj = Py_None;
10953 return resultobj;
10954 fail:
10955 return NULL;
10956 }
10957
10958
10959 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10962 double arg2 ;
10963 double arg3 ;
10964 int arg4 = (int) 0 ;
10965 int arg5 = (int) 0 ;
10966 PyObject * obj0 = 0 ;
10967 PyObject * obj1 = 0 ;
10968 PyObject * obj2 = 0 ;
10969 PyObject * obj3 = 0 ;
10970 PyObject * obj4 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10978 arg2 = (double) SWIG_AsDouble(obj1);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 arg3 = (double) SWIG_AsDouble(obj2);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 if (obj3) {
10983 arg4 = (int) SWIG_AsInt(obj3);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 if (obj4) {
10987 arg5 = (int) SWIG_AsInt(obj4);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 Py_INCREF(Py_None); resultobj = Py_None;
10998 return resultobj;
10999 fail:
11000 return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11007 double arg2 ;
11008 double arg3 ;
11009 int arg4 = (int) 0 ;
11010 int arg5 = (int) 0 ;
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 PyObject * obj2 = 0 ;
11014 PyObject * obj3 = 0 ;
11015 PyObject * obj4 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11023 arg2 = (double) SWIG_AsDouble(obj1);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 arg3 = (double) SWIG_AsDouble(obj2);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 if (obj3) {
11028 arg4 = (int) SWIG_AsInt(obj3);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 if (obj4) {
11032 arg5 = (int) SWIG_AsInt(obj4);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 Py_INCREF(Py_None); resultobj = Py_None;
11043 return resultobj;
11044 fail:
11045 return NULL;
11046 }
11047
11048
11049 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj;
11051 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11052 double arg2 ;
11053 double arg3 ;
11054 int arg4 = (int) 0 ;
11055 int arg5 = (int) 0 ;
11056 PyObject * obj0 = 0 ;
11057 PyObject * obj1 = 0 ;
11058 PyObject * obj2 = 0 ;
11059 PyObject * obj3 = 0 ;
11060 PyObject * obj4 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11068 arg2 = (double) SWIG_AsDouble(obj1);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 arg3 = (double) SWIG_AsDouble(obj2);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 if (obj3) {
11073 arg4 = (int) SWIG_AsInt(obj3);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 if (obj4) {
11077 arg5 = (int) SWIG_AsInt(obj4);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 }
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11097 double arg2 ;
11098 double arg3 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 PyObject * obj2 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self",(char *) "x",(char *) "y", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11109 arg2 = (double) SWIG_AsDouble(obj1);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 arg3 = (double) SWIG_AsDouble(obj2);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 (arg1)->base_OnSize(arg2,arg3);
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 Py_INCREF(Py_None); resultobj = Py_None;
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11130 wxDC *arg2 = 0 ;
11131 double arg3 ;
11132 double arg4 ;
11133 double arg5 ;
11134 double arg6 ;
11135 bool arg7 = (bool) True ;
11136 bool result;
11137 PyObject * obj0 = 0 ;
11138 PyObject * obj1 = 0 ;
11139 PyObject * obj2 = 0 ;
11140 PyObject * obj3 = 0 ;
11141 PyObject * obj4 = 0 ;
11142 PyObject * obj5 = 0 ;
11143 PyObject * obj6 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11152 SWIG_POINTER_EXCEPTION | 0)) == -1)
11153 SWIG_fail;
11154 if (arg2 == NULL) {
11155 PyErr_SetString(PyExc_TypeError,"null reference");
11156 SWIG_fail;
11157 }
11158 arg3 = (double) SWIG_AsDouble(obj2);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 arg4 = (double) SWIG_AsDouble(obj3);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 arg5 = (double) SWIG_AsDouble(obj4);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 arg6 = (double) SWIG_AsDouble(obj5);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 if (obj6) {
11167 arg7 = (bool) SWIG_AsBool(obj6);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11187 wxDC *arg2 = 0 ;
11188 double arg3 ;
11189 double arg4 ;
11190 double arg5 ;
11191 double arg6 ;
11192 bool arg7 = (bool) True ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 PyObject * obj2 = 0 ;
11196 PyObject * obj3 = 0 ;
11197 PyObject * obj4 = 0 ;
11198 PyObject * obj5 = 0 ;
11199 PyObject * obj6 = 0 ;
11200 char *kwnames[] = {
11201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11202 };
11203
11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1)
11209 SWIG_fail;
11210 if (arg2 == NULL) {
11211 PyErr_SetString(PyExc_TypeError,"null reference");
11212 SWIG_fail;
11213 }
11214 arg3 = (double) SWIG_AsDouble(obj2);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 arg4 = (double) SWIG_AsDouble(obj3);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 arg5 = (double) SWIG_AsDouble(obj4);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 arg6 = (double) SWIG_AsDouble(obj5);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 if (obj6) {
11223 arg7 = (bool) SWIG_AsBool(obj6);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 Py_INCREF(Py_None); resultobj = Py_None;
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11243 bool arg2 ;
11244 double arg3 ;
11245 double arg4 ;
11246 int arg5 = (int) 0 ;
11247 int arg6 = (int) 0 ;
11248 PyObject * obj0 = 0 ;
11249 PyObject * obj1 = 0 ;
11250 PyObject * obj2 = 0 ;
11251 PyObject * obj3 = 0 ;
11252 PyObject * obj4 = 0 ;
11253 PyObject * obj5 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11261 arg2 = (bool) SWIG_AsBool(obj1);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 arg3 = (double) SWIG_AsDouble(obj2);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 arg4 = (double) SWIG_AsDouble(obj3);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 if (obj4) {
11268 arg5 = (int) SWIG_AsInt(obj4);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 if (obj5) {
11272 arg6 = (int) SWIG_AsInt(obj5);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 Py_INCREF(Py_None); resultobj = Py_None;
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11292 double arg2 ;
11293 double arg3 ;
11294 int arg4 = (int) 0 ;
11295 int arg5 = (int) 0 ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 PyObject * obj2 = 0 ;
11299 PyObject * obj3 = 0 ;
11300 PyObject * obj4 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 arg2 = (double) SWIG_AsDouble(obj1);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 arg3 = (double) SWIG_AsDouble(obj2);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 if (obj3) {
11313 arg4 = (int) SWIG_AsInt(obj3);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 if (obj4) {
11317 arg5 = (int) SWIG_AsInt(obj4);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11337 double arg2 ;
11338 double arg3 ;
11339 int arg4 = (int) 0 ;
11340 int arg5 = (int) 0 ;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 PyObject * obj2 = 0 ;
11344 PyObject * obj3 = 0 ;
11345 PyObject * obj4 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11353 arg2 = (double) SWIG_AsDouble(obj1);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 arg3 = (double) SWIG_AsDouble(obj2);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 if (obj3) {
11358 arg4 = (int) SWIG_AsInt(obj3);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 if (obj4) {
11362 arg5 = (int) SWIG_AsInt(obj4);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11368
11369 wxPyEndAllowThreads(__tstate);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 }
11372 Py_INCREF(Py_None); resultobj = Py_None;
11373 return resultobj;
11374 fail:
11375 return NULL;
11376 }
11377
11378
11379 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11382 bool arg2 ;
11383 double arg3 ;
11384 double arg4 ;
11385 int arg5 = (int) 0 ;
11386 int arg6 = (int) 0 ;
11387 PyObject * obj0 = 0 ;
11388 PyObject * obj1 = 0 ;
11389 PyObject * obj2 = 0 ;
11390 PyObject * obj3 = 0 ;
11391 PyObject * obj4 = 0 ;
11392 PyObject * obj5 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11400 arg2 = (bool) SWIG_AsBool(obj1);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 arg3 = (double) SWIG_AsDouble(obj2);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 arg4 = (double) SWIG_AsDouble(obj3);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 if (obj4) {
11407 arg5 = (int) SWIG_AsInt(obj4);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 if (obj5) {
11411 arg6 = (int) SWIG_AsInt(obj5);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 Py_INCREF(Py_None); resultobj = Py_None;
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj;
11430 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11431 double arg2 ;
11432 double arg3 ;
11433 int arg4 = (int) 0 ;
11434 int arg5 = (int) 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 PyObject * obj2 = 0 ;
11438 PyObject * obj3 = 0 ;
11439 PyObject * obj4 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11447 arg2 = (double) SWIG_AsDouble(obj1);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 arg3 = (double) SWIG_AsDouble(obj2);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 if (obj3) {
11452 arg4 = (int) SWIG_AsInt(obj3);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 if (obj4) {
11456 arg5 = (int) SWIG_AsInt(obj4);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 Py_INCREF(Py_None); resultobj = Py_None;
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11476 double arg2 ;
11477 double arg3 ;
11478 int arg4 = (int) 0 ;
11479 int arg5 = (int) 0 ;
11480 PyObject * obj0 = 0 ;
11481 PyObject * obj1 = 0 ;
11482 PyObject * obj2 = 0 ;
11483 PyObject * obj3 = 0 ;
11484 PyObject * obj4 = 0 ;
11485 char *kwnames[] = {
11486 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11492 arg2 = (double) SWIG_AsDouble(obj1);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 arg3 = (double) SWIG_AsDouble(obj2);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 if (obj3) {
11497 arg4 = (int) SWIG_AsInt(obj3);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 if (obj4) {
11501 arg5 = (int) SWIG_AsInt(obj4);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 Py_INCREF(Py_None); resultobj = Py_None;
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11521 wxDC *arg2 = 0 ;
11522 double arg3 ;
11523 double arg4 ;
11524 double arg5 ;
11525 double arg6 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 PyObject * obj2 = 0 ;
11529 PyObject * obj3 = 0 ;
11530 PyObject * obj4 = 0 ;
11531 PyObject * obj5 = 0 ;
11532 char *kwnames[] = {
11533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11540 SWIG_POINTER_EXCEPTION | 0)) == -1)
11541 SWIG_fail;
11542 if (arg2 == NULL) {
11543 PyErr_SetString(PyExc_TypeError,"null reference");
11544 SWIG_fail;
11545 }
11546 arg3 = (double) SWIG_AsDouble(obj2);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 arg4 = (double) SWIG_AsDouble(obj3);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 arg5 = (double) SWIG_AsDouble(obj4);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 arg6 = (double) SWIG_AsDouble(obj5);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 Py_INCREF(Py_None); resultobj = Py_None;
11562 return resultobj;
11563 fail:
11564 return NULL;
11565 }
11566
11567
11568 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11571 wxDC *arg2 = 0 ;
11572 PyObject * obj0 = 0 ;
11573 PyObject * obj1 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "dc", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11582 SWIG_POINTER_EXCEPTION | 0)) == -1)
11583 SWIG_fail;
11584 if (arg2 == NULL) {
11585 PyErr_SetString(PyExc_TypeError,"null reference");
11586 SWIG_fail;
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 (arg1)->base_OnDrawControlPoints(*arg2);
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 Py_INCREF(Py_None); resultobj = Py_None;
11596 return resultobj;
11597 fail:
11598 return NULL;
11599 }
11600
11601
11602 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11603 PyObject *resultobj;
11604 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11605 wxDC *arg2 = 0 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self",(char *) "dc", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11616 SWIG_POINTER_EXCEPTION | 0)) == -1)
11617 SWIG_fail;
11618 if (arg2 == NULL) {
11619 PyErr_SetString(PyExc_TypeError,"null reference");
11620 SWIG_fail;
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->base_OnEraseControlPoints(*arg2);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 Py_INCREF(Py_None); resultobj = Py_None;
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11639 wxDC *arg2 = 0 ;
11640 bool arg3 = (bool) True ;
11641 PyObject * obj0 = 0 ;
11642 PyObject * obj1 = 0 ;
11643 PyObject * obj2 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1)
11653 SWIG_fail;
11654 if (arg2 == NULL) {
11655 PyErr_SetString(PyExc_TypeError,"null reference");
11656 SWIG_fail;
11657 }
11658 if (obj2) {
11659 arg3 = (bool) SWIG_AsBool(obj2);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 (arg1)->base_OnMoveLink(*arg2,arg3);
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 Py_INCREF(Py_None); resultobj = Py_None;
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11677 PyObject *resultobj;
11678 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11679 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11680 bool arg3 ;
11681 double arg4 ;
11682 double arg5 ;
11683 int arg6 = (int) 0 ;
11684 int arg7 = (int) 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 PyObject * obj4 = 0 ;
11690 PyObject * obj5 = 0 ;
11691 PyObject * obj6 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11701 arg3 = (bool) SWIG_AsBool(obj2);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 arg4 = (double) SWIG_AsDouble(obj3);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 arg5 = (double) SWIG_AsDouble(obj4);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 if (obj5) {
11708 arg6 = (int) SWIG_AsInt(obj5);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 if (obj6) {
11712 arg7 = (int) SWIG_AsInt(obj6);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 Py_INCREF(Py_None); resultobj = Py_None;
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11732 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11733 double arg3 ;
11734 double arg4 ;
11735 int arg5 = (int) 0 ;
11736 int arg6 = (int) 0 ;
11737 PyObject * obj0 = 0 ;
11738 PyObject * obj1 = 0 ;
11739 PyObject * obj2 = 0 ;
11740 PyObject * obj3 = 0 ;
11741 PyObject * obj4 = 0 ;
11742 PyObject * obj5 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11752 arg3 = (double) SWIG_AsDouble(obj2);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 arg4 = (double) SWIG_AsDouble(obj3);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 if (obj4) {
11757 arg5 = (int) SWIG_AsInt(obj4);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 if (obj5) {
11761 arg6 = (int) SWIG_AsInt(obj5);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11781 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11782 double arg3 ;
11783 double arg4 ;
11784 int arg5 = (int) 0 ;
11785 int arg6 = (int) 0 ;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 PyObject * obj2 = 0 ;
11789 PyObject * obj3 = 0 ;
11790 PyObject * obj4 = 0 ;
11791 PyObject * obj5 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11801 arg3 = (double) SWIG_AsDouble(obj2);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 arg4 = (double) SWIG_AsDouble(obj3);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 if (obj4) {
11806 arg5 = (int) SWIG_AsInt(obj4);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 if (obj5) {
11810 arg6 = (int) SWIG_AsInt(obj5);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 Py_INCREF(Py_None); resultobj = Py_None;
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11830 double arg2 ;
11831 double arg3 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 PyObject * obj2 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self",(char *) "w",(char *) "h", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11842 arg2 = (double) SWIG_AsDouble(obj1);
11843 if (PyErr_Occurred()) SWIG_fail;
11844 arg3 = (double) SWIG_AsDouble(obj2);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 (arg1)->base_OnBeginSize(arg2,arg3);
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 Py_INCREF(Py_None); resultobj = Py_None;
11854 return resultobj;
11855 fail:
11856 return NULL;
11857 }
11858
11859
11860 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11863 double arg2 ;
11864 double arg3 ;
11865 PyObject * obj0 = 0 ;
11866 PyObject * obj1 = 0 ;
11867 PyObject * obj2 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self",(char *) "w",(char *) "h", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11875 arg2 = (double) SWIG_AsDouble(obj1);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 arg3 = (double) SWIG_AsDouble(obj2);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 (arg1)->base_OnEndSize(arg2,arg3);
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 Py_INCREF(Py_None); resultobj = Py_None;
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
11894 PyObject *obj;
11895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11896 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
11897 Py_INCREF(obj);
11898 return Py_BuildValue((char *)"");
11899 }
11900 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
11903 wxPyShape *arg2 = (wxPyShape *) NULL ;
11904 double arg3 = (double) 0.0 ;
11905 double arg4 = (double) 0.0 ;
11906 double arg5 = (double) 0.0 ;
11907 int arg6 = (int) 0 ;
11908 wxPyControlPoint *result;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 PyObject * obj2 = 0 ;
11912 PyObject * obj3 = 0 ;
11913 PyObject * obj4 = 0 ;
11914 PyObject * obj5 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11920 if (obj0) {
11921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
11922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11923 }
11924 if (obj1) {
11925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
11926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11927 }
11928 if (obj2) {
11929 arg3 = (double) SWIG_AsDouble(obj2);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 }
11932 if (obj3) {
11933 arg4 = (double) SWIG_AsDouble(obj3);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 if (obj4) {
11937 arg5 = (double) SWIG_AsDouble(obj4);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 if (obj5) {
11941 arg6 = (int) SWIG_AsInt(obj5);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11961 PyObject *arg2 = (PyObject *) 0 ;
11962 PyObject *arg3 = (PyObject *) 0 ;
11963 PyObject * obj0 = 0 ;
11964 PyObject * obj1 = 0 ;
11965 PyObject * obj2 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self",(char *) "self",(char *) "_class", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11973 arg2 = obj1;
11974 arg3 = obj2;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 (arg1)->_setCallbackInfo(arg2,arg3);
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 Py_INCREF(Py_None); resultobj = Py_None;
11983 return resultobj;
11984 fail:
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11992 double arg2 ;
11993 PyObject * obj0 = 0 ;
11994 PyObject * obj1 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self",(char *) "radius", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
12000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12002 arg2 = (double) SWIG_AsDouble(obj1);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 (arg1)->SetCornerRadius(arg2);
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 Py_INCREF(Py_None); resultobj = Py_None;
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12021 PyObject * obj0 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "self", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->base_OnDelete();
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12046 wxDC *arg2 = 0 ;
12047 PyObject * obj0 = 0 ;
12048 PyObject * obj1 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self",(char *) "dc", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12057 SWIG_POINTER_EXCEPTION | 0)) == -1)
12058 SWIG_fail;
12059 if (arg2 == NULL) {
12060 PyErr_SetString(PyExc_TypeError,"null reference");
12061 SWIG_fail;
12062 }
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 (arg1)->base_OnDraw(*arg2);
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 Py_INCREF(Py_None); resultobj = Py_None;
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12080 wxDC *arg2 = 0 ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self",(char *) "dc", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12091 SWIG_POINTER_EXCEPTION | 0)) == -1)
12092 SWIG_fail;
12093 if (arg2 == NULL) {
12094 PyErr_SetString(PyExc_TypeError,"null reference");
12095 SWIG_fail;
12096 }
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 (arg1)->base_OnDrawContents(*arg2);
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 Py_INCREF(Py_None); resultobj = Py_None;
12105 return resultobj;
12106 fail:
12107 return NULL;
12108 }
12109
12110
12111 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12114 wxDC *arg2 = 0 ;
12115 bool arg3 = (bool) FALSE ;
12116 PyObject * obj0 = 0 ;
12117 PyObject * obj1 = 0 ;
12118 PyObject * obj2 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "dc",(char *) "erase", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12127 SWIG_POINTER_EXCEPTION | 0)) == -1)
12128 SWIG_fail;
12129 if (arg2 == NULL) {
12130 PyErr_SetString(PyExc_TypeError,"null reference");
12131 SWIG_fail;
12132 }
12133 if (obj2) {
12134 arg3 = (bool) SWIG_AsBool(obj2);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 (arg1)->base_OnDrawBranches(*arg2,arg3);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 Py_INCREF(Py_None); resultobj = Py_None;
12145 return resultobj;
12146 fail:
12147 return NULL;
12148 }
12149
12150
12151 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12152 PyObject *resultobj;
12153 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12154 wxDC *arg2 = 0 ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj1 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self",(char *) "dc", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1)
12166 SWIG_fail;
12167 if (arg2 == NULL) {
12168 PyErr_SetString(PyExc_TypeError,"null reference");
12169 SWIG_fail;
12170 }
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 (arg1)->base_OnMoveLinks(*arg2);
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 Py_INCREF(Py_None); resultobj = Py_None;
12179 return resultobj;
12180 fail:
12181 return NULL;
12182 }
12183
12184
12185 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12186 PyObject *resultobj;
12187 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12188 wxDC *arg2 = 0 ;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self",(char *) "dc", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12199 SWIG_POINTER_EXCEPTION | 0)) == -1)
12200 SWIG_fail;
12201 if (arg2 == NULL) {
12202 PyErr_SetString(PyExc_TypeError,"null reference");
12203 SWIG_fail;
12204 }
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 (arg1)->base_OnErase(*arg2);
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 Py_INCREF(Py_None); resultobj = Py_None;
12213 return resultobj;
12214 fail:
12215 return NULL;
12216 }
12217
12218
12219 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12220 PyObject *resultobj;
12221 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12222 wxDC *arg2 = 0 ;
12223 PyObject * obj0 = 0 ;
12224 PyObject * obj1 = 0 ;
12225 char *kwnames[] = {
12226 (char *) "self",(char *) "dc", NULL
12227 };
12228
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12233 SWIG_POINTER_EXCEPTION | 0)) == -1)
12234 SWIG_fail;
12235 if (arg2 == NULL) {
12236 PyErr_SetString(PyExc_TypeError,"null reference");
12237 SWIG_fail;
12238 }
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 (arg1)->base_OnEraseContents(*arg2);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 Py_INCREF(Py_None); resultobj = Py_None;
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12256 wxDC *arg2 = 0 ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "dc", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1)
12268 SWIG_fail;
12269 if (arg2 == NULL) {
12270 PyErr_SetString(PyExc_TypeError,"null reference");
12271 SWIG_fail;
12272 }
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->base_OnHighlight(*arg2);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 Py_INCREF(Py_None); resultobj = Py_None;
12281 return resultobj;
12282 fail:
12283 return NULL;
12284 }
12285
12286
12287 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12290 double arg2 ;
12291 double arg3 ;
12292 int arg4 = (int) 0 ;
12293 int arg5 = (int) 0 ;
12294 PyObject * obj0 = 0 ;
12295 PyObject * obj1 = 0 ;
12296 PyObject * obj2 = 0 ;
12297 PyObject * obj3 = 0 ;
12298 PyObject * obj4 = 0 ;
12299 char *kwnames[] = {
12300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12306 arg2 = (double) SWIG_AsDouble(obj1);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 arg3 = (double) SWIG_AsDouble(obj2);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 if (obj3) {
12311 arg4 = (int) SWIG_AsInt(obj3);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 if (obj4) {
12315 arg5 = (int) SWIG_AsInt(obj4);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 Py_INCREF(Py_None); resultobj = Py_None;
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj;
12334 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12335 double arg2 ;
12336 double arg3 ;
12337 int arg4 = (int) 0 ;
12338 int arg5 = (int) 0 ;
12339 PyObject * obj0 = 0 ;
12340 PyObject * obj1 = 0 ;
12341 PyObject * obj2 = 0 ;
12342 PyObject * obj3 = 0 ;
12343 PyObject * obj4 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12351 arg2 = (double) SWIG_AsDouble(obj1);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 arg3 = (double) SWIG_AsDouble(obj2);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 if (obj3) {
12356 arg4 = (int) SWIG_AsInt(obj3);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 if (obj4) {
12360 arg5 = (int) SWIG_AsInt(obj4);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 Py_INCREF(Py_None); resultobj = Py_None;
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12380 double arg2 ;
12381 double arg3 ;
12382 int arg4 = (int) 0 ;
12383 int arg5 = (int) 0 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 PyObject * obj2 = 0 ;
12387 PyObject * obj3 = 0 ;
12388 PyObject * obj4 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12396 arg2 = (double) SWIG_AsDouble(obj1);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 arg3 = (double) SWIG_AsDouble(obj2);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 if (obj3) {
12401 arg4 = (int) SWIG_AsInt(obj3);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 if (obj4) {
12405 arg5 = (int) SWIG_AsInt(obj4);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 Py_INCREF(Py_None); resultobj = Py_None;
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12425 double arg2 ;
12426 double arg3 ;
12427 PyObject * obj0 = 0 ;
12428 PyObject * obj1 = 0 ;
12429 PyObject * obj2 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self",(char *) "x",(char *) "y", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12437 arg2 = (double) SWIG_AsDouble(obj1);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 arg3 = (double) SWIG_AsDouble(obj2);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 (arg1)->base_OnSize(arg2,arg3);
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 Py_INCREF(Py_None); resultobj = Py_None;
12449 return resultobj;
12450 fail:
12451 return NULL;
12452 }
12453
12454
12455 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj;
12457 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12458 wxDC *arg2 = 0 ;
12459 double arg3 ;
12460 double arg4 ;
12461 double arg5 ;
12462 double arg6 ;
12463 bool arg7 = (bool) True ;
12464 bool result;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 PyObject * obj2 = 0 ;
12468 PyObject * obj3 = 0 ;
12469 PyObject * obj4 = 0 ;
12470 PyObject * obj5 = 0 ;
12471 PyObject * obj6 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12480 SWIG_POINTER_EXCEPTION | 0)) == -1)
12481 SWIG_fail;
12482 if (arg2 == NULL) {
12483 PyErr_SetString(PyExc_TypeError,"null reference");
12484 SWIG_fail;
12485 }
12486 arg3 = (double) SWIG_AsDouble(obj2);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 arg4 = (double) SWIG_AsDouble(obj3);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 arg5 = (double) SWIG_AsDouble(obj4);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 arg6 = (double) SWIG_AsDouble(obj5);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 if (obj6) {
12495 arg7 = (bool) SWIG_AsBool(obj6);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12515 wxDC *arg2 = 0 ;
12516 double arg3 ;
12517 double arg4 ;
12518 double arg5 ;
12519 double arg6 ;
12520 bool arg7 = (bool) True ;
12521 PyObject * obj0 = 0 ;
12522 PyObject * obj1 = 0 ;
12523 PyObject * obj2 = 0 ;
12524 PyObject * obj3 = 0 ;
12525 PyObject * obj4 = 0 ;
12526 PyObject * obj5 = 0 ;
12527 PyObject * obj6 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12536 SWIG_POINTER_EXCEPTION | 0)) == -1)
12537 SWIG_fail;
12538 if (arg2 == NULL) {
12539 PyErr_SetString(PyExc_TypeError,"null reference");
12540 SWIG_fail;
12541 }
12542 arg3 = (double) SWIG_AsDouble(obj2);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 arg4 = (double) SWIG_AsDouble(obj3);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 arg5 = (double) SWIG_AsDouble(obj4);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 arg6 = (double) SWIG_AsDouble(obj5);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 if (obj6) {
12551 arg7 = (bool) SWIG_AsBool(obj6);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 Py_INCREF(Py_None); resultobj = Py_None;
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12571 bool arg2 ;
12572 double arg3 ;
12573 double arg4 ;
12574 int arg5 = (int) 0 ;
12575 int arg6 = (int) 0 ;
12576 PyObject * obj0 = 0 ;
12577 PyObject * obj1 = 0 ;
12578 PyObject * obj2 = 0 ;
12579 PyObject * obj3 = 0 ;
12580 PyObject * obj4 = 0 ;
12581 PyObject * obj5 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12584 };
12585
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12589 arg2 = (bool) SWIG_AsBool(obj1);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 arg3 = (double) SWIG_AsDouble(obj2);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 arg4 = (double) SWIG_AsDouble(obj3);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 if (obj4) {
12596 arg5 = (int) SWIG_AsInt(obj4);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 if (obj5) {
12600 arg6 = (int) SWIG_AsInt(obj5);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12606
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 Py_INCREF(Py_None); resultobj = Py_None;
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj;
12619 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12620 double arg2 ;
12621 double arg3 ;
12622 int arg4 = (int) 0 ;
12623 int arg5 = (int) 0 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 PyObject * obj2 = 0 ;
12627 PyObject * obj3 = 0 ;
12628 PyObject * obj4 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12636 arg2 = (double) SWIG_AsDouble(obj1);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 arg3 = (double) SWIG_AsDouble(obj2);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 if (obj3) {
12641 arg4 = (int) SWIG_AsInt(obj3);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 if (obj4) {
12645 arg5 = (int) SWIG_AsInt(obj4);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 Py_INCREF(Py_None); resultobj = Py_None;
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12665 double arg2 ;
12666 double arg3 ;
12667 int arg4 = (int) 0 ;
12668 int arg5 = (int) 0 ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 PyObject * obj2 = 0 ;
12672 PyObject * obj3 = 0 ;
12673 PyObject * obj4 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12681 arg2 = (double) SWIG_AsDouble(obj1);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 arg3 = (double) SWIG_AsDouble(obj2);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 if (obj3) {
12686 arg4 = (int) SWIG_AsInt(obj3);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 if (obj4) {
12690 arg5 = (int) SWIG_AsInt(obj4);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 Py_INCREF(Py_None); resultobj = Py_None;
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj;
12709 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12710 bool arg2 ;
12711 double arg3 ;
12712 double arg4 ;
12713 int arg5 = (int) 0 ;
12714 int arg6 = (int) 0 ;
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717 PyObject * obj2 = 0 ;
12718 PyObject * obj3 = 0 ;
12719 PyObject * obj4 = 0 ;
12720 PyObject * obj5 = 0 ;
12721 char *kwnames[] = {
12722 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12723 };
12724
12725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12728 arg2 = (bool) SWIG_AsBool(obj1);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 arg3 = (double) SWIG_AsDouble(obj2);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 arg4 = (double) SWIG_AsDouble(obj3);
12733 if (PyErr_Occurred()) SWIG_fail;
12734 if (obj4) {
12735 arg5 = (int) SWIG_AsInt(obj4);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 if (obj5) {
12739 arg6 = (int) SWIG_AsInt(obj5);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 Py_INCREF(Py_None); resultobj = Py_None;
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12759 double arg2 ;
12760 double arg3 ;
12761 int arg4 = (int) 0 ;
12762 int arg5 = (int) 0 ;
12763 PyObject * obj0 = 0 ;
12764 PyObject * obj1 = 0 ;
12765 PyObject * obj2 = 0 ;
12766 PyObject * obj3 = 0 ;
12767 PyObject * obj4 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12775 arg2 = (double) SWIG_AsDouble(obj1);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 arg3 = (double) SWIG_AsDouble(obj2);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 if (obj3) {
12780 arg4 = (int) SWIG_AsInt(obj3);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 if (obj4) {
12784 arg5 = (int) SWIG_AsInt(obj4);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 Py_INCREF(Py_None); resultobj = Py_None;
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12804 double arg2 ;
12805 double arg3 ;
12806 int arg4 = (int) 0 ;
12807 int arg5 = (int) 0 ;
12808 PyObject * obj0 = 0 ;
12809 PyObject * obj1 = 0 ;
12810 PyObject * obj2 = 0 ;
12811 PyObject * obj3 = 0 ;
12812 PyObject * obj4 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12820 arg2 = (double) SWIG_AsDouble(obj1);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 arg3 = (double) SWIG_AsDouble(obj2);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 if (obj3) {
12825 arg4 = (int) SWIG_AsInt(obj3);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 if (obj4) {
12829 arg5 = (int) SWIG_AsInt(obj4);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 Py_INCREF(Py_None); resultobj = Py_None;
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12849 wxDC *arg2 = 0 ;
12850 double arg3 ;
12851 double arg4 ;
12852 double arg5 ;
12853 double arg6 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 PyObject * obj2 = 0 ;
12857 PyObject * obj3 = 0 ;
12858 PyObject * obj4 = 0 ;
12859 PyObject * obj5 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12868 SWIG_POINTER_EXCEPTION | 0)) == -1)
12869 SWIG_fail;
12870 if (arg2 == NULL) {
12871 PyErr_SetString(PyExc_TypeError,"null reference");
12872 SWIG_fail;
12873 }
12874 arg3 = (double) SWIG_AsDouble(obj2);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 arg4 = (double) SWIG_AsDouble(obj3);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 arg5 = (double) SWIG_AsDouble(obj4);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 arg6 = (double) SWIG_AsDouble(obj5);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 Py_INCREF(Py_None); resultobj = Py_None;
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12899 wxDC *arg2 = 0 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self",(char *) "dc", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12910 SWIG_POINTER_EXCEPTION | 0)) == -1)
12911 SWIG_fail;
12912 if (arg2 == NULL) {
12913 PyErr_SetString(PyExc_TypeError,"null reference");
12914 SWIG_fail;
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->base_OnDrawControlPoints(*arg2);
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12933 wxDC *arg2 = 0 ;
12934 PyObject * obj0 = 0 ;
12935 PyObject * obj1 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self",(char *) "dc", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
12941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12944 SWIG_POINTER_EXCEPTION | 0)) == -1)
12945 SWIG_fail;
12946 if (arg2 == NULL) {
12947 PyErr_SetString(PyExc_TypeError,"null reference");
12948 SWIG_fail;
12949 }
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->base_OnEraseControlPoints(*arg2);
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12967 wxDC *arg2 = 0 ;
12968 bool arg3 = (bool) True ;
12969 PyObject * obj0 = 0 ;
12970 PyObject * obj1 = 0 ;
12971 PyObject * obj2 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12980 SWIG_POINTER_EXCEPTION | 0)) == -1)
12981 SWIG_fail;
12982 if (arg2 == NULL) {
12983 PyErr_SetString(PyExc_TypeError,"null reference");
12984 SWIG_fail;
12985 }
12986 if (obj2) {
12987 arg3 = (bool) SWIG_AsBool(obj2);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 (arg1)->base_OnMoveLink(*arg2,arg3);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 Py_INCREF(Py_None); resultobj = Py_None;
12998 return resultobj;
12999 fail:
13000 return NULL;
13001 }
13002
13003
13004 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13005 PyObject *resultobj;
13006 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13007 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13008 bool arg3 ;
13009 double arg4 ;
13010 double arg5 ;
13011 int arg6 = (int) 0 ;
13012 int arg7 = (int) 0 ;
13013 PyObject * obj0 = 0 ;
13014 PyObject * obj1 = 0 ;
13015 PyObject * obj2 = 0 ;
13016 PyObject * obj3 = 0 ;
13017 PyObject * obj4 = 0 ;
13018 PyObject * obj5 = 0 ;
13019 PyObject * obj6 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13029 arg3 = (bool) SWIG_AsBool(obj2);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 arg4 = (double) SWIG_AsDouble(obj3);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 arg5 = (double) SWIG_AsDouble(obj4);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 if (obj5) {
13036 arg6 = (int) SWIG_AsInt(obj5);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 if (obj6) {
13040 arg7 = (int) SWIG_AsInt(obj6);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 Py_INCREF(Py_None); resultobj = Py_None;
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13060 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13061 double arg3 ;
13062 double arg4 ;
13063 int arg5 = (int) 0 ;
13064 int arg6 = (int) 0 ;
13065 PyObject * obj0 = 0 ;
13066 PyObject * obj1 = 0 ;
13067 PyObject * obj2 = 0 ;
13068 PyObject * obj3 = 0 ;
13069 PyObject * obj4 = 0 ;
13070 PyObject * obj5 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13080 arg3 = (double) SWIG_AsDouble(obj2);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 arg4 = (double) SWIG_AsDouble(obj3);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 if (obj4) {
13085 arg5 = (int) SWIG_AsInt(obj4);
13086 if (PyErr_Occurred()) SWIG_fail;
13087 }
13088 if (obj5) {
13089 arg6 = (int) SWIG_AsInt(obj5);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 Py_INCREF(Py_None); resultobj = Py_None;
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13109 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13110 double arg3 ;
13111 double arg4 ;
13112 int arg5 = (int) 0 ;
13113 int arg6 = (int) 0 ;
13114 PyObject * obj0 = 0 ;
13115 PyObject * obj1 = 0 ;
13116 PyObject * obj2 = 0 ;
13117 PyObject * obj3 = 0 ;
13118 PyObject * obj4 = 0 ;
13119 PyObject * obj5 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 arg3 = (double) SWIG_AsDouble(obj2);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 arg4 = (double) SWIG_AsDouble(obj3);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 if (obj4) {
13134 arg5 = (int) SWIG_AsInt(obj4);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 if (obj5) {
13138 arg6 = (int) SWIG_AsInt(obj5);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 Py_INCREF(Py_None); resultobj = Py_None;
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13158 double arg2 ;
13159 double arg3 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 PyObject * obj2 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self",(char *) "w",(char *) "h", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 arg2 = (double) SWIG_AsDouble(obj1);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 arg3 = (double) SWIG_AsDouble(obj2);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 (arg1)->base_OnBeginSize(arg2,arg3);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 Py_INCREF(Py_None); resultobj = Py_None;
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13191 double arg2 ;
13192 double arg3 ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 PyObject * obj2 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self",(char *) "w",(char *) "h", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13203 arg2 = (double) SWIG_AsDouble(obj1);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 arg3 = (double) SWIG_AsDouble(obj2);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 (arg1)->base_OnEndSize(arg2,arg3);
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 Py_INCREF(Py_None); resultobj = Py_None;
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13222 PyObject *obj;
13223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13224 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13225 Py_INCREF(obj);
13226 return Py_BuildValue((char *)"");
13227 }
13228 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj;
13230 wxPyBitmapShape *result;
13231 char *kwnames[] = {
13232 NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13253 PyObject *arg2 = (PyObject *) 0 ;
13254 PyObject *arg3 = (PyObject *) 0 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 PyObject * obj2 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self",(char *) "self",(char *) "_class", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 arg2 = obj1;
13266 arg3 = obj2;
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 (arg1)->_setCallbackInfo(arg2,arg3);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 Py_INCREF(Py_None); resultobj = Py_None;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13284 wxBitmap *result;
13285 PyObject * obj0 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 {
13296 wxBitmap &_result_ref = (arg1)->GetBitmap();
13297 result = (wxBitmap *) &_result_ref;
13298 }
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13313 wxString result;
13314 PyObject * obj0 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (arg1)->GetFilename();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330 #if wxUSE_UNICODE
13331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13332 #else
13333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13334 #endif
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13345 wxBitmap *arg2 = 0 ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self",(char *) "bitmap", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13356 SWIG_POINTER_EXCEPTION | 0)) == -1)
13357 SWIG_fail;
13358 if (arg2 == NULL) {
13359 PyErr_SetString(PyExc_TypeError,"null reference");
13360 SWIG_fail;
13361 }
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 Py_INCREF(Py_None); resultobj = Py_None;
13370 return resultobj;
13371 fail:
13372 return NULL;
13373 }
13374
13375
13376 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13379 wxString *arg2 = 0 ;
13380 bool temp2 = False ;
13381 PyObject * obj0 = 0 ;
13382 PyObject * obj1 = 0 ;
13383 char *kwnames[] = {
13384 (char *) "self",(char *) "filename", NULL
13385 };
13386
13387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13390 {
13391 arg2 = wxString_in_helper(obj1);
13392 if (arg2 == NULL) SWIG_fail;
13393 temp2 = True;
13394 }
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 (arg1)->SetFilename((wxString const &)*arg2);
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 Py_INCREF(Py_None); resultobj = Py_None;
13403 {
13404 if (temp2)
13405 delete arg2;
13406 }
13407 return resultobj;
13408 fail:
13409 {
13410 if (temp2)
13411 delete arg2;
13412 }
13413 return NULL;
13414 }
13415
13416
13417 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj;
13419 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13420 PyObject * obj0 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 (arg1)->base_OnDelete();
13431
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 Py_INCREF(Py_None); resultobj = Py_None;
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj;
13444 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13445 wxDC *arg2 = 0 ;
13446 PyObject * obj0 = 0 ;
13447 PyObject * obj1 = 0 ;
13448 char *kwnames[] = {
13449 (char *) "self",(char *) "dc", NULL
13450 };
13451
13452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13456 SWIG_POINTER_EXCEPTION | 0)) == -1)
13457 SWIG_fail;
13458 if (arg2 == NULL) {
13459 PyErr_SetString(PyExc_TypeError,"null reference");
13460 SWIG_fail;
13461 }
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->base_OnDraw(*arg2);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 return resultobj;
13471 fail:
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13479 wxDC *arg2 = 0 ;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "dc", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13490 SWIG_POINTER_EXCEPTION | 0)) == -1)
13491 SWIG_fail;
13492 if (arg2 == NULL) {
13493 PyErr_SetString(PyExc_TypeError,"null reference");
13494 SWIG_fail;
13495 }
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 (arg1)->base_OnDrawContents(*arg2);
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 Py_INCREF(Py_None); resultobj = Py_None;
13504 return resultobj;
13505 fail:
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13513 wxDC *arg2 = 0 ;
13514 bool arg3 = (bool) FALSE ;
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
13517 PyObject * obj2 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self",(char *) "dc",(char *) "erase", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13526 SWIG_POINTER_EXCEPTION | 0)) == -1)
13527 SWIG_fail;
13528 if (arg2 == NULL) {
13529 PyErr_SetString(PyExc_TypeError,"null reference");
13530 SWIG_fail;
13531 }
13532 if (obj2) {
13533 arg3 = (bool) SWIG_AsBool(obj2);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 (arg1)->base_OnDrawBranches(*arg2,arg3);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 Py_INCREF(Py_None); resultobj = Py_None;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13553 wxDC *arg2 = 0 ;
13554 PyObject * obj0 = 0 ;
13555 PyObject * obj1 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self",(char *) "dc", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13564 SWIG_POINTER_EXCEPTION | 0)) == -1)
13565 SWIG_fail;
13566 if (arg2 == NULL) {
13567 PyErr_SetString(PyExc_TypeError,"null reference");
13568 SWIG_fail;
13569 }
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 (arg1)->base_OnMoveLinks(*arg2);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 Py_INCREF(Py_None); resultobj = Py_None;
13578 return resultobj;
13579 fail:
13580 return NULL;
13581 }
13582
13583
13584 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13587 wxDC *arg2 = 0 ;
13588 PyObject * obj0 = 0 ;
13589 PyObject * obj1 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self",(char *) "dc", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13598 SWIG_POINTER_EXCEPTION | 0)) == -1)
13599 SWIG_fail;
13600 if (arg2 == NULL) {
13601 PyErr_SetString(PyExc_TypeError,"null reference");
13602 SWIG_fail;
13603 }
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 (arg1)->base_OnErase(*arg2);
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 Py_INCREF(Py_None); resultobj = Py_None;
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13621 wxDC *arg2 = 0 ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self",(char *) "dc", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13632 SWIG_POINTER_EXCEPTION | 0)) == -1)
13633 SWIG_fail;
13634 if (arg2 == NULL) {
13635 PyErr_SetString(PyExc_TypeError,"null reference");
13636 SWIG_fail;
13637 }
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 (arg1)->base_OnEraseContents(*arg2);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 Py_INCREF(Py_None); resultobj = Py_None;
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13655 wxDC *arg2 = 0 ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "dc", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13666 SWIG_POINTER_EXCEPTION | 0)) == -1)
13667 SWIG_fail;
13668 if (arg2 == NULL) {
13669 PyErr_SetString(PyExc_TypeError,"null reference");
13670 SWIG_fail;
13671 }
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 (arg1)->base_OnHighlight(*arg2);
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 Py_INCREF(Py_None); resultobj = Py_None;
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj;
13688 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13689 double arg2 ;
13690 double arg3 ;
13691 int arg4 = (int) 0 ;
13692 int arg5 = (int) 0 ;
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 PyObject * obj2 = 0 ;
13696 PyObject * obj3 = 0 ;
13697 PyObject * obj4 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13705 arg2 = (double) SWIG_AsDouble(obj1);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 arg3 = (double) SWIG_AsDouble(obj2);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 if (obj3) {
13710 arg4 = (int) SWIG_AsInt(obj3);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 if (obj4) {
13714 arg5 = (int) SWIG_AsInt(obj4);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 PyThreadState* __tstate = wxPyBeginAllowThreads();
13719 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13720
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 Py_INCREF(Py_None); resultobj = Py_None;
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13734 double arg2 ;
13735 double arg3 ;
13736 int arg4 = (int) 0 ;
13737 int arg5 = (int) 0 ;
13738 PyObject * obj0 = 0 ;
13739 PyObject * obj1 = 0 ;
13740 PyObject * obj2 = 0 ;
13741 PyObject * obj3 = 0 ;
13742 PyObject * obj4 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13750 arg2 = (double) SWIG_AsDouble(obj1);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 arg3 = (double) SWIG_AsDouble(obj2);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 if (obj3) {
13755 arg4 = (int) SWIG_AsInt(obj3);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 if (obj4) {
13759 arg5 = (int) SWIG_AsInt(obj4);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 Py_INCREF(Py_None); resultobj = Py_None;
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13779 double arg2 ;
13780 double arg3 ;
13781 int arg4 = (int) 0 ;
13782 int arg5 = (int) 0 ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 PyObject * obj2 = 0 ;
13786 PyObject * obj3 = 0 ;
13787 PyObject * obj4 = 0 ;
13788 char *kwnames[] = {
13789 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13790 };
13791
13792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13795 arg2 = (double) SWIG_AsDouble(obj1);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 arg3 = (double) SWIG_AsDouble(obj2);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 if (obj3) {
13800 arg4 = (int) SWIG_AsInt(obj3);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 if (obj4) {
13804 arg5 = (int) SWIG_AsInt(obj4);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 Py_INCREF(Py_None); resultobj = Py_None;
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13824 double arg2 ;
13825 double arg3 ;
13826 PyObject * obj0 = 0 ;
13827 PyObject * obj1 = 0 ;
13828 PyObject * obj2 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self",(char *) "x",(char *) "y", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13836 arg2 = (double) SWIG_AsDouble(obj1);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 arg3 = (double) SWIG_AsDouble(obj2);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 (arg1)->base_OnSize(arg2,arg3);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 Py_INCREF(Py_None); resultobj = Py_None;
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13857 wxDC *arg2 = 0 ;
13858 double arg3 ;
13859 double arg4 ;
13860 double arg5 ;
13861 double arg6 ;
13862 bool arg7 = (bool) True ;
13863 bool result;
13864 PyObject * obj0 = 0 ;
13865 PyObject * obj1 = 0 ;
13866 PyObject * obj2 = 0 ;
13867 PyObject * obj3 = 0 ;
13868 PyObject * obj4 = 0 ;
13869 PyObject * obj5 = 0 ;
13870 PyObject * obj6 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13879 SWIG_POINTER_EXCEPTION | 0)) == -1)
13880 SWIG_fail;
13881 if (arg2 == NULL) {
13882 PyErr_SetString(PyExc_TypeError,"null reference");
13883 SWIG_fail;
13884 }
13885 arg3 = (double) SWIG_AsDouble(obj2);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 arg4 = (double) SWIG_AsDouble(obj3);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 arg5 = (double) SWIG_AsDouble(obj4);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 arg6 = (double) SWIG_AsDouble(obj5);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 if (obj6) {
13894 arg7 = (bool) SWIG_AsBool(obj6);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13905 return resultobj;
13906 fail:
13907 return NULL;
13908 }
13909
13910
13911 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13914 wxDC *arg2 = 0 ;
13915 double arg3 ;
13916 double arg4 ;
13917 double arg5 ;
13918 double arg6 ;
13919 bool arg7 = (bool) True ;
13920 PyObject * obj0 = 0 ;
13921 PyObject * obj1 = 0 ;
13922 PyObject * obj2 = 0 ;
13923 PyObject * obj3 = 0 ;
13924 PyObject * obj4 = 0 ;
13925 PyObject * obj5 = 0 ;
13926 PyObject * obj6 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13935 SWIG_POINTER_EXCEPTION | 0)) == -1)
13936 SWIG_fail;
13937 if (arg2 == NULL) {
13938 PyErr_SetString(PyExc_TypeError,"null reference");
13939 SWIG_fail;
13940 }
13941 arg3 = (double) SWIG_AsDouble(obj2);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 arg4 = (double) SWIG_AsDouble(obj3);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 arg5 = (double) SWIG_AsDouble(obj4);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 arg6 = (double) SWIG_AsDouble(obj5);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 if (obj6) {
13950 arg7 = (bool) SWIG_AsBool(obj6);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 Py_INCREF(Py_None); resultobj = Py_None;
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13970 bool arg2 ;
13971 double arg3 ;
13972 double arg4 ;
13973 int arg5 = (int) 0 ;
13974 int arg6 = (int) 0 ;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
13977 PyObject * obj2 = 0 ;
13978 PyObject * obj3 = 0 ;
13979 PyObject * obj4 = 0 ;
13980 PyObject * obj5 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13988 arg2 = (bool) SWIG_AsBool(obj1);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 arg3 = (double) SWIG_AsDouble(obj2);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 arg4 = (double) SWIG_AsDouble(obj3);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 if (obj4) {
13995 arg5 = (int) SWIG_AsInt(obj4);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 if (obj5) {
13999 arg6 = (int) SWIG_AsInt(obj5);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14019 double arg2 ;
14020 double arg3 ;
14021 int arg4 = (int) 0 ;
14022 int arg5 = (int) 0 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 PyObject * obj3 = 0 ;
14027 PyObject * obj4 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14035 arg2 = (double) SWIG_AsDouble(obj1);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 arg3 = (double) SWIG_AsDouble(obj2);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 if (obj3) {
14040 arg4 = (int) SWIG_AsInt(obj3);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 if (obj4) {
14044 arg5 = (int) SWIG_AsInt(obj4);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 Py_INCREF(Py_None); resultobj = Py_None;
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14064 double arg2 ;
14065 double arg3 ;
14066 int arg4 = (int) 0 ;
14067 int arg5 = (int) 0 ;
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 PyObject * obj2 = 0 ;
14071 PyObject * obj3 = 0 ;
14072 PyObject * obj4 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14080 arg2 = (double) SWIG_AsDouble(obj1);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 arg3 = (double) SWIG_AsDouble(obj2);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 if (obj3) {
14085 arg4 = (int) SWIG_AsInt(obj3);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 if (obj4) {
14089 arg5 = (int) SWIG_AsInt(obj4);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 Py_INCREF(Py_None); resultobj = Py_None;
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14109 bool arg2 ;
14110 double arg3 ;
14111 double arg4 ;
14112 int arg5 = (int) 0 ;
14113 int arg6 = (int) 0 ;
14114 PyObject * obj0 = 0 ;
14115 PyObject * obj1 = 0 ;
14116 PyObject * obj2 = 0 ;
14117 PyObject * obj3 = 0 ;
14118 PyObject * obj4 = 0 ;
14119 PyObject * obj5 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 arg2 = (bool) SWIG_AsBool(obj1);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 arg3 = (double) SWIG_AsDouble(obj2);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 arg4 = (double) SWIG_AsDouble(obj3);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 if (obj4) {
14134 arg5 = (int) SWIG_AsInt(obj4);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 if (obj5) {
14138 arg6 = (int) SWIG_AsInt(obj5);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 Py_INCREF(Py_None); resultobj = Py_None;
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14158 double arg2 ;
14159 double arg3 ;
14160 int arg4 = (int) 0 ;
14161 int arg5 = (int) 0 ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 PyObject * obj2 = 0 ;
14165 PyObject * obj3 = 0 ;
14166 PyObject * obj4 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14174 arg2 = (double) SWIG_AsDouble(obj1);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 arg3 = (double) SWIG_AsDouble(obj2);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 if (obj3) {
14179 arg4 = (int) SWIG_AsInt(obj3);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 if (obj4) {
14183 arg5 = (int) SWIG_AsInt(obj4);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 Py_INCREF(Py_None); resultobj = Py_None;
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14203 double arg2 ;
14204 double arg3 ;
14205 int arg4 = (int) 0 ;
14206 int arg5 = (int) 0 ;
14207 PyObject * obj0 = 0 ;
14208 PyObject * obj1 = 0 ;
14209 PyObject * obj2 = 0 ;
14210 PyObject * obj3 = 0 ;
14211 PyObject * obj4 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14219 arg2 = (double) SWIG_AsDouble(obj1);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 arg3 = (double) SWIG_AsDouble(obj2);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 if (obj3) {
14224 arg4 = (int) SWIG_AsInt(obj3);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 if (obj4) {
14228 arg5 = (int) SWIG_AsInt(obj4);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 Py_INCREF(Py_None); resultobj = Py_None;
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj;
14247 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14248 wxDC *arg2 = 0 ;
14249 double arg3 ;
14250 double arg4 ;
14251 double arg5 ;
14252 double arg6 ;
14253 PyObject * obj0 = 0 ;
14254 PyObject * obj1 = 0 ;
14255 PyObject * obj2 = 0 ;
14256 PyObject * obj3 = 0 ;
14257 PyObject * obj4 = 0 ;
14258 PyObject * obj5 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14267 SWIG_POINTER_EXCEPTION | 0)) == -1)
14268 SWIG_fail;
14269 if (arg2 == NULL) {
14270 PyErr_SetString(PyExc_TypeError,"null reference");
14271 SWIG_fail;
14272 }
14273 arg3 = (double) SWIG_AsDouble(obj2);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 arg4 = (double) SWIG_AsDouble(obj3);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 arg5 = (double) SWIG_AsDouble(obj4);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 arg6 = (double) SWIG_AsDouble(obj5);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 Py_INCREF(Py_None); resultobj = Py_None;
14289 return resultobj;
14290 fail:
14291 return NULL;
14292 }
14293
14294
14295 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14298 wxDC *arg2 = 0 ;
14299 PyObject * obj0 = 0 ;
14300 PyObject * obj1 = 0 ;
14301 char *kwnames[] = {
14302 (char *) "self",(char *) "dc", NULL
14303 };
14304
14305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14309 SWIG_POINTER_EXCEPTION | 0)) == -1)
14310 SWIG_fail;
14311 if (arg2 == NULL) {
14312 PyErr_SetString(PyExc_TypeError,"null reference");
14313 SWIG_fail;
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->base_OnDrawControlPoints(*arg2);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14332 wxDC *arg2 = 0 ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self",(char *) "dc", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14343 SWIG_POINTER_EXCEPTION | 0)) == -1)
14344 SWIG_fail;
14345 if (arg2 == NULL) {
14346 PyErr_SetString(PyExc_TypeError,"null reference");
14347 SWIG_fail;
14348 }
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 (arg1)->base_OnEraseControlPoints(*arg2);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 Py_INCREF(Py_None); resultobj = Py_None;
14357 return resultobj;
14358 fail:
14359 return NULL;
14360 }
14361
14362
14363 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14366 wxDC *arg2 = 0 ;
14367 bool arg3 = (bool) True ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 PyObject * obj2 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14379 SWIG_POINTER_EXCEPTION | 0)) == -1)
14380 SWIG_fail;
14381 if (arg2 == NULL) {
14382 PyErr_SetString(PyExc_TypeError,"null reference");
14383 SWIG_fail;
14384 }
14385 if (obj2) {
14386 arg3 = (bool) SWIG_AsBool(obj2);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 (arg1)->base_OnMoveLink(*arg2,arg3);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 Py_INCREF(Py_None); resultobj = Py_None;
14397 return resultobj;
14398 fail:
14399 return NULL;
14400 }
14401
14402
14403 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14406 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14407 bool arg3 ;
14408 double arg4 ;
14409 double arg5 ;
14410 int arg6 = (int) 0 ;
14411 int arg7 = (int) 0 ;
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 PyObject * obj2 = 0 ;
14415 PyObject * obj3 = 0 ;
14416 PyObject * obj4 = 0 ;
14417 PyObject * obj5 = 0 ;
14418 PyObject * obj6 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14428 arg3 = (bool) SWIG_AsBool(obj2);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 arg4 = (double) SWIG_AsDouble(obj3);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 arg5 = (double) SWIG_AsDouble(obj4);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 if (obj5) {
14435 arg6 = (int) SWIG_AsInt(obj5);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 if (obj6) {
14439 arg7 = (int) SWIG_AsInt(obj6);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 Py_INCREF(Py_None); resultobj = Py_None;
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14459 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14460 double arg3 ;
14461 double arg4 ;
14462 int arg5 = (int) 0 ;
14463 int arg6 = (int) 0 ;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 PyObject * obj2 = 0 ;
14467 PyObject * obj3 = 0 ;
14468 PyObject * obj4 = 0 ;
14469 PyObject * obj5 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14479 arg3 = (double) SWIG_AsDouble(obj2);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 arg4 = (double) SWIG_AsDouble(obj3);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 if (obj4) {
14484 arg5 = (int) SWIG_AsInt(obj4);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 if (obj5) {
14488 arg6 = (int) SWIG_AsInt(obj5);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 return resultobj;
14500 fail:
14501 return NULL;
14502 }
14503
14504
14505 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj;
14507 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14508 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14509 double arg3 ;
14510 double arg4 ;
14511 int arg5 = (int) 0 ;
14512 int arg6 = (int) 0 ;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj1 = 0 ;
14515 PyObject * obj2 = 0 ;
14516 PyObject * obj3 = 0 ;
14517 PyObject * obj4 = 0 ;
14518 PyObject * obj5 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14528 arg3 = (double) SWIG_AsDouble(obj2);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 arg4 = (double) SWIG_AsDouble(obj3);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 if (obj4) {
14533 arg5 = (int) SWIG_AsInt(obj4);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 if (obj5) {
14537 arg6 = (int) SWIG_AsInt(obj5);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 Py_INCREF(Py_None); resultobj = Py_None;
14548 return resultobj;
14549 fail:
14550 return NULL;
14551 }
14552
14553
14554 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14555 PyObject *resultobj;
14556 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14557 double arg2 ;
14558 double arg3 ;
14559 PyObject * obj0 = 0 ;
14560 PyObject * obj1 = 0 ;
14561 PyObject * obj2 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "self",(char *) "w",(char *) "h", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14569 arg2 = (double) SWIG_AsDouble(obj1);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 arg3 = (double) SWIG_AsDouble(obj2);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 (arg1)->base_OnBeginSize(arg2,arg3);
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 Py_INCREF(Py_None); resultobj = Py_None;
14581 return resultobj;
14582 fail:
14583 return NULL;
14584 }
14585
14586
14587 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14590 double arg2 ;
14591 double arg3 ;
14592 PyObject * obj0 = 0 ;
14593 PyObject * obj1 = 0 ;
14594 PyObject * obj2 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self",(char *) "w",(char *) "h", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14602 arg2 = (double) SWIG_AsDouble(obj1);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 arg3 = (double) SWIG_AsDouble(obj2);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 (arg1)->base_OnEndSize(arg2,arg3);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 Py_INCREF(Py_None); resultobj = Py_None;
14614 return resultobj;
14615 fail:
14616 return NULL;
14617 }
14618
14619
14620 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14621 PyObject *obj;
14622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14624 Py_INCREF(obj);
14625 return Py_BuildValue((char *)"");
14626 }
14627 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxPyDrawnShape *result;
14630 char *kwnames[] = {
14631 NULL
14632 };
14633
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
14643 return resultobj;
14644 fail:
14645 return NULL;
14646 }
14647
14648
14649 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14652 PyObject *arg2 = (PyObject *) 0 ;
14653 PyObject *arg3 = (PyObject *) 0 ;
14654 PyObject * obj0 = 0 ;
14655 PyObject * obj1 = 0 ;
14656 PyObject * obj2 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "self",(char *) "_class", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14664 arg2 = obj1;
14665 arg3 = obj2;
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 (arg1)->_setCallbackInfo(arg2,arg3);
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 Py_INCREF(Py_None); resultobj = Py_None;
14674 return resultobj;
14675 fail:
14676 return NULL;
14677 }
14678
14679
14680 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14683 PyObject * obj0 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 (arg1)->CalculateSize();
14694
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 Py_INCREF(Py_None); resultobj = Py_None;
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 (arg1)->DestroyClippingRect();
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 Py_INCREF(Py_None); resultobj = Py_None;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14733 wxPoint *arg2 = 0 ;
14734 wxPoint *arg3 = 0 ;
14735 wxPoint *arg4 = 0 ;
14736 wxPoint temp2 ;
14737 wxPoint temp3 ;
14738 wxPoint temp4 ;
14739 PyObject * obj0 = 0 ;
14740 PyObject * obj1 = 0 ;
14741 PyObject * obj2 = 0 ;
14742 PyObject * obj3 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14750 {
14751 arg2 = &temp2;
14752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14753 }
14754 {
14755 arg3 = &temp3;
14756 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14757 }
14758 {
14759 arg4 = &temp4;
14760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14761 }
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 Py_INCREF(Py_None); resultobj = Py_None;
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14779 int arg2 ;
14780 PyObject * obj0 = 0 ;
14781 PyObject * obj1 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self",(char *) "angle", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14789 arg2 = (int) SWIG_AsInt(obj1);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 (arg1)->DrawAtAngle(arg2);
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 Py_INCREF(Py_None); resultobj = Py_None;
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14808 wxRect *arg2 = 0 ;
14809 double arg3 ;
14810 double arg4 ;
14811 wxRect temp2 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 PyObject * obj2 = 0 ;
14815 PyObject * obj3 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14823 {
14824 arg2 = &temp2;
14825 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14826 }
14827 arg3 = (double) SWIG_AsDouble(obj2);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 arg4 = (double) SWIG_AsDouble(obj3);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 Py_INCREF(Py_None); resultobj = Py_None;
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj;
14847 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14848 wxPoint *arg2 = 0 ;
14849 wxPoint *arg3 = 0 ;
14850 wxPoint temp2 ;
14851 wxPoint temp3 ;
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "point1",(char *) "point2", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14862 {
14863 arg2 = &temp2;
14864 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14865 }
14866 {
14867 arg3 = &temp3;
14868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14869 }
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 Py_INCREF(Py_None); resultobj = Py_None;
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14887 int arg2 ;
14888 wxPoint *arg3 = (wxPoint *) 0 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 arg2 = (int) SWIG_AsInt(obj1);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
14902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 (arg1)->DrawLines(arg2,arg3);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 Py_INCREF(Py_None); resultobj = Py_None;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14920 wxPoint *arg2 = 0 ;
14921 wxPoint temp2 ;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "point", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14931 {
14932 arg2 = &temp2;
14933 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->DrawPoint((wxPoint const &)*arg2);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14952 int arg2 ;
14953 wxPoint *arg3 = (wxPoint *) 0 ;
14954 int arg4 = (int) 0 ;
14955 PyObject * obj0 = 0 ;
14956 PyObject * obj1 = 0 ;
14957 PyObject * obj2 = 0 ;
14958 PyObject * obj3 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 if (obj3) {
14971 arg4 = (int) SWIG_AsInt(obj3);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 (arg1)->DrawPolygon(arg2,arg3,arg4);
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 Py_INCREF(Py_None); resultobj = Py_None;
14982 return resultobj;
14983 fail:
14984 return NULL;
14985 }
14986
14987
14988 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
14989 PyObject *resultobj;
14990 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14991 wxRect *arg2 = 0 ;
14992 wxRect temp2 ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self",(char *) "rect", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15002 {
15003 arg2 = &temp2;
15004 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15005 }
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 (arg1)->DrawRectangle((wxRect const &)*arg2);
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 Py_INCREF(Py_None); resultobj = Py_None;
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15023 wxRect *arg2 = 0 ;
15024 double arg3 ;
15025 wxRect temp2 ;
15026 PyObject * obj0 = 0 ;
15027 PyObject * obj1 = 0 ;
15028 PyObject * obj2 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self",(char *) "rect",(char *) "radius", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15036 {
15037 arg2 = &temp2;
15038 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15039 }
15040 arg3 = (double) SWIG_AsDouble(obj2);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 return resultobj;
15051 fail:
15052 return NULL;
15053 }
15054
15055
15056 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15059 int arg2 ;
15060 wxPoint *arg3 = (wxPoint *) 0 ;
15061 PyObject * obj0 = 0 ;
15062 PyObject * obj1 = 0 ;
15063 PyObject * obj2 = 0 ;
15064 char *kwnames[] = {
15065 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15066 };
15067
15068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15071 arg2 = (int) SWIG_AsInt(obj1);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 (arg1)->DrawSpline(arg2,arg3);
15078
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
15082 Py_INCREF(Py_None); resultobj = Py_None;
15083 return resultobj;
15084 fail:
15085 return NULL;
15086 }
15087
15088
15089 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15092 wxString *arg2 = 0 ;
15093 wxPoint *arg3 = 0 ;
15094 bool temp2 = False ;
15095 wxPoint temp3 ;
15096 PyObject * obj0 = 0 ;
15097 PyObject * obj1 = 0 ;
15098 PyObject * obj2 = 0 ;
15099 char *kwnames[] = {
15100 (char *) "self",(char *) "text",(char *) "point", NULL
15101 };
15102
15103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15106 {
15107 arg2 = wxString_in_helper(obj1);
15108 if (arg2 == NULL) SWIG_fail;
15109 temp2 = True;
15110 }
15111 {
15112 arg3 = &temp3;
15113 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15114 }
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 {
15124 if (temp2)
15125 delete arg2;
15126 }
15127 return resultobj;
15128 fail:
15129 {
15130 if (temp2)
15131 delete arg2;
15132 }
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15140 int result;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (int)(arg1)->GetAngle();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 resultobj = SWIG_FromInt((int)result);
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15166 wxPseudoMetaFile *result;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 {
15178 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15179 result = (wxPseudoMetaFile *) &_result_ref;
15180 }
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15195 double result;
15196 PyObject * obj0 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (double)(arg1)->GetRotation();
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_FromDouble((double)result);
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15221 wxString *arg2 = 0 ;
15222 bool result;
15223 bool temp2 = False ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self",(char *) "filename", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15233 {
15234 arg2 = wxString_in_helper(obj1);
15235 if (arg2 == NULL) SWIG_fail;
15236 temp2 = True;
15237 }
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15246 {
15247 if (temp2)
15248 delete arg2;
15249 }
15250 return resultobj;
15251 fail:
15252 {
15253 if (temp2)
15254 delete arg2;
15255 }
15256 return NULL;
15257 }
15258
15259
15260 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15263 double arg2 ;
15264 double arg3 ;
15265 double arg4 ;
15266 PyObject * obj0 = 0 ;
15267 PyObject * obj1 = 0 ;
15268 PyObject * obj2 = 0 ;
15269 PyObject * obj3 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15277 arg2 = (double) SWIG_AsDouble(obj1);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 arg3 = (double) SWIG_AsDouble(obj2);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 arg4 = (double) SWIG_AsDouble(obj3);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 (arg1)->Rotate(arg2,arg3,arg4);
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 Py_INCREF(Py_None); resultobj = Py_None;
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15300 wxRect *arg2 = 0 ;
15301 wxRect temp2 ;
15302 PyObject * obj0 = 0 ;
15303 PyObject * obj1 = 0 ;
15304 char *kwnames[] = {
15305 (char *) "self",(char *) "rect", NULL
15306 };
15307
15308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15311 {
15312 arg2 = &temp2;
15313 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15314 }
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 (arg1)->SetClippingRect((wxRect const &)*arg2);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 Py_INCREF(Py_None); resultobj = Py_None;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15332 wxColour *arg2 = 0 ;
15333 wxColour temp2 ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self",(char *) "colour", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15343 {
15344 arg2 = &temp2;
15345 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15346 }
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 Py_INCREF(Py_None); resultobj = Py_None;
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15364 int arg2 ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "mode", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15374 arg2 = (int) SWIG_AsInt(obj1);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->SetDrawnBackgroundMode(arg2);
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 Py_INCREF(Py_None); resultobj = Py_None;
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15393 wxBrush *arg2 = (wxBrush *) 0 ;
15394 bool arg3 = (bool) FALSE ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 PyObject * obj2 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15405 {
15406 wxBrush* temp;
15407 if (obj1) {
15408 if (obj1 == Py_None) {
15409 temp = NULL;
15410 }
15411 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15412 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15413 return NULL;
15414 }
15415 }
15416 if (temp)
15417 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15418 else
15419 arg2 = NULL;
15420 }
15421 if (obj2) {
15422 arg3 = (bool) SWIG_AsBool(obj2);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 (arg1)->SetDrawnBrush(arg2,arg3);
15428
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 Py_INCREF(Py_None); resultobj = Py_None;
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj;
15441 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15442 wxFont *arg2 = (wxFont *) 0 ;
15443 PyObject * obj0 = 0 ;
15444 PyObject * obj1 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self",(char *) "font", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 {
15453 wxFont* temp;
15454 if (obj1) {
15455 if (obj1 == Py_None) {
15456 temp = NULL;
15457 }
15458 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15459 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15460 return NULL;
15461 }
15462 }
15463 if (temp)
15464 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15465 temp->GetFamily(),
15466 temp->GetStyle(),
15467 temp->GetWeight(),
15468 temp->GetUnderlined(),
15469 temp->GetFaceName(),
15470 temp->GetEncoding());
15471 else
15472 arg2 = NULL;
15473 }
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 (arg1)->SetDrawnFont(arg2);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 Py_INCREF(Py_None); resultobj = Py_None;
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15491 wxPen *arg2 = (wxPen *) 0 ;
15492 bool arg3 = (bool) FALSE ;
15493 PyObject * obj0 = 0 ;
15494 PyObject * obj1 = 0 ;
15495 PyObject * obj2 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15503 {
15504 wxPen* temp;
15505 if (obj1) {
15506 if (obj1 == Py_None) {
15507 temp = NULL;
15508 }
15509 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15510 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15511 return NULL;
15512 }
15513 }
15514 if (temp)
15515 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15516 temp->GetWidth(),
15517 temp->GetStyle());
15518 else
15519 arg2 = NULL;
15520 }
15521 if (obj2) {
15522 arg3 = (bool) SWIG_AsBool(obj2);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->SetDrawnPen(arg2,arg3);
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15540 PyObject *resultobj;
15541 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15542 wxColour *arg2 = 0 ;
15543 wxColour temp2 ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self",(char *) "colour", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15553 {
15554 arg2 = &temp2;
15555 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15556 }
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15574 double arg2 ;
15575 double arg3 ;
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 PyObject * obj2 = 0 ;
15579 char *kwnames[] = {
15580 (char *) "self",(char *) "sx",(char *) "sy", NULL
15581 };
15582
15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15586 arg2 = (double) SWIG_AsDouble(obj1);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 arg3 = (double) SWIG_AsDouble(obj2);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 (arg1)->Scale(arg2,arg3);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 Py_INCREF(Py_None); resultobj = Py_None;
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15607 bool arg2 ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self",(char *) "save", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 arg2 = (bool) SWIG_AsBool(obj1);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 (arg1)->SetSaveToFile(arg2);
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 Py_INCREF(Py_None); resultobj = Py_None;
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15636 double arg2 ;
15637 double arg3 ;
15638 PyObject * obj0 = 0 ;
15639 PyObject * obj1 = 0 ;
15640 PyObject * obj2 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self",(char *) "x",(char *) "y", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15648 arg2 = (double) SWIG_AsDouble(obj1);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 arg3 = (double) SWIG_AsDouble(obj2);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 (arg1)->Translate(arg2,arg3);
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 Py_INCREF(Py_None); resultobj = Py_None;
15660 return resultobj;
15661 fail:
15662 return NULL;
15663 }
15664
15665
15666 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj;
15668 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15669 PyObject * obj0 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "self", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 (arg1)->base_OnDelete();
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 Py_INCREF(Py_None); resultobj = Py_None;
15685 return resultobj;
15686 fail:
15687 return NULL;
15688 }
15689
15690
15691 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15694 wxDC *arg2 = 0 ;
15695 PyObject * obj0 = 0 ;
15696 PyObject * obj1 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self",(char *) "dc", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1)
15706 SWIG_fail;
15707 if (arg2 == NULL) {
15708 PyErr_SetString(PyExc_TypeError,"null reference");
15709 SWIG_fail;
15710 }
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->base_OnDraw(*arg2);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15728 wxDC *arg2 = 0 ;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 char *kwnames[] = {
15732 (char *) "self",(char *) "dc", NULL
15733 };
15734
15735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15739 SWIG_POINTER_EXCEPTION | 0)) == -1)
15740 SWIG_fail;
15741 if (arg2 == NULL) {
15742 PyErr_SetString(PyExc_TypeError,"null reference");
15743 SWIG_fail;
15744 }
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 (arg1)->base_OnDrawContents(*arg2);
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 Py_INCREF(Py_None); resultobj = Py_None;
15753 return resultobj;
15754 fail:
15755 return NULL;
15756 }
15757
15758
15759 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15762 wxDC *arg2 = 0 ;
15763 bool arg3 = (bool) FALSE ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 PyObject * obj2 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "dc",(char *) "erase", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15775 SWIG_POINTER_EXCEPTION | 0)) == -1)
15776 SWIG_fail;
15777 if (arg2 == NULL) {
15778 PyErr_SetString(PyExc_TypeError,"null reference");
15779 SWIG_fail;
15780 }
15781 if (obj2) {
15782 arg3 = (bool) SWIG_AsBool(obj2);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 (arg1)->base_OnDrawBranches(*arg2,arg3);
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 Py_INCREF(Py_None); resultobj = Py_None;
15793 return resultobj;
15794 fail:
15795 return NULL;
15796 }
15797
15798
15799 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15802 wxDC *arg2 = 0 ;
15803 PyObject * obj0 = 0 ;
15804 PyObject * obj1 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "self",(char *) "dc", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15813 SWIG_POINTER_EXCEPTION | 0)) == -1)
15814 SWIG_fail;
15815 if (arg2 == NULL) {
15816 PyErr_SetString(PyExc_TypeError,"null reference");
15817 SWIG_fail;
15818 }
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 (arg1)->base_OnMoveLinks(*arg2);
15822
15823 wxPyEndAllowThreads(__tstate);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 Py_INCREF(Py_None); resultobj = Py_None;
15827 return resultobj;
15828 fail:
15829 return NULL;
15830 }
15831
15832
15833 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15836 wxDC *arg2 = 0 ;
15837 PyObject * obj0 = 0 ;
15838 PyObject * obj1 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "dc", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15847 SWIG_POINTER_EXCEPTION | 0)) == -1)
15848 SWIG_fail;
15849 if (arg2 == NULL) {
15850 PyErr_SetString(PyExc_TypeError,"null reference");
15851 SWIG_fail;
15852 }
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 (arg1)->base_OnErase(*arg2);
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 Py_INCREF(Py_None); resultobj = Py_None;
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15870 wxDC *arg2 = 0 ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self",(char *) "dc", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15881 SWIG_POINTER_EXCEPTION | 0)) == -1)
15882 SWIG_fail;
15883 if (arg2 == NULL) {
15884 PyErr_SetString(PyExc_TypeError,"null reference");
15885 SWIG_fail;
15886 }
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->base_OnEraseContents(*arg2);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15904 wxDC *arg2 = 0 ;
15905 PyObject * obj0 = 0 ;
15906 PyObject * obj1 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "dc", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1)
15916 SWIG_fail;
15917 if (arg2 == NULL) {
15918 PyErr_SetString(PyExc_TypeError,"null reference");
15919 SWIG_fail;
15920 }
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 (arg1)->base_OnHighlight(*arg2);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15938 double arg2 ;
15939 double arg3 ;
15940 int arg4 = (int) 0 ;
15941 int arg5 = (int) 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 PyObject * obj2 = 0 ;
15945 PyObject * obj3 = 0 ;
15946 PyObject * obj4 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15954 arg2 = (double) SWIG_AsDouble(obj1);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 arg3 = (double) SWIG_AsDouble(obj2);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 if (obj3) {
15959 arg4 = (int) SWIG_AsInt(obj3);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 if (obj4) {
15963 arg5 = (int) SWIG_AsInt(obj4);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 Py_INCREF(Py_None); resultobj = Py_None;
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj;
15982 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15983 double arg2 ;
15984 double arg3 ;
15985 int arg4 = (int) 0 ;
15986 int arg5 = (int) 0 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 PyObject * obj2 = 0 ;
15990 PyObject * obj3 = 0 ;
15991 PyObject * obj4 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 arg2 = (double) SWIG_AsDouble(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 arg3 = (double) SWIG_AsDouble(obj2);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 if (obj3) {
16004 arg4 = (int) SWIG_AsInt(obj3);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 if (obj4) {
16008 arg5 = (int) SWIG_AsInt(obj4);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16028 double arg2 ;
16029 double arg3 ;
16030 int arg4 = (int) 0 ;
16031 int arg5 = (int) 0 ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 PyObject * obj2 = 0 ;
16035 PyObject * obj3 = 0 ;
16036 PyObject * obj4 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16044 arg2 = (double) SWIG_AsDouble(obj1);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 arg3 = (double) SWIG_AsDouble(obj2);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 if (obj3) {
16049 arg4 = (int) SWIG_AsInt(obj3);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 if (obj4) {
16053 arg5 = (int) SWIG_AsInt(obj4);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 Py_INCREF(Py_None); resultobj = Py_None;
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16073 double arg2 ;
16074 double arg3 ;
16075 PyObject * obj0 = 0 ;
16076 PyObject * obj1 = 0 ;
16077 PyObject * obj2 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self",(char *) "x",(char *) "y", NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16085 arg2 = (double) SWIG_AsDouble(obj1);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 arg3 = (double) SWIG_AsDouble(obj2);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->base_OnSize(arg2,arg3);
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16106 wxDC *arg2 = 0 ;
16107 double arg3 ;
16108 double arg4 ;
16109 double arg5 ;
16110 double arg6 ;
16111 bool arg7 = (bool) True ;
16112 bool result;
16113 PyObject * obj0 = 0 ;
16114 PyObject * obj1 = 0 ;
16115 PyObject * obj2 = 0 ;
16116 PyObject * obj3 = 0 ;
16117 PyObject * obj4 = 0 ;
16118 PyObject * obj5 = 0 ;
16119 PyObject * obj6 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1)
16129 SWIG_fail;
16130 if (arg2 == NULL) {
16131 PyErr_SetString(PyExc_TypeError,"null reference");
16132 SWIG_fail;
16133 }
16134 arg3 = (double) SWIG_AsDouble(obj2);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 arg4 = (double) SWIG_AsDouble(obj3);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 arg5 = (double) SWIG_AsDouble(obj4);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 arg6 = (double) SWIG_AsDouble(obj5);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 if (obj6) {
16143 arg7 = (bool) SWIG_AsBool(obj6);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16163 wxDC *arg2 = 0 ;
16164 double arg3 ;
16165 double arg4 ;
16166 double arg5 ;
16167 double arg6 ;
16168 bool arg7 = (bool) True ;
16169 PyObject * obj0 = 0 ;
16170 PyObject * obj1 = 0 ;
16171 PyObject * obj2 = 0 ;
16172 PyObject * obj3 = 0 ;
16173 PyObject * obj4 = 0 ;
16174 PyObject * obj5 = 0 ;
16175 PyObject * obj6 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16184 SWIG_POINTER_EXCEPTION | 0)) == -1)
16185 SWIG_fail;
16186 if (arg2 == NULL) {
16187 PyErr_SetString(PyExc_TypeError,"null reference");
16188 SWIG_fail;
16189 }
16190 arg3 = (double) SWIG_AsDouble(obj2);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 arg4 = (double) SWIG_AsDouble(obj3);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 arg5 = (double) SWIG_AsDouble(obj4);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 arg6 = (double) SWIG_AsDouble(obj5);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 if (obj6) {
16199 arg7 = (bool) SWIG_AsBool(obj6);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 Py_INCREF(Py_None); resultobj = Py_None;
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16219 bool arg2 ;
16220 double arg3 ;
16221 double arg4 ;
16222 int arg5 = (int) 0 ;
16223 int arg6 = (int) 0 ;
16224 PyObject * obj0 = 0 ;
16225 PyObject * obj1 = 0 ;
16226 PyObject * obj2 = 0 ;
16227 PyObject * obj3 = 0 ;
16228 PyObject * obj4 = 0 ;
16229 PyObject * obj5 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16237 arg2 = (bool) SWIG_AsBool(obj1);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 arg3 = (double) SWIG_AsDouble(obj2);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 arg4 = (double) SWIG_AsDouble(obj3);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 if (obj4) {
16244 arg5 = (int) SWIG_AsInt(obj4);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 if (obj5) {
16248 arg6 = (int) SWIG_AsInt(obj5);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 Py_INCREF(Py_None); resultobj = Py_None;
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16268 double arg2 ;
16269 double arg3 ;
16270 int arg4 = (int) 0 ;
16271 int arg5 = (int) 0 ;
16272 PyObject * obj0 = 0 ;
16273 PyObject * obj1 = 0 ;
16274 PyObject * obj2 = 0 ;
16275 PyObject * obj3 = 0 ;
16276 PyObject * obj4 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 arg2 = (double) SWIG_AsDouble(obj1);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 arg3 = (double) SWIG_AsDouble(obj2);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 if (obj3) {
16289 arg4 = (int) SWIG_AsInt(obj3);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 if (obj4) {
16293 arg5 = (int) SWIG_AsInt(obj4);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 Py_INCREF(Py_None); resultobj = Py_None;
16304 return resultobj;
16305 fail:
16306 return NULL;
16307 }
16308
16309
16310 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16313 double arg2 ;
16314 double arg3 ;
16315 int arg4 = (int) 0 ;
16316 int arg5 = (int) 0 ;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 PyObject * obj2 = 0 ;
16320 PyObject * obj3 = 0 ;
16321 PyObject * obj4 = 0 ;
16322 char *kwnames[] = {
16323 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16324 };
16325
16326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16329 arg2 = (double) SWIG_AsDouble(obj1);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 arg3 = (double) SWIG_AsDouble(obj2);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 if (obj3) {
16334 arg4 = (int) SWIG_AsInt(obj3);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 if (obj4) {
16338 arg5 = (int) SWIG_AsInt(obj4);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16358 bool arg2 ;
16359 double arg3 ;
16360 double arg4 ;
16361 int arg5 = (int) 0 ;
16362 int arg6 = (int) 0 ;
16363 PyObject * obj0 = 0 ;
16364 PyObject * obj1 = 0 ;
16365 PyObject * obj2 = 0 ;
16366 PyObject * obj3 = 0 ;
16367 PyObject * obj4 = 0 ;
16368 PyObject * obj5 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 arg2 = (bool) SWIG_AsBool(obj1);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 arg3 = (double) SWIG_AsDouble(obj2);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 arg4 = (double) SWIG_AsDouble(obj3);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 if (obj4) {
16383 arg5 = (int) SWIG_AsInt(obj4);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 if (obj5) {
16387 arg6 = (int) SWIG_AsInt(obj5);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 Py_INCREF(Py_None); resultobj = Py_None;
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16407 double arg2 ;
16408 double arg3 ;
16409 int arg4 = (int) 0 ;
16410 int arg5 = (int) 0 ;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 PyObject * obj2 = 0 ;
16414 PyObject * obj3 = 0 ;
16415 PyObject * obj4 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16423 arg2 = (double) SWIG_AsDouble(obj1);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 arg3 = (double) SWIG_AsDouble(obj2);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 if (obj3) {
16428 arg4 = (int) SWIG_AsInt(obj3);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 if (obj4) {
16432 arg5 = (int) SWIG_AsInt(obj4);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 Py_INCREF(Py_None); resultobj = Py_None;
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16452 double arg2 ;
16453 double arg3 ;
16454 int arg4 = (int) 0 ;
16455 int arg5 = (int) 0 ;
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 PyObject * obj2 = 0 ;
16459 PyObject * obj3 = 0 ;
16460 PyObject * obj4 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16468 arg2 = (double) SWIG_AsDouble(obj1);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 arg3 = (double) SWIG_AsDouble(obj2);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 if (obj3) {
16473 arg4 = (int) SWIG_AsInt(obj3);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 if (obj4) {
16477 arg5 = (int) SWIG_AsInt(obj4);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 Py_INCREF(Py_None); resultobj = Py_None;
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16497 wxDC *arg2 = 0 ;
16498 double arg3 ;
16499 double arg4 ;
16500 double arg5 ;
16501 double arg6 ;
16502 PyObject * obj0 = 0 ;
16503 PyObject * obj1 = 0 ;
16504 PyObject * obj2 = 0 ;
16505 PyObject * obj3 = 0 ;
16506 PyObject * obj4 = 0 ;
16507 PyObject * obj5 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16516 SWIG_POINTER_EXCEPTION | 0)) == -1)
16517 SWIG_fail;
16518 if (arg2 == NULL) {
16519 PyErr_SetString(PyExc_TypeError,"null reference");
16520 SWIG_fail;
16521 }
16522 arg3 = (double) SWIG_AsDouble(obj2);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 arg4 = (double) SWIG_AsDouble(obj3);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 arg5 = (double) SWIG_AsDouble(obj4);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 arg6 = (double) SWIG_AsDouble(obj5);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 Py_INCREF(Py_None); resultobj = Py_None;
16538 return resultobj;
16539 fail:
16540 return NULL;
16541 }
16542
16543
16544 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16547 wxDC *arg2 = 0 ;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "dc", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1)
16559 SWIG_fail;
16560 if (arg2 == NULL) {
16561 PyErr_SetString(PyExc_TypeError,"null reference");
16562 SWIG_fail;
16563 }
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 (arg1)->base_OnDrawControlPoints(*arg2);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16581 wxDC *arg2 = 0 ;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "dc", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1)
16593 SWIG_fail;
16594 if (arg2 == NULL) {
16595 PyErr_SetString(PyExc_TypeError,"null reference");
16596 SWIG_fail;
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 (arg1)->base_OnEraseControlPoints(*arg2);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609 }
16610
16611
16612 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16615 wxDC *arg2 = 0 ;
16616 bool arg3 = (bool) True ;
16617 PyObject * obj0 = 0 ;
16618 PyObject * obj1 = 0 ;
16619 PyObject * obj2 = 0 ;
16620 char *kwnames[] = {
16621 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16622 };
16623
16624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1)
16629 SWIG_fail;
16630 if (arg2 == NULL) {
16631 PyErr_SetString(PyExc_TypeError,"null reference");
16632 SWIG_fail;
16633 }
16634 if (obj2) {
16635 arg3 = (bool) SWIG_AsBool(obj2);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 (arg1)->base_OnMoveLink(*arg2,arg3);
16641
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 Py_INCREF(Py_None); resultobj = Py_None;
16646 return resultobj;
16647 fail:
16648 return NULL;
16649 }
16650
16651
16652 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16655 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16656 bool arg3 ;
16657 double arg4 ;
16658 double arg5 ;
16659 int arg6 = (int) 0 ;
16660 int arg7 = (int) 0 ;
16661 PyObject * obj0 = 0 ;
16662 PyObject * obj1 = 0 ;
16663 PyObject * obj2 = 0 ;
16664 PyObject * obj3 = 0 ;
16665 PyObject * obj4 = 0 ;
16666 PyObject * obj5 = 0 ;
16667 PyObject * obj6 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16677 arg3 = (bool) SWIG_AsBool(obj2);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 arg4 = (double) SWIG_AsDouble(obj3);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 arg5 = (double) SWIG_AsDouble(obj4);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 if (obj5) {
16684 arg6 = (int) SWIG_AsInt(obj5);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 if (obj6) {
16688 arg7 = (int) SWIG_AsInt(obj6);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 Py_INCREF(Py_None); resultobj = Py_None;
16699 return resultobj;
16700 fail:
16701 return NULL;
16702 }
16703
16704
16705 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16708 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16709 double arg3 ;
16710 double arg4 ;
16711 int arg5 = (int) 0 ;
16712 int arg6 = (int) 0 ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 arg3 = (double) SWIG_AsDouble(obj2);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 arg4 = (double) SWIG_AsDouble(obj3);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 if (obj4) {
16733 arg5 = (int) SWIG_AsInt(obj4);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 if (obj5) {
16737 arg6 = (int) SWIG_AsInt(obj5);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 Py_INCREF(Py_None); resultobj = Py_None;
16748 return resultobj;
16749 fail:
16750 return NULL;
16751 }
16752
16753
16754 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16757 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16758 double arg3 ;
16759 double arg4 ;
16760 int arg5 = (int) 0 ;
16761 int arg6 = (int) 0 ;
16762 PyObject * obj0 = 0 ;
16763 PyObject * obj1 = 0 ;
16764 PyObject * obj2 = 0 ;
16765 PyObject * obj3 = 0 ;
16766 PyObject * obj4 = 0 ;
16767 PyObject * obj5 = 0 ;
16768 char *kwnames[] = {
16769 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16770 };
16771
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16777 arg3 = (double) SWIG_AsDouble(obj2);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 arg4 = (double) SWIG_AsDouble(obj3);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 if (obj4) {
16782 arg5 = (int) SWIG_AsInt(obj4);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 if (obj5) {
16786 arg6 = (int) SWIG_AsInt(obj5);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 Py_INCREF(Py_None); resultobj = Py_None;
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16806 double arg2 ;
16807 double arg3 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 PyObject * obj2 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self",(char *) "w",(char *) "h", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16818 arg2 = (double) SWIG_AsDouble(obj1);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 arg3 = (double) SWIG_AsDouble(obj2);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 (arg1)->base_OnBeginSize(arg2,arg3);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 Py_INCREF(Py_None); resultobj = Py_None;
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16839 double arg2 ;
16840 double arg3 ;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
16843 PyObject * obj2 = 0 ;
16844 char *kwnames[] = {
16845 (char *) "self",(char *) "w",(char *) "h", NULL
16846 };
16847
16848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16851 arg2 = (double) SWIG_AsDouble(obj1);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 arg3 = (double) SWIG_AsDouble(obj2);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 (arg1)->base_OnEndSize(arg2,arg3);
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 Py_INCREF(Py_None); resultobj = Py_None;
16863 return resultobj;
16864 fail:
16865 return NULL;
16866 }
16867
16868
16869 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
16870 PyObject *obj;
16871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
16873 Py_INCREF(obj);
16874 return Py_BuildValue((char *)"");
16875 }
16876 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 int arg1 ;
16879 wxPyShape *arg2 = (wxPyShape *) 0 ;
16880 PyObject *arg3 = (PyObject *) 0 ;
16881 wxOGLConstraint *result;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 PyObject * obj2 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
16890 arg1 = (int) SWIG_AsInt(obj0);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
16893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16894 arg3 = obj2;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 {
16903 resultobj = wxPyMake_wxObject(result);
16904 }
16905 return resultobj;
16906 fail:
16907 return NULL;
16908 }
16909
16910
16911 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16914 bool result;
16915 PyObject * obj0 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "self", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
16921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 result = (bool)(arg1)->Evaluate();
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16931 return resultobj;
16932 fail:
16933 return NULL;
16934 }
16935
16936
16937 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16940 double arg2 ;
16941 double arg3 ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 PyObject * obj2 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self",(char *) "x",(char *) "y", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
16950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16952 arg2 = (double) SWIG_AsDouble(obj1);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 arg3 = (double) SWIG_AsDouble(obj2);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 (arg1)->SetSpacing(arg2,arg3);
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 Py_INCREF(Py_None); resultobj = Py_None;
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16973 double arg2 ;
16974 double arg3 ;
16975 bool result;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 PyObject * obj2 = 0 ;
16979 char *kwnames[] = {
16980 (char *) "self",(char *) "a",(char *) "b", NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
16984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16986 arg2 = (double) SWIG_AsDouble(obj1);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 arg3 = (double) SWIG_AsDouble(obj2);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 result = (bool)(arg1)->Equals(arg2,arg3);
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16998 return resultobj;
16999 fail:
17000 return NULL;
17001 }
17002
17003
17004 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17005 PyObject *obj;
17006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17007 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17008 Py_INCREF(obj);
17009 return Py_BuildValue((char *)"");
17010 }
17011 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxPyCompositeShape *result;
17014 char *kwnames[] = {
17015 NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
17027 return resultobj;
17028 fail:
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17036 PyObject *arg2 = (PyObject *) 0 ;
17037 PyObject *arg3 = (PyObject *) 0 ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 PyObject * obj2 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "self",(char *) "_class", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 arg2 = obj1;
17049 arg3 = obj2;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 (arg1)->_setCallbackInfo(arg2,arg3);
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 Py_INCREF(Py_None); resultobj = Py_None;
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17067 wxPyShape *arg2 = (wxPyShape *) 0 ;
17068 wxPyShape *arg3 = (wxPyShape *) NULL ;
17069 PyObject * obj0 = 0 ;
17070 PyObject * obj1 = 0 ;
17071 PyObject * obj2 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17081 if (obj2) {
17082 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17084 }
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 (arg1)->AddChild(arg2,arg3);
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 Py_INCREF(Py_None); resultobj = Py_None;
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17102 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17103 wxOGLConstraint *result;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self",(char *) "constraint", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 {
17123 resultobj = wxPyMake_wxObject(result);
17124 }
17125 return resultobj;
17126 fail:
17127 return NULL;
17128 }
17129
17130
17131 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17132 PyObject *resultobj;
17133 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17134 int arg2 ;
17135 wxPyShape *arg3 = (wxPyShape *) 0 ;
17136 PyObject *arg4 = (PyObject *) 0 ;
17137 wxOGLConstraint *result;
17138 PyObject * obj0 = 0 ;
17139 PyObject * obj1 = 0 ;
17140 PyObject * obj2 = 0 ;
17141 PyObject * obj3 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17149 arg2 = (int) SWIG_AsInt(obj1);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17153 arg4 = obj3;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 {
17162 resultobj = wxPyMake_wxObject(result);
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17173 int arg2 ;
17174 wxPyShape *arg3 = (wxPyShape *) 0 ;
17175 wxPyShape *arg4 = (wxPyShape *) 0 ;
17176 wxOGLConstraint *result;
17177 PyObject * obj0 = 0 ;
17178 PyObject * obj1 = 0 ;
17179 PyObject * obj2 = 0 ;
17180 PyObject * obj3 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17188 arg2 = (int) SWIG_AsInt(obj1);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17192 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 {
17202 resultobj = wxPyMake_wxObject(result);
17203 }
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->CalculateSize();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17238 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17239 bool result;
17240 PyObject * obj0 = 0 ;
17241 PyObject * obj1 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "division", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 result = (bool)(arg1)->ContainsDivision(arg2);
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17259 return resultobj;
17260 fail:
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17268 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17269 PyObject * obj0 = 0 ;
17270 PyObject * obj1 = 0 ;
17271 char *kwnames[] = {
17272 (char *) "self",(char *) "constraint", NULL
17273 };
17274
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->DeleteConstraint(arg2);
17283
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 Py_INCREF(Py_None); resultobj = Py_None;
17288 return resultobj;
17289 fail:
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17297 wxPyShape *arg2 = (wxPyShape *) 0 ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "child", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 Py_INCREF(Py_None); resultobj = Py_None;
17317 return resultobj;
17318 fail:
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17326 wxPyShape *result;
17327 PyObject * obj0 = 0 ;
17328 char *kwnames[] = {
17329 (char *) "self", NULL
17330 };
17331
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = (wxPyShape *)(arg1)->FindContainerImage();
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 {
17343 resultobj = wxPyMake_wxShapeEvtHandler(result);
17344 }
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17354 PyObject *result;
17355 PyObject * obj0 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 resultobj = result;
17371 return resultobj;
17372 fail:
17373 return NULL;
17374 }
17375
17376
17377 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17378 PyObject *resultobj;
17379 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17380 PyObject *result;
17381 PyObject * obj0 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = result;
17397 return resultobj;
17398 fail:
17399 return NULL;
17400 }
17401
17402
17403 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17406 PyObject * obj0 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 (arg1)->MakeContainer();
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 Py_INCREF(Py_None); resultobj = Py_None;
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17431 bool result;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",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 = (bool)(arg1)->Recompute();
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17457 wxPyShape *arg2 = (wxPyShape *) 0 ;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "child", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->RemoveChild(arg2);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17486 PyObject * obj0 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 (arg1)->base_OnDelete();
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 Py_INCREF(Py_None); resultobj = Py_None;
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17511 wxDC *arg2 = 0 ;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self",(char *) "dc", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1)
17523 SWIG_fail;
17524 if (arg2 == NULL) {
17525 PyErr_SetString(PyExc_TypeError,"null reference");
17526 SWIG_fail;
17527 }
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 (arg1)->base_OnDraw(*arg2);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 Py_INCREF(Py_None); resultobj = Py_None;
17536 return resultobj;
17537 fail:
17538 return NULL;
17539 }
17540
17541
17542 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17545 wxDC *arg2 = 0 ;
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj1 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "dc", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17556 SWIG_POINTER_EXCEPTION | 0)) == -1)
17557 SWIG_fail;
17558 if (arg2 == NULL) {
17559 PyErr_SetString(PyExc_TypeError,"null reference");
17560 SWIG_fail;
17561 }
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 (arg1)->base_OnDrawContents(*arg2);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 Py_INCREF(Py_None); resultobj = Py_None;
17570 return resultobj;
17571 fail:
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17579 wxDC *arg2 = 0 ;
17580 bool arg3 = (bool) FALSE ;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 PyObject * obj2 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "dc",(char *) "erase", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1)
17593 SWIG_fail;
17594 if (arg2 == NULL) {
17595 PyErr_SetString(PyExc_TypeError,"null reference");
17596 SWIG_fail;
17597 }
17598 if (obj2) {
17599 arg3 = (bool) SWIG_AsBool(obj2);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->base_OnDrawBranches(*arg2,arg3);
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17619 wxDC *arg2 = 0 ;
17620 PyObject * obj0 = 0 ;
17621 PyObject * obj1 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self",(char *) "dc", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1)
17631 SWIG_fail;
17632 if (arg2 == NULL) {
17633 PyErr_SetString(PyExc_TypeError,"null reference");
17634 SWIG_fail;
17635 }
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 (arg1)->base_OnMoveLinks(*arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17653 wxDC *arg2 = 0 ;
17654 PyObject * obj0 = 0 ;
17655 PyObject * obj1 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "dc", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17664 SWIG_POINTER_EXCEPTION | 0)) == -1)
17665 SWIG_fail;
17666 if (arg2 == NULL) {
17667 PyErr_SetString(PyExc_TypeError,"null reference");
17668 SWIG_fail;
17669 }
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 (arg1)->base_OnErase(*arg2);
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 Py_INCREF(Py_None); resultobj = Py_None;
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj;
17686 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17687 wxDC *arg2 = 0 ;
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self",(char *) "dc", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17698 SWIG_POINTER_EXCEPTION | 0)) == -1)
17699 SWIG_fail;
17700 if (arg2 == NULL) {
17701 PyErr_SetString(PyExc_TypeError,"null reference");
17702 SWIG_fail;
17703 }
17704 {
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 (arg1)->base_OnEraseContents(*arg2);
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 Py_INCREF(Py_None); resultobj = Py_None;
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17721 wxDC *arg2 = 0 ;
17722 PyObject * obj0 = 0 ;
17723 PyObject * obj1 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self",(char *) "dc", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17732 SWIG_POINTER_EXCEPTION | 0)) == -1)
17733 SWIG_fail;
17734 if (arg2 == NULL) {
17735 PyErr_SetString(PyExc_TypeError,"null reference");
17736 SWIG_fail;
17737 }
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 (arg1)->base_OnHighlight(*arg2);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 Py_INCREF(Py_None); resultobj = Py_None;
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17753 PyObject *resultobj;
17754 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17755 double arg2 ;
17756 double arg3 ;
17757 int arg4 = (int) 0 ;
17758 int arg5 = (int) 0 ;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 PyObject * obj2 = 0 ;
17762 PyObject * obj3 = 0 ;
17763 PyObject * obj4 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17771 arg2 = (double) SWIG_AsDouble(obj1);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 arg3 = (double) SWIG_AsDouble(obj2);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 if (obj3) {
17776 arg4 = (int) SWIG_AsInt(obj3);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 if (obj4) {
17780 arg5 = (int) SWIG_AsInt(obj4);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
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_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17800 double arg2 ;
17801 double arg3 ;
17802 int arg4 = (int) 0 ;
17803 int arg5 = (int) 0 ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
17807 PyObject * obj3 = 0 ;
17808 PyObject * obj4 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17816 arg2 = (double) SWIG_AsDouble(obj1);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 arg3 = (double) SWIG_AsDouble(obj2);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 if (obj3) {
17821 arg4 = (int) SWIG_AsInt(obj3);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 if (obj4) {
17825 arg5 = (int) SWIG_AsInt(obj4);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 Py_INCREF(Py_None); resultobj = Py_None;
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17845 double arg2 ;
17846 double arg3 ;
17847 int arg4 = (int) 0 ;
17848 int arg5 = (int) 0 ;
17849 PyObject * obj0 = 0 ;
17850 PyObject * obj1 = 0 ;
17851 PyObject * obj2 = 0 ;
17852 PyObject * obj3 = 0 ;
17853 PyObject * obj4 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17861 arg2 = (double) SWIG_AsDouble(obj1);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 arg3 = (double) SWIG_AsDouble(obj2);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 if (obj3) {
17866 arg4 = (int) SWIG_AsInt(obj3);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 if (obj4) {
17870 arg5 = (int) SWIG_AsInt(obj4);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 Py_INCREF(Py_None); resultobj = Py_None;
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17890 double arg2 ;
17891 double arg3 ;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 PyObject * obj2 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "x",(char *) "y", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17902 arg2 = (double) SWIG_AsDouble(obj1);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 arg3 = (double) SWIG_AsDouble(obj2);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 (arg1)->base_OnSize(arg2,arg3);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 Py_INCREF(Py_None); resultobj = Py_None;
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17921 PyObject *resultobj;
17922 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17923 wxDC *arg2 = 0 ;
17924 double arg3 ;
17925 double arg4 ;
17926 double arg5 ;
17927 double arg6 ;
17928 bool arg7 = (bool) True ;
17929 bool result;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 PyObject * obj2 = 0 ;
17933 PyObject * obj3 = 0 ;
17934 PyObject * obj4 = 0 ;
17935 PyObject * obj5 = 0 ;
17936 PyObject * obj6 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17945 SWIG_POINTER_EXCEPTION | 0)) == -1)
17946 SWIG_fail;
17947 if (arg2 == NULL) {
17948 PyErr_SetString(PyExc_TypeError,"null reference");
17949 SWIG_fail;
17950 }
17951 arg3 = (double) SWIG_AsDouble(obj2);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 arg4 = (double) SWIG_AsDouble(obj3);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 arg5 = (double) SWIG_AsDouble(obj4);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 arg6 = (double) SWIG_AsDouble(obj5);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 if (obj6) {
17960 arg7 = (bool) SWIG_AsBool(obj6);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17980 wxDC *arg2 = 0 ;
17981 double arg3 ;
17982 double arg4 ;
17983 double arg5 ;
17984 double arg6 ;
17985 bool arg7 = (bool) True ;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 PyObject * obj2 = 0 ;
17989 PyObject * obj3 = 0 ;
17990 PyObject * obj4 = 0 ;
17991 PyObject * obj5 = 0 ;
17992 PyObject * obj6 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18001 SWIG_POINTER_EXCEPTION | 0)) == -1)
18002 SWIG_fail;
18003 if (arg2 == NULL) {
18004 PyErr_SetString(PyExc_TypeError,"null reference");
18005 SWIG_fail;
18006 }
18007 arg3 = (double) SWIG_AsDouble(obj2);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 arg4 = (double) SWIG_AsDouble(obj3);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 arg5 = (double) SWIG_AsDouble(obj4);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 arg6 = (double) SWIG_AsDouble(obj5);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 if (obj6) {
18016 arg7 = (bool) SWIG_AsBool(obj6);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 Py_INCREF(Py_None); resultobj = Py_None;
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18036 bool arg2 ;
18037 double arg3 ;
18038 double arg4 ;
18039 int arg5 = (int) 0 ;
18040 int arg6 = (int) 0 ;
18041 PyObject * obj0 = 0 ;
18042 PyObject * obj1 = 0 ;
18043 PyObject * obj2 = 0 ;
18044 PyObject * obj3 = 0 ;
18045 PyObject * obj4 = 0 ;
18046 PyObject * obj5 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18054 arg2 = (bool) SWIG_AsBool(obj1);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 arg3 = (double) SWIG_AsDouble(obj2);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 arg4 = (double) SWIG_AsDouble(obj3);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 if (obj4) {
18061 arg5 = (int) SWIG_AsInt(obj4);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 if (obj5) {
18065 arg6 = (int) SWIG_AsInt(obj5);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 Py_INCREF(Py_None); resultobj = Py_None;
18076 return resultobj;
18077 fail:
18078 return NULL;
18079 }
18080
18081
18082 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18083 PyObject *resultobj;
18084 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18085 double arg2 ;
18086 double arg3 ;
18087 int arg4 = (int) 0 ;
18088 int arg5 = (int) 0 ;
18089 PyObject * obj0 = 0 ;
18090 PyObject * obj1 = 0 ;
18091 PyObject * obj2 = 0 ;
18092 PyObject * obj3 = 0 ;
18093 PyObject * obj4 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18101 arg2 = (double) SWIG_AsDouble(obj1);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 arg3 = (double) SWIG_AsDouble(obj2);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 if (obj3) {
18106 arg4 = (int) SWIG_AsInt(obj3);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 if (obj4) {
18110 arg5 = (int) SWIG_AsInt(obj4);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 Py_INCREF(Py_None); resultobj = Py_None;
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18130 double arg2 ;
18131 double arg3 ;
18132 int arg4 = (int) 0 ;
18133 int arg5 = (int) 0 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 PyObject * obj2 = 0 ;
18137 PyObject * obj3 = 0 ;
18138 PyObject * obj4 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18146 arg2 = (double) SWIG_AsDouble(obj1);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 arg3 = (double) SWIG_AsDouble(obj2);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 if (obj3) {
18151 arg4 = (int) SWIG_AsInt(obj3);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 if (obj4) {
18155 arg5 = (int) SWIG_AsInt(obj4);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 Py_INCREF(Py_None); resultobj = Py_None;
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18175 bool arg2 ;
18176 double arg3 ;
18177 double arg4 ;
18178 int arg5 = (int) 0 ;
18179 int arg6 = (int) 0 ;
18180 PyObject * obj0 = 0 ;
18181 PyObject * obj1 = 0 ;
18182 PyObject * obj2 = 0 ;
18183 PyObject * obj3 = 0 ;
18184 PyObject * obj4 = 0 ;
18185 PyObject * obj5 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18193 arg2 = (bool) SWIG_AsBool(obj1);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 arg3 = (double) SWIG_AsDouble(obj2);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 arg4 = (double) SWIG_AsDouble(obj3);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 if (obj4) {
18200 arg5 = (int) SWIG_AsInt(obj4);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 }
18203 if (obj5) {
18204 arg6 = (int) SWIG_AsInt(obj5);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 Py_INCREF(Py_None); resultobj = Py_None;
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18224 double arg2 ;
18225 double arg3 ;
18226 int arg4 = (int) 0 ;
18227 int arg5 = (int) 0 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 PyObject * obj2 = 0 ;
18231 PyObject * obj3 = 0 ;
18232 PyObject * obj4 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18240 arg2 = (double) SWIG_AsDouble(obj1);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 arg3 = (double) SWIG_AsDouble(obj2);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 if (obj3) {
18245 arg4 = (int) SWIG_AsInt(obj3);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 if (obj4) {
18249 arg5 = (int) SWIG_AsInt(obj4);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 Py_INCREF(Py_None); resultobj = Py_None;
18260 return resultobj;
18261 fail:
18262 return NULL;
18263 }
18264
18265
18266 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj;
18268 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18269 double arg2 ;
18270 double arg3 ;
18271 int arg4 = (int) 0 ;
18272 int arg5 = (int) 0 ;
18273 PyObject * obj0 = 0 ;
18274 PyObject * obj1 = 0 ;
18275 PyObject * obj2 = 0 ;
18276 PyObject * obj3 = 0 ;
18277 PyObject * obj4 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18285 arg2 = (double) SWIG_AsDouble(obj1);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 arg3 = (double) SWIG_AsDouble(obj2);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 if (obj3) {
18290 arg4 = (int) SWIG_AsInt(obj3);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 if (obj4) {
18294 arg5 = (int) SWIG_AsInt(obj4);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18314 wxDC *arg2 = 0 ;
18315 double arg3 ;
18316 double arg4 ;
18317 double arg5 ;
18318 double arg6 ;
18319 PyObject * obj0 = 0 ;
18320 PyObject * obj1 = 0 ;
18321 PyObject * obj2 = 0 ;
18322 PyObject * obj3 = 0 ;
18323 PyObject * obj4 = 0 ;
18324 PyObject * obj5 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18333 SWIG_POINTER_EXCEPTION | 0)) == -1)
18334 SWIG_fail;
18335 if (arg2 == NULL) {
18336 PyErr_SetString(PyExc_TypeError,"null reference");
18337 SWIG_fail;
18338 }
18339 arg3 = (double) SWIG_AsDouble(obj2);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 arg4 = (double) SWIG_AsDouble(obj3);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 arg5 = (double) SWIG_AsDouble(obj4);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 arg6 = (double) SWIG_AsDouble(obj5);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 Py_INCREF(Py_None); resultobj = Py_None;
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18364 wxDC *arg2 = 0 ;
18365 PyObject * obj0 = 0 ;
18366 PyObject * obj1 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self",(char *) "dc", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18375 SWIG_POINTER_EXCEPTION | 0)) == -1)
18376 SWIG_fail;
18377 if (arg2 == NULL) {
18378 PyErr_SetString(PyExc_TypeError,"null reference");
18379 SWIG_fail;
18380 }
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->base_OnDrawControlPoints(*arg2);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 Py_INCREF(Py_None); resultobj = Py_None;
18389 return resultobj;
18390 fail:
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18398 wxDC *arg2 = 0 ;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 char *kwnames[] = {
18402 (char *) "self",(char *) "dc", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1)
18410 SWIG_fail;
18411 if (arg2 == NULL) {
18412 PyErr_SetString(PyExc_TypeError,"null reference");
18413 SWIG_fail;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->base_OnEraseControlPoints(*arg2);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 Py_INCREF(Py_None); resultobj = Py_None;
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18432 wxDC *arg2 = 0 ;
18433 bool arg3 = (bool) True ;
18434 PyObject * obj0 = 0 ;
18435 PyObject * obj1 = 0 ;
18436 PyObject * obj2 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18445 SWIG_POINTER_EXCEPTION | 0)) == -1)
18446 SWIG_fail;
18447 if (arg2 == NULL) {
18448 PyErr_SetString(PyExc_TypeError,"null reference");
18449 SWIG_fail;
18450 }
18451 if (obj2) {
18452 arg3 = (bool) SWIG_AsBool(obj2);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 (arg1)->base_OnMoveLink(*arg2,arg3);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 Py_INCREF(Py_None); resultobj = Py_None;
18463 return resultobj;
18464 fail:
18465 return NULL;
18466 }
18467
18468
18469 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj;
18471 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18472 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18473 bool arg3 ;
18474 double arg4 ;
18475 double arg5 ;
18476 int arg6 = (int) 0 ;
18477 int arg7 = (int) 0 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 PyObject * obj2 = 0 ;
18481 PyObject * obj3 = 0 ;
18482 PyObject * obj4 = 0 ;
18483 PyObject * obj5 = 0 ;
18484 PyObject * obj6 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 arg3 = (bool) SWIG_AsBool(obj2);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 arg4 = (double) SWIG_AsDouble(obj3);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 arg5 = (double) SWIG_AsDouble(obj4);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 if (obj5) {
18501 arg6 = (int) SWIG_AsInt(obj5);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 if (obj6) {
18505 arg7 = (int) SWIG_AsInt(obj6);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 Py_INCREF(Py_None); resultobj = Py_None;
18516 return resultobj;
18517 fail:
18518 return NULL;
18519 }
18520
18521
18522 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18523 PyObject *resultobj;
18524 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18525 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18526 double arg3 ;
18527 double arg4 ;
18528 int arg5 = (int) 0 ;
18529 int arg6 = (int) 0 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 PyObject * obj2 = 0 ;
18533 PyObject * obj3 = 0 ;
18534 PyObject * obj4 = 0 ;
18535 PyObject * obj5 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18545 arg3 = (double) SWIG_AsDouble(obj2);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 arg4 = (double) SWIG_AsDouble(obj3);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 if (obj4) {
18550 arg5 = (int) SWIG_AsInt(obj4);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 if (obj5) {
18554 arg6 = (int) SWIG_AsInt(obj5);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18574 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18575 double arg3 ;
18576 double arg4 ;
18577 int arg5 = (int) 0 ;
18578 int arg6 = (int) 0 ;
18579 PyObject * obj0 = 0 ;
18580 PyObject * obj1 = 0 ;
18581 PyObject * obj2 = 0 ;
18582 PyObject * obj3 = 0 ;
18583 PyObject * obj4 = 0 ;
18584 PyObject * obj5 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 arg3 = (double) SWIG_AsDouble(obj2);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 arg4 = (double) SWIG_AsDouble(obj3);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 if (obj4) {
18599 arg5 = (int) SWIG_AsInt(obj4);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 if (obj5) {
18603 arg6 = (int) SWIG_AsInt(obj5);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 Py_INCREF(Py_None); resultobj = Py_None;
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18623 double arg2 ;
18624 double arg3 ;
18625 PyObject * obj0 = 0 ;
18626 PyObject * obj1 = 0 ;
18627 PyObject * obj2 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self",(char *) "w",(char *) "h", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18635 arg2 = (double) SWIG_AsDouble(obj1);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 arg3 = (double) SWIG_AsDouble(obj2);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 (arg1)->base_OnBeginSize(arg2,arg3);
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 Py_INCREF(Py_None); resultobj = Py_None;
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18656 double arg2 ;
18657 double arg3 ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 PyObject * obj2 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self",(char *) "w",(char *) "h", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18668 arg2 = (double) SWIG_AsDouble(obj1);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 arg3 = (double) SWIG_AsDouble(obj2);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->base_OnEndSize(arg2,arg3);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683 }
18684
18685
18686 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
18687 PyObject *obj;
18688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18689 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18690 Py_INCREF(obj);
18691 return Py_BuildValue((char *)"");
18692 }
18693 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 double arg1 = (double) 0.0 ;
18696 double arg2 = (double) 0.0 ;
18697 wxPyDividedShape *result;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "width",(char *) "height", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18705 if (obj0) {
18706 arg1 = (double) SWIG_AsDouble(obj0);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 if (obj1) {
18710 arg2 = (double) SWIG_AsDouble(obj1);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj;
18729 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18730 PyObject *arg2 = (PyObject *) 0 ;
18731 PyObject *arg3 = (PyObject *) 0 ;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 PyObject * obj2 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self",(char *) "self",(char *) "_class", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18742 arg2 = obj1;
18743 arg3 = obj2;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 (arg1)->_setCallbackInfo(arg2,arg3);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 Py_INCREF(Py_None); resultobj = Py_None;
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 (arg1)->EditRegions();
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 Py_INCREF(Py_None); resultobj = Py_None;
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
18792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 (arg1)->SetRegionSizes();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 Py_INCREF(Py_None); resultobj = Py_None;
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18811 PyObject * obj0 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
18817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 (arg1)->base_OnDelete();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 Py_INCREF(Py_None); resultobj = Py_None;
18827 return resultobj;
18828 fail:
18829 return NULL;
18830 }
18831
18832
18833 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18836 wxDC *arg2 = 0 ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self",(char *) "dc", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18847 SWIG_POINTER_EXCEPTION | 0)) == -1)
18848 SWIG_fail;
18849 if (arg2 == NULL) {
18850 PyErr_SetString(PyExc_TypeError,"null reference");
18851 SWIG_fail;
18852 }
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 (arg1)->base_OnDraw(*arg2);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 Py_INCREF(Py_None); resultobj = Py_None;
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18870 wxDC *arg2 = 0 ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj1 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "dc", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1)
18882 SWIG_fail;
18883 if (arg2 == NULL) {
18884 PyErr_SetString(PyExc_TypeError,"null reference");
18885 SWIG_fail;
18886 }
18887 {
18888 PyThreadState* __tstate = wxPyBeginAllowThreads();
18889 (arg1)->base_OnDrawContents(*arg2);
18890
18891 wxPyEndAllowThreads(__tstate);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 Py_INCREF(Py_None); resultobj = Py_None;
18895 return resultobj;
18896 fail:
18897 return NULL;
18898 }
18899
18900
18901 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18904 wxDC *arg2 = 0 ;
18905 bool arg3 = (bool) FALSE ;
18906 PyObject * obj0 = 0 ;
18907 PyObject * obj1 = 0 ;
18908 PyObject * obj2 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self",(char *) "dc",(char *) "erase", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1)
18918 SWIG_fail;
18919 if (arg2 == NULL) {
18920 PyErr_SetString(PyExc_TypeError,"null reference");
18921 SWIG_fail;
18922 }
18923 if (obj2) {
18924 arg3 = (bool) SWIG_AsBool(obj2);
18925 if (PyErr_Occurred()) SWIG_fail;
18926 }
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 (arg1)->base_OnDrawBranches(*arg2,arg3);
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 Py_INCREF(Py_None); resultobj = Py_None;
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18944 wxDC *arg2 = 0 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "dc", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18955 SWIG_POINTER_EXCEPTION | 0)) == -1)
18956 SWIG_fail;
18957 if (arg2 == NULL) {
18958 PyErr_SetString(PyExc_TypeError,"null reference");
18959 SWIG_fail;
18960 }
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 (arg1)->base_OnMoveLinks(*arg2);
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 Py_INCREF(Py_None); resultobj = Py_None;
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18978 wxDC *arg2 = 0 ;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self",(char *) "dc", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1)
18990 SWIG_fail;
18991 if (arg2 == NULL) {
18992 PyErr_SetString(PyExc_TypeError,"null reference");
18993 SWIG_fail;
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 (arg1)->base_OnErase(*arg2);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 Py_INCREF(Py_None); resultobj = Py_None;
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19012 wxDC *arg2 = 0 ;
19013 PyObject * obj0 = 0 ;
19014 PyObject * obj1 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self",(char *) "dc", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19023 SWIG_POINTER_EXCEPTION | 0)) == -1)
19024 SWIG_fail;
19025 if (arg2 == NULL) {
19026 PyErr_SetString(PyExc_TypeError,"null reference");
19027 SWIG_fail;
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->base_OnEraseContents(*arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19046 wxDC *arg2 = 0 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "dc", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19057 SWIG_POINTER_EXCEPTION | 0)) == -1)
19058 SWIG_fail;
19059 if (arg2 == NULL) {
19060 PyErr_SetString(PyExc_TypeError,"null reference");
19061 SWIG_fail;
19062 }
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->base_OnHighlight(*arg2);
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 Py_INCREF(Py_None); resultobj = Py_None;
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19080 double arg2 ;
19081 double arg3 ;
19082 int arg4 = (int) 0 ;
19083 int arg5 = (int) 0 ;
19084 PyObject * obj0 = 0 ;
19085 PyObject * obj1 = 0 ;
19086 PyObject * obj2 = 0 ;
19087 PyObject * obj3 = 0 ;
19088 PyObject * obj4 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19096 arg2 = (double) SWIG_AsDouble(obj1);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 arg3 = (double) SWIG_AsDouble(obj2);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 if (obj3) {
19101 arg4 = (int) SWIG_AsInt(obj3);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 if (obj4) {
19105 arg5 = (int) SWIG_AsInt(obj4);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19125 double arg2 ;
19126 double arg3 ;
19127 int arg4 = (int) 0 ;
19128 int arg5 = (int) 0 ;
19129 PyObject * obj0 = 0 ;
19130 PyObject * obj1 = 0 ;
19131 PyObject * obj2 = 0 ;
19132 PyObject * obj3 = 0 ;
19133 PyObject * obj4 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19141 arg2 = (double) SWIG_AsDouble(obj1);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 arg3 = (double) SWIG_AsDouble(obj2);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 if (obj3) {
19146 arg4 = (int) SWIG_AsInt(obj3);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 if (obj4) {
19150 arg5 = (int) SWIG_AsInt(obj4);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 Py_INCREF(Py_None); resultobj = Py_None;
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19170 double arg2 ;
19171 double arg3 ;
19172 int arg4 = (int) 0 ;
19173 int arg5 = (int) 0 ;
19174 PyObject * obj0 = 0 ;
19175 PyObject * obj1 = 0 ;
19176 PyObject * obj2 = 0 ;
19177 PyObject * obj3 = 0 ;
19178 PyObject * obj4 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19186 arg2 = (double) SWIG_AsDouble(obj1);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 arg3 = (double) SWIG_AsDouble(obj2);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 if (obj3) {
19191 arg4 = (int) SWIG_AsInt(obj3);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 if (obj4) {
19195 arg5 = (int) SWIG_AsInt(obj4);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 Py_INCREF(Py_None); resultobj = Py_None;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209 }
19210
19211
19212 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj;
19214 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19215 double arg2 ;
19216 double arg3 ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 PyObject * obj2 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self",(char *) "x",(char *) "y", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19227 arg2 = (double) SWIG_AsDouble(obj1);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 arg3 = (double) SWIG_AsDouble(obj2);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->base_OnSize(arg2,arg3);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19248 wxDC *arg2 = 0 ;
19249 double arg3 ;
19250 double arg4 ;
19251 double arg5 ;
19252 double arg6 ;
19253 bool arg7 = (bool) True ;
19254 bool result;
19255 PyObject * obj0 = 0 ;
19256 PyObject * obj1 = 0 ;
19257 PyObject * obj2 = 0 ;
19258 PyObject * obj3 = 0 ;
19259 PyObject * obj4 = 0 ;
19260 PyObject * obj5 = 0 ;
19261 PyObject * obj6 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19270 SWIG_POINTER_EXCEPTION | 0)) == -1)
19271 SWIG_fail;
19272 if (arg2 == NULL) {
19273 PyErr_SetString(PyExc_TypeError,"null reference");
19274 SWIG_fail;
19275 }
19276 arg3 = (double) SWIG_AsDouble(obj2);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 arg4 = (double) SWIG_AsDouble(obj3);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 arg5 = (double) SWIG_AsDouble(obj4);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 arg6 = (double) SWIG_AsDouble(obj5);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 if (obj6) {
19285 arg7 = (bool) SWIG_AsBool(obj6);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19296 return resultobj;
19297 fail:
19298 return NULL;
19299 }
19300
19301
19302 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19305 wxDC *arg2 = 0 ;
19306 double arg3 ;
19307 double arg4 ;
19308 double arg5 ;
19309 double arg6 ;
19310 bool arg7 = (bool) True ;
19311 PyObject * obj0 = 0 ;
19312 PyObject * obj1 = 0 ;
19313 PyObject * obj2 = 0 ;
19314 PyObject * obj3 = 0 ;
19315 PyObject * obj4 = 0 ;
19316 PyObject * obj5 = 0 ;
19317 PyObject * obj6 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1)
19327 SWIG_fail;
19328 if (arg2 == NULL) {
19329 PyErr_SetString(PyExc_TypeError,"null reference");
19330 SWIG_fail;
19331 }
19332 arg3 = (double) SWIG_AsDouble(obj2);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 arg4 = (double) SWIG_AsDouble(obj3);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 arg5 = (double) SWIG_AsDouble(obj4);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 arg6 = (double) SWIG_AsDouble(obj5);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 if (obj6) {
19341 arg7 = (bool) SWIG_AsBool(obj6);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
19346 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 Py_INCREF(Py_None); resultobj = Py_None;
19352 return resultobj;
19353 fail:
19354 return NULL;
19355 }
19356
19357
19358 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj;
19360 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19361 bool arg2 ;
19362 double arg3 ;
19363 double arg4 ;
19364 int arg5 = (int) 0 ;
19365 int arg6 = (int) 0 ;
19366 PyObject * obj0 = 0 ;
19367 PyObject * obj1 = 0 ;
19368 PyObject * obj2 = 0 ;
19369 PyObject * obj3 = 0 ;
19370 PyObject * obj4 = 0 ;
19371 PyObject * obj5 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19379 arg2 = (bool) SWIG_AsBool(obj1);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 arg3 = (double) SWIG_AsDouble(obj2);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 arg4 = (double) SWIG_AsDouble(obj3);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 if (obj4) {
19386 arg5 = (int) SWIG_AsInt(obj4);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 if (obj5) {
19390 arg6 = (int) SWIG_AsInt(obj5);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 {
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19396
19397 wxPyEndAllowThreads(__tstate);
19398 if (PyErr_Occurred()) SWIG_fail;
19399 }
19400 Py_INCREF(Py_None); resultobj = Py_None;
19401 return resultobj;
19402 fail:
19403 return NULL;
19404 }
19405
19406
19407 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19408 PyObject *resultobj;
19409 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19410 double arg2 ;
19411 double arg3 ;
19412 int arg4 = (int) 0 ;
19413 int arg5 = (int) 0 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 PyObject * obj2 = 0 ;
19417 PyObject * obj3 = 0 ;
19418 PyObject * obj4 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19426 arg2 = (double) SWIG_AsDouble(obj1);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 arg3 = (double) SWIG_AsDouble(obj2);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 if (obj3) {
19431 arg4 = (int) SWIG_AsInt(obj3);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 if (obj4) {
19435 arg5 = (int) SWIG_AsInt(obj4);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19441
19442 wxPyEndAllowThreads(__tstate);
19443 if (PyErr_Occurred()) SWIG_fail;
19444 }
19445 Py_INCREF(Py_None); resultobj = Py_None;
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19455 double arg2 ;
19456 double arg3 ;
19457 int arg4 = (int) 0 ;
19458 int arg5 = (int) 0 ;
19459 PyObject * obj0 = 0 ;
19460 PyObject * obj1 = 0 ;
19461 PyObject * obj2 = 0 ;
19462 PyObject * obj3 = 0 ;
19463 PyObject * obj4 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19471 arg2 = (double) SWIG_AsDouble(obj1);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 arg3 = (double) SWIG_AsDouble(obj2);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 if (obj3) {
19476 arg4 = (int) SWIG_AsInt(obj3);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 if (obj4) {
19480 arg5 = (int) SWIG_AsInt(obj4);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 Py_INCREF(Py_None); resultobj = Py_None;
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj;
19499 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19500 bool arg2 ;
19501 double arg3 ;
19502 double arg4 ;
19503 int arg5 = (int) 0 ;
19504 int arg6 = (int) 0 ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 PyObject * obj2 = 0 ;
19508 PyObject * obj3 = 0 ;
19509 PyObject * obj4 = 0 ;
19510 PyObject * obj5 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19518 arg2 = (bool) SWIG_AsBool(obj1);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 arg3 = (double) SWIG_AsDouble(obj2);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 arg4 = (double) SWIG_AsDouble(obj3);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 if (obj4) {
19525 arg5 = (int) SWIG_AsInt(obj4);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 if (obj5) {
19529 arg6 = (int) SWIG_AsInt(obj5);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 Py_INCREF(Py_None); resultobj = Py_None;
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19549 double arg2 ;
19550 double arg3 ;
19551 int arg4 = (int) 0 ;
19552 int arg5 = (int) 0 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 PyObject * obj2 = 0 ;
19556 PyObject * obj3 = 0 ;
19557 PyObject * obj4 = 0 ;
19558 char *kwnames[] = {
19559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19560 };
19561
19562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19565 arg2 = (double) SWIG_AsDouble(obj1);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 arg3 = (double) SWIG_AsDouble(obj2);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 if (obj3) {
19570 arg4 = (int) SWIG_AsInt(obj3);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 if (obj4) {
19574 arg5 = (int) SWIG_AsInt(obj4);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19594 double arg2 ;
19595 double arg3 ;
19596 int arg4 = (int) 0 ;
19597 int arg5 = (int) 0 ;
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 PyObject * obj2 = 0 ;
19601 PyObject * obj3 = 0 ;
19602 PyObject * obj4 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19610 arg2 = (double) SWIG_AsDouble(obj1);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 arg3 = (double) SWIG_AsDouble(obj2);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 if (obj3) {
19615 arg4 = (int) SWIG_AsInt(obj3);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 if (obj4) {
19619 arg5 = (int) SWIG_AsInt(obj4);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19639 wxDC *arg2 = 0 ;
19640 double arg3 ;
19641 double arg4 ;
19642 double arg5 ;
19643 double arg6 ;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 PyObject * obj2 = 0 ;
19647 PyObject * obj3 = 0 ;
19648 PyObject * obj4 = 0 ;
19649 PyObject * obj5 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19658 SWIG_POINTER_EXCEPTION | 0)) == -1)
19659 SWIG_fail;
19660 if (arg2 == NULL) {
19661 PyErr_SetString(PyExc_TypeError,"null reference");
19662 SWIG_fail;
19663 }
19664 arg3 = (double) SWIG_AsDouble(obj2);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 arg4 = (double) SWIG_AsDouble(obj3);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 arg5 = (double) SWIG_AsDouble(obj4);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 arg6 = (double) SWIG_AsDouble(obj5);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19689 wxDC *arg2 = 0 ;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "dc", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1)
19701 SWIG_fail;
19702 if (arg2 == NULL) {
19703 PyErr_SetString(PyExc_TypeError,"null reference");
19704 SWIG_fail;
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 (arg1)->base_OnDrawControlPoints(*arg2);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 Py_INCREF(Py_None); resultobj = Py_None;
19714 return resultobj;
19715 fail:
19716 return NULL;
19717 }
19718
19719
19720 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19721 PyObject *resultobj;
19722 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19723 wxDC *arg2 = 0 ;
19724 PyObject * obj0 = 0 ;
19725 PyObject * obj1 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self",(char *) "dc", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1)
19735 SWIG_fail;
19736 if (arg2 == NULL) {
19737 PyErr_SetString(PyExc_TypeError,"null reference");
19738 SWIG_fail;
19739 }
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 (arg1)->base_OnEraseControlPoints(*arg2);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 Py_INCREF(Py_None); resultobj = Py_None;
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19757 wxDC *arg2 = 0 ;
19758 bool arg3 = (bool) True ;
19759 PyObject * obj0 = 0 ;
19760 PyObject * obj1 = 0 ;
19761 PyObject * obj2 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19770 SWIG_POINTER_EXCEPTION | 0)) == -1)
19771 SWIG_fail;
19772 if (arg2 == NULL) {
19773 PyErr_SetString(PyExc_TypeError,"null reference");
19774 SWIG_fail;
19775 }
19776 if (obj2) {
19777 arg3 = (bool) SWIG_AsBool(obj2);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->base_OnMoveLink(*arg2,arg3);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19797 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19798 bool arg3 ;
19799 double arg4 ;
19800 double arg5 ;
19801 int arg6 = (int) 0 ;
19802 int arg7 = (int) 0 ;
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 PyObject * obj2 = 0 ;
19806 PyObject * obj3 = 0 ;
19807 PyObject * obj4 = 0 ;
19808 PyObject * obj5 = 0 ;
19809 PyObject * obj6 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 arg3 = (bool) SWIG_AsBool(obj2);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 arg4 = (double) SWIG_AsDouble(obj3);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 arg5 = (double) SWIG_AsDouble(obj4);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 if (obj5) {
19826 arg6 = (int) SWIG_AsInt(obj5);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 if (obj6) {
19830 arg7 = (int) SWIG_AsInt(obj6);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 Py_INCREF(Py_None); resultobj = Py_None;
19841 return resultobj;
19842 fail:
19843 return NULL;
19844 }
19845
19846
19847 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19850 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19851 double arg3 ;
19852 double arg4 ;
19853 int arg5 = (int) 0 ;
19854 int arg6 = (int) 0 ;
19855 PyObject * obj0 = 0 ;
19856 PyObject * obj1 = 0 ;
19857 PyObject * obj2 = 0 ;
19858 PyObject * obj3 = 0 ;
19859 PyObject * obj4 = 0 ;
19860 PyObject * obj5 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 arg3 = (double) SWIG_AsDouble(obj2);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 arg4 = (double) SWIG_AsDouble(obj3);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 if (obj4) {
19875 arg5 = (int) SWIG_AsInt(obj4);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 if (obj5) {
19879 arg6 = (int) SWIG_AsInt(obj5);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 Py_INCREF(Py_None); resultobj = Py_None;
19890 return resultobj;
19891 fail:
19892 return NULL;
19893 }
19894
19895
19896 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19899 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19900 double arg3 ;
19901 double arg4 ;
19902 int arg5 = (int) 0 ;
19903 int arg6 = (int) 0 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 PyObject * obj2 = 0 ;
19907 PyObject * obj3 = 0 ;
19908 PyObject * obj4 = 0 ;
19909 PyObject * obj5 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19919 arg3 = (double) SWIG_AsDouble(obj2);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 arg4 = (double) SWIG_AsDouble(obj3);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 if (obj4) {
19924 arg5 = (int) SWIG_AsInt(obj4);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 if (obj5) {
19928 arg6 = (int) SWIG_AsInt(obj5);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 Py_INCREF(Py_None); resultobj = Py_None;
19939 return resultobj;
19940 fail:
19941 return NULL;
19942 }
19943
19944
19945 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19948 double arg2 ;
19949 double arg3 ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 PyObject * obj2 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self",(char *) "w",(char *) "h", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 arg2 = (double) SWIG_AsDouble(obj1);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 arg3 = (double) SWIG_AsDouble(obj2);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->base_OnBeginSize(arg2,arg3);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 Py_INCREF(Py_None); resultobj = Py_None;
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj;
19980 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19981 double arg2 ;
19982 double arg3 ;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 PyObject * obj2 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self",(char *) "w",(char *) "h", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19993 arg2 = (double) SWIG_AsDouble(obj1);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 arg3 = (double) SWIG_AsDouble(obj2);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 (arg1)->base_OnEndSize(arg2,arg3);
20000
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 Py_INCREF(Py_None); resultobj = Py_None;
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20012 PyObject *obj;
20013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20014 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20015 Py_INCREF(obj);
20016 return Py_BuildValue((char *)"");
20017 }
20018 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPyDivisionShape *result;
20021 char *kwnames[] = {
20022 NULL
20023 };
20024
20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 {
20034 resultobj = wxPyMake_wxShapeEvtHandler(result);
20035 }
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20043 PyObject *resultobj;
20044 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20045 PyObject *arg2 = (PyObject *) 0 ;
20046 PyObject *arg3 = (PyObject *) 0 ;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049 PyObject * obj2 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self",(char *) "self",(char *) "_class", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 arg2 = obj1;
20058 arg3 = obj2;
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 (arg1)->_setCallbackInfo(arg2,arg3);
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 Py_INCREF(Py_None); resultobj = Py_None;
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20076 double arg2 ;
20077 bool arg3 ;
20078 PyObject * obj0 = 0 ;
20079 PyObject * obj1 = 0 ;
20080 PyObject * obj2 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self",(char *) "bottom",(char *) "test", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20088 arg2 = (double) SWIG_AsDouble(obj1);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 arg3 = (bool) SWIG_AsBool(obj2);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 (arg1)->AdjustBottom(arg2,arg3);
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 Py_INCREF(Py_None); resultobj = Py_None;
20100 return resultobj;
20101 fail:
20102 return NULL;
20103 }
20104
20105
20106 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20109 double arg2 ;
20110 bool arg3 ;
20111 PyObject * obj0 = 0 ;
20112 PyObject * obj1 = 0 ;
20113 PyObject * obj2 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "left",(char *) "test", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20121 arg2 = (double) SWIG_AsDouble(obj1);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 arg3 = (bool) SWIG_AsBool(obj2);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 (arg1)->AdjustLeft(arg2,arg3);
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 Py_INCREF(Py_None); resultobj = Py_None;
20133 return resultobj;
20134 fail:
20135 return NULL;
20136 }
20137
20138
20139 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20140 PyObject *resultobj;
20141 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20142 double arg2 ;
20143 bool arg3 ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 PyObject * obj2 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self",(char *) "right",(char *) "test", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20154 arg2 = (double) SWIG_AsDouble(obj1);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 arg3 = (bool) SWIG_AsBool(obj2);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 (arg1)->AdjustRight(arg2,arg3);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 Py_INCREF(Py_None); resultobj = Py_None;
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20175 double arg2 ;
20176 bool arg3 ;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 PyObject * obj2 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "top",(char *) "test", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20187 arg2 = (double) SWIG_AsDouble(obj1);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 arg3 = (bool) SWIG_AsBool(obj2);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->AdjustTop(arg2,arg3);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 Py_INCREF(Py_None); resultobj = Py_None;
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20208 int arg2 ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "direction", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 arg2 = (int) SWIG_AsInt(obj1);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 (arg1)->Divide(arg2);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 Py_INCREF(Py_None); resultobj = Py_None;
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20237 int arg2 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self",(char *) "side", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 arg2 = (int) SWIG_AsInt(obj1);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 (arg1)->EditEdge(arg2);
20252
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 Py_INCREF(Py_None); resultobj = Py_None;
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20266 wxPyDivisionShape *result;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 resultobj = wxPyMake_wxShapeEvtHandler(result);
20284 }
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20294 int result;
20295 PyObject * obj0 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (int)(arg1)->GetHandleSide();
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = SWIG_FromInt((int)result);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20320 wxPyDivisionShape *result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 resultobj = wxPyMake_wxShapeEvtHandler(result);
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20348 wxString result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (arg1)->GetLeftSideColour();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 {
20365 #if wxUSE_UNICODE
20366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20367 #else
20368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20369 #endif
20370 }
20371 return resultobj;
20372 fail:
20373 return NULL;
20374 }
20375
20376
20377 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20380 wxPen *result;
20381 PyObject * obj0 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (wxPen *)(arg1)->GetLeftSidePen();
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20406 wxPyDivisionShape *result;
20407 PyObject * obj0 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 {
20423 resultobj = wxPyMake_wxShapeEvtHandler(result);
20424 }
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj;
20433 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20434 wxPyDivisionShape *result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 {
20451 resultobj = wxPyMake_wxShapeEvtHandler(result);
20452 }
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20462 wxPen *result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (wxPen *)(arg1)->GetTopSidePen();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20488 int arg2 ;
20489 double arg3 ;
20490 bool arg4 ;
20491 PyObject * obj0 = 0 ;
20492 PyObject * obj1 = 0 ;
20493 PyObject * obj2 = 0 ;
20494 PyObject * obj3 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20502 arg2 = (int) SWIG_AsInt(obj1);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 arg3 = (double) SWIG_AsDouble(obj2);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 arg4 = (bool) SWIG_AsBool(obj3);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 Py_INCREF(Py_None); resultobj = Py_None;
20516 return resultobj;
20517 fail:
20518 return NULL;
20519 }
20520
20521
20522 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20525 double arg2 ;
20526 double arg3 ;
20527 PyObject * obj0 = 0 ;
20528 PyObject * obj1 = 0 ;
20529 PyObject * obj2 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self",(char *) "x",(char *) "y", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20537 arg2 = (double) SWIG_AsDouble(obj1);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 arg3 = (double) SWIG_AsDouble(obj2);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->PopupMenu(arg2,arg3);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20558 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20559 PyObject * obj0 = 0 ;
20560 PyObject * obj1 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "shape", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->SetBottomSide(arg2);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20587 int arg2 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self",(char *) "side", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
20595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20597 arg2 = (int) SWIG_AsInt(obj1);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->SetHandleSide(arg2);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 Py_INCREF(Py_None); resultobj = Py_None;
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20616 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "shape", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 (arg1)->SetLeftSide(arg2);
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 Py_INCREF(Py_None); resultobj = Py_None;
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20645 wxString *arg2 = 0 ;
20646 bool temp2 = False ;
20647 PyObject * obj0 = 0 ;
20648 PyObject * obj1 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self",(char *) "colour", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
20654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20656 {
20657 arg2 = wxString_in_helper(obj1);
20658 if (arg2 == NULL) SWIG_fail;
20659 temp2 = True;
20660 }
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 Py_INCREF(Py_None); resultobj = Py_None;
20669 {
20670 if (temp2)
20671 delete arg2;
20672 }
20673 return resultobj;
20674 fail:
20675 {
20676 if (temp2)
20677 delete arg2;
20678 }
20679 return NULL;
20680 }
20681
20682
20683 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20684 PyObject *resultobj;
20685 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20686 wxPen *arg2 = (wxPen *) 0 ;
20687 PyObject * obj0 = 0 ;
20688 PyObject * obj1 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self",(char *) "pen", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
20694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20696 {
20697 wxPen* temp;
20698 if (obj1) {
20699 if (obj1 == Py_None) {
20700 temp = NULL;
20701 }
20702 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20703 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20704 return NULL;
20705 }
20706 }
20707 if (temp)
20708 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20709 temp->GetWidth(),
20710 temp->GetStyle());
20711 else
20712 arg2 = NULL;
20713 }
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 (arg1)->SetLeftSidePen(arg2);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 Py_INCREF(Py_None); resultobj = Py_None;
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20731 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "shape", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 (arg1)->SetRightSide(arg2);
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 Py_INCREF(Py_None); resultobj = Py_None;
20751 return resultobj;
20752 fail:
20753 return NULL;
20754 }
20755
20756
20757 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20760 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "shape", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->SetTopSide(arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20789 wxString *arg2 = 0 ;
20790 bool temp2 = False ;
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "colour", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20800 {
20801 arg2 = wxString_in_helper(obj1);
20802 if (arg2 == NULL) SWIG_fail;
20803 temp2 = True;
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->SetTopSideColour((wxString const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 {
20814 if (temp2)
20815 delete arg2;
20816 }
20817 return resultobj;
20818 fail:
20819 {
20820 if (temp2)
20821 delete arg2;
20822 }
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20830 wxPen *arg2 = (wxPen *) 0 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "pen", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 {
20841 wxPen* temp;
20842 if (obj1) {
20843 if (obj1 == Py_None) {
20844 temp = NULL;
20845 }
20846 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20847 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20848 return NULL;
20849 }
20850 }
20851 if (temp)
20852 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20853 temp->GetWidth(),
20854 temp->GetStyle());
20855 else
20856 arg2 = NULL;
20857 }
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetTopSidePen(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20875 PyObject * obj0 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
20881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 (arg1)->base_OnDelete();
20886
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 Py_INCREF(Py_None); resultobj = Py_None;
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
20898 PyObject *resultobj;
20899 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20900 wxDC *arg2 = 0 ;
20901 PyObject * obj0 = 0 ;
20902 PyObject * obj1 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self",(char *) "dc", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
20908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20911 SWIG_POINTER_EXCEPTION | 0)) == -1)
20912 SWIG_fail;
20913 if (arg2 == NULL) {
20914 PyErr_SetString(PyExc_TypeError,"null reference");
20915 SWIG_fail;
20916 }
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 (arg1)->base_OnDraw(*arg2);
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 Py_INCREF(Py_None); resultobj = Py_None;
20925 return resultobj;
20926 fail:
20927 return NULL;
20928 }
20929
20930
20931 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
20932 PyObject *resultobj;
20933 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20934 wxDC *arg2 = 0 ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self",(char *) "dc", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1)
20946 SWIG_fail;
20947 if (arg2 == NULL) {
20948 PyErr_SetString(PyExc_TypeError,"null reference");
20949 SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->base_OnDrawContents(*arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20968 wxDC *arg2 = 0 ;
20969 bool arg3 = (bool) FALSE ;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 PyObject * obj2 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self",(char *) "dc",(char *) "erase", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20981 SWIG_POINTER_EXCEPTION | 0)) == -1)
20982 SWIG_fail;
20983 if (arg2 == NULL) {
20984 PyErr_SetString(PyExc_TypeError,"null reference");
20985 SWIG_fail;
20986 }
20987 if (obj2) {
20988 arg3 = (bool) SWIG_AsBool(obj2);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 (arg1)->base_OnDrawBranches(*arg2,arg3);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 Py_INCREF(Py_None); resultobj = Py_None;
20999 return resultobj;
21000 fail:
21001 return NULL;
21002 }
21003
21004
21005 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21008 wxDC *arg2 = 0 ;
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "dc", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21019 SWIG_POINTER_EXCEPTION | 0)) == -1)
21020 SWIG_fail;
21021 if (arg2 == NULL) {
21022 PyErr_SetString(PyExc_TypeError,"null reference");
21023 SWIG_fail;
21024 }
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 (arg1)->base_OnMoveLinks(*arg2);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 Py_INCREF(Py_None); resultobj = Py_None;
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21042 wxDC *arg2 = 0 ;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "dc", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21053 SWIG_POINTER_EXCEPTION | 0)) == -1)
21054 SWIG_fail;
21055 if (arg2 == NULL) {
21056 PyErr_SetString(PyExc_TypeError,"null reference");
21057 SWIG_fail;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 (arg1)->base_OnErase(*arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 Py_INCREF(Py_None); resultobj = Py_None;
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21076 wxDC *arg2 = 0 ;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "dc", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1)
21088 SWIG_fail;
21089 if (arg2 == NULL) {
21090 PyErr_SetString(PyExc_TypeError,"null reference");
21091 SWIG_fail;
21092 }
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 (arg1)->base_OnEraseContents(*arg2);
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 Py_INCREF(Py_None); resultobj = Py_None;
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21110 wxDC *arg2 = 0 ;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self",(char *) "dc", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1)
21122 SWIG_fail;
21123 if (arg2 == NULL) {
21124 PyErr_SetString(PyExc_TypeError,"null reference");
21125 SWIG_fail;
21126 }
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 (arg1)->base_OnHighlight(*arg2);
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21144 double arg2 ;
21145 double arg3 ;
21146 int arg4 = (int) 0 ;
21147 int arg5 = (int) 0 ;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 PyObject * obj2 = 0 ;
21151 PyObject * obj3 = 0 ;
21152 PyObject * obj4 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 arg2 = (double) SWIG_AsDouble(obj1);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 arg3 = (double) SWIG_AsDouble(obj2);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 if (obj3) {
21165 arg4 = (int) SWIG_AsInt(obj3);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 if (obj4) {
21169 arg5 = (int) SWIG_AsInt(obj4);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 Py_INCREF(Py_None); resultobj = Py_None;
21180 return resultobj;
21181 fail:
21182 return NULL;
21183 }
21184
21185
21186 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21189 double arg2 ;
21190 double arg3 ;
21191 int arg4 = (int) 0 ;
21192 int arg5 = (int) 0 ;
21193 PyObject * obj0 = 0 ;
21194 PyObject * obj1 = 0 ;
21195 PyObject * obj2 = 0 ;
21196 PyObject * obj3 = 0 ;
21197 PyObject * obj4 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21205 arg2 = (double) SWIG_AsDouble(obj1);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 arg3 = (double) SWIG_AsDouble(obj2);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 if (obj3) {
21210 arg4 = (int) SWIG_AsInt(obj3);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 if (obj4) {
21214 arg5 = (int) SWIG_AsInt(obj4);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 {
21218 PyThreadState* __tstate = wxPyBeginAllowThreads();
21219 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21220
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 Py_INCREF(Py_None); resultobj = Py_None;
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21234 double arg2 ;
21235 double arg3 ;
21236 int arg4 = (int) 0 ;
21237 int arg5 = (int) 0 ;
21238 PyObject * obj0 = 0 ;
21239 PyObject * obj1 = 0 ;
21240 PyObject * obj2 = 0 ;
21241 PyObject * obj3 = 0 ;
21242 PyObject * obj4 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21250 arg2 = (double) SWIG_AsDouble(obj1);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 arg3 = (double) SWIG_AsDouble(obj2);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 if (obj3) {
21255 arg4 = (int) SWIG_AsInt(obj3);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 if (obj4) {
21259 arg5 = (int) SWIG_AsInt(obj4);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 Py_INCREF(Py_None); resultobj = Py_None;
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21279 double arg2 ;
21280 double arg3 ;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 PyObject * obj2 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self",(char *) "x",(char *) "y", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21291 arg2 = (double) SWIG_AsDouble(obj1);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 arg3 = (double) SWIG_AsDouble(obj2);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 (arg1)->base_OnSize(arg2,arg3);
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 Py_INCREF(Py_None); resultobj = Py_None;
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj;
21311 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21312 wxDC *arg2 = 0 ;
21313 double arg3 ;
21314 double arg4 ;
21315 double arg5 ;
21316 double arg6 ;
21317 bool arg7 = (bool) True ;
21318 bool result;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 PyObject * obj2 = 0 ;
21322 PyObject * obj3 = 0 ;
21323 PyObject * obj4 = 0 ;
21324 PyObject * obj5 = 0 ;
21325 PyObject * obj6 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21334 SWIG_POINTER_EXCEPTION | 0)) == -1)
21335 SWIG_fail;
21336 if (arg2 == NULL) {
21337 PyErr_SetString(PyExc_TypeError,"null reference");
21338 SWIG_fail;
21339 }
21340 arg3 = (double) SWIG_AsDouble(obj2);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 arg4 = (double) SWIG_AsDouble(obj3);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 arg5 = (double) SWIG_AsDouble(obj4);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 arg6 = (double) SWIG_AsDouble(obj5);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 if (obj6) {
21349 arg7 = (bool) SWIG_AsBool(obj6);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21369 wxDC *arg2 = 0 ;
21370 double arg3 ;
21371 double arg4 ;
21372 double arg5 ;
21373 double arg6 ;
21374 bool arg7 = (bool) True ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 PyObject * obj2 = 0 ;
21378 PyObject * obj3 = 0 ;
21379 PyObject * obj4 = 0 ;
21380 PyObject * obj5 = 0 ;
21381 PyObject * obj6 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21390 SWIG_POINTER_EXCEPTION | 0)) == -1)
21391 SWIG_fail;
21392 if (arg2 == NULL) {
21393 PyErr_SetString(PyExc_TypeError,"null reference");
21394 SWIG_fail;
21395 }
21396 arg3 = (double) SWIG_AsDouble(obj2);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 arg4 = (double) SWIG_AsDouble(obj3);
21399 if (PyErr_Occurred()) SWIG_fail;
21400 arg5 = (double) SWIG_AsDouble(obj4);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 arg6 = (double) SWIG_AsDouble(obj5);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 if (obj6) {
21405 arg7 = (bool) SWIG_AsBool(obj6);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21425 bool arg2 ;
21426 double arg3 ;
21427 double arg4 ;
21428 int arg5 = (int) 0 ;
21429 int arg6 = (int) 0 ;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 PyObject * obj2 = 0 ;
21433 PyObject * obj3 = 0 ;
21434 PyObject * obj4 = 0 ;
21435 PyObject * obj5 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21443 arg2 = (bool) SWIG_AsBool(obj1);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 arg3 = (double) SWIG_AsDouble(obj2);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 arg4 = (double) SWIG_AsDouble(obj3);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 if (obj4) {
21450 arg5 = (int) SWIG_AsInt(obj4);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 if (obj5) {
21454 arg6 = (int) SWIG_AsInt(obj5);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 Py_INCREF(Py_None); resultobj = Py_None;
21465 return resultobj;
21466 fail:
21467 return NULL;
21468 }
21469
21470
21471 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21472 PyObject *resultobj;
21473 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21474 double arg2 ;
21475 double arg3 ;
21476 int arg4 = (int) 0 ;
21477 int arg5 = (int) 0 ;
21478 PyObject * obj0 = 0 ;
21479 PyObject * obj1 = 0 ;
21480 PyObject * obj2 = 0 ;
21481 PyObject * obj3 = 0 ;
21482 PyObject * obj4 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21490 arg2 = (double) SWIG_AsDouble(obj1);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 arg3 = (double) SWIG_AsDouble(obj2);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 if (obj3) {
21495 arg4 = (int) SWIG_AsInt(obj3);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 }
21498 if (obj4) {
21499 arg5 = (int) SWIG_AsInt(obj4);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 Py_INCREF(Py_None); resultobj = Py_None;
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21519 double arg2 ;
21520 double arg3 ;
21521 int arg4 = (int) 0 ;
21522 int arg5 = (int) 0 ;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 PyObject * obj2 = 0 ;
21526 PyObject * obj3 = 0 ;
21527 PyObject * obj4 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 arg2 = (double) SWIG_AsDouble(obj1);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 arg3 = (double) SWIG_AsDouble(obj2);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 if (obj3) {
21540 arg4 = (int) SWIG_AsInt(obj3);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 if (obj4) {
21544 arg5 = (int) SWIG_AsInt(obj4);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 Py_INCREF(Py_None); resultobj = Py_None;
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21564 bool arg2 ;
21565 double arg3 ;
21566 double arg4 ;
21567 int arg5 = (int) 0 ;
21568 int arg6 = (int) 0 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 PyObject * obj3 = 0 ;
21573 PyObject * obj4 = 0 ;
21574 PyObject * obj5 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21582 arg2 = (bool) SWIG_AsBool(obj1);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 arg3 = (double) SWIG_AsDouble(obj2);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 arg4 = (double) SWIG_AsDouble(obj3);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 if (obj4) {
21589 arg5 = (int) SWIG_AsInt(obj4);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 if (obj5) {
21593 arg6 = (int) SWIG_AsInt(obj5);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 Py_INCREF(Py_None); resultobj = Py_None;
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21613 double arg2 ;
21614 double arg3 ;
21615 int arg4 = (int) 0 ;
21616 int arg5 = (int) 0 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 PyObject * obj2 = 0 ;
21620 PyObject * obj3 = 0 ;
21621 PyObject * obj4 = 0 ;
21622 char *kwnames[] = {
21623 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21624 };
21625
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21629 arg2 = (double) SWIG_AsDouble(obj1);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 arg3 = (double) SWIG_AsDouble(obj2);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 if (obj3) {
21634 arg4 = (int) SWIG_AsInt(obj3);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 if (obj4) {
21638 arg5 = (int) SWIG_AsInt(obj4);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652 }
21653
21654
21655 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21656 PyObject *resultobj;
21657 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21658 double arg2 ;
21659 double arg3 ;
21660 int arg4 = (int) 0 ;
21661 int arg5 = (int) 0 ;
21662 PyObject * obj0 = 0 ;
21663 PyObject * obj1 = 0 ;
21664 PyObject * obj2 = 0 ;
21665 PyObject * obj3 = 0 ;
21666 PyObject * obj4 = 0 ;
21667 char *kwnames[] = {
21668 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21669 };
21670
21671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21674 arg2 = (double) SWIG_AsDouble(obj1);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 arg3 = (double) SWIG_AsDouble(obj2);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 if (obj3) {
21679 arg4 = (int) SWIG_AsInt(obj3);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 if (obj4) {
21683 arg5 = (int) SWIG_AsInt(obj4);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21703 wxDC *arg2 = 0 ;
21704 double arg3 ;
21705 double arg4 ;
21706 double arg5 ;
21707 double arg6 ;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 PyObject * obj2 = 0 ;
21711 PyObject * obj3 = 0 ;
21712 PyObject * obj4 = 0 ;
21713 PyObject * obj5 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1)
21723 SWIG_fail;
21724 if (arg2 == NULL) {
21725 PyErr_SetString(PyExc_TypeError,"null reference");
21726 SWIG_fail;
21727 }
21728 arg3 = (double) SWIG_AsDouble(obj2);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 arg4 = (double) SWIG_AsDouble(obj3);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 arg5 = (double) SWIG_AsDouble(obj4);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 arg6 = (double) SWIG_AsDouble(obj5);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 Py_INCREF(Py_None); resultobj = Py_None;
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21753 wxDC *arg2 = 0 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self",(char *) "dc", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
21761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1)
21765 SWIG_fail;
21766 if (arg2 == NULL) {
21767 PyErr_SetString(PyExc_TypeError,"null reference");
21768 SWIG_fail;
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 (arg1)->base_OnDrawControlPoints(*arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 Py_INCREF(Py_None); resultobj = Py_None;
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21787 wxDC *arg2 = 0 ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "dc", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1)
21799 SWIG_fail;
21800 if (arg2 == NULL) {
21801 PyErr_SetString(PyExc_TypeError,"null reference");
21802 SWIG_fail;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->base_OnEraseControlPoints(*arg2);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21821 wxDC *arg2 = 0 ;
21822 bool arg3 = (bool) True ;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 PyObject * obj2 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21834 SWIG_POINTER_EXCEPTION | 0)) == -1)
21835 SWIG_fail;
21836 if (arg2 == NULL) {
21837 PyErr_SetString(PyExc_TypeError,"null reference");
21838 SWIG_fail;
21839 }
21840 if (obj2) {
21841 arg3 = (bool) SWIG_AsBool(obj2);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->base_OnMoveLink(*arg2,arg3);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21861 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21862 bool arg3 ;
21863 double arg4 ;
21864 double arg5 ;
21865 int arg6 = (int) 0 ;
21866 int arg7 = (int) 0 ;
21867 PyObject * obj0 = 0 ;
21868 PyObject * obj1 = 0 ;
21869 PyObject * obj2 = 0 ;
21870 PyObject * obj3 = 0 ;
21871 PyObject * obj4 = 0 ;
21872 PyObject * obj5 = 0 ;
21873 PyObject * obj6 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21883 arg3 = (bool) SWIG_AsBool(obj2);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 arg4 = (double) SWIG_AsDouble(obj3);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 arg5 = (double) SWIG_AsDouble(obj4);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 if (obj5) {
21890 arg6 = (int) SWIG_AsInt(obj5);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 if (obj6) {
21894 arg7 = (int) SWIG_AsInt(obj6);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 Py_INCREF(Py_None); resultobj = Py_None;
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21914 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21915 double arg3 ;
21916 double arg4 ;
21917 int arg5 = (int) 0 ;
21918 int arg6 = (int) 0 ;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 PyObject * obj2 = 0 ;
21922 PyObject * obj3 = 0 ;
21923 PyObject * obj4 = 0 ;
21924 PyObject * obj5 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21934 arg3 = (double) SWIG_AsDouble(obj2);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 arg4 = (double) SWIG_AsDouble(obj3);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 if (obj4) {
21939 arg5 = (int) SWIG_AsInt(obj4);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 if (obj5) {
21943 arg6 = (int) SWIG_AsInt(obj5);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 return resultobj;
21955 fail:
21956 return NULL;
21957 }
21958
21959
21960 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21963 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21964 double arg3 ;
21965 double arg4 ;
21966 int arg5 = (int) 0 ;
21967 int arg6 = (int) 0 ;
21968 PyObject * obj0 = 0 ;
21969 PyObject * obj1 = 0 ;
21970 PyObject * obj2 = 0 ;
21971 PyObject * obj3 = 0 ;
21972 PyObject * obj4 = 0 ;
21973 PyObject * obj5 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 arg3 = (double) SWIG_AsDouble(obj2);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 arg4 = (double) SWIG_AsDouble(obj3);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 if (obj4) {
21988 arg5 = (int) SWIG_AsInt(obj4);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 if (obj5) {
21992 arg6 = (int) SWIG_AsInt(obj5);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 Py_INCREF(Py_None); resultobj = Py_None;
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22012 double arg2 ;
22013 double arg3 ;
22014 PyObject * obj0 = 0 ;
22015 PyObject * obj1 = 0 ;
22016 PyObject * obj2 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "w",(char *) "h", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 arg2 = (double) SWIG_AsDouble(obj1);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 arg3 = (double) SWIG_AsDouble(obj2);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 (arg1)->base_OnBeginSize(arg2,arg3);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 Py_INCREF(Py_None); resultobj = Py_None;
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22045 double arg2 ;
22046 double arg3 ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "w",(char *) "h", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 arg2 = (double) SWIG_AsDouble(obj1);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 arg3 = (double) SWIG_AsDouble(obj2);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->base_OnEndSize(arg2,arg3);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072 }
22073
22074
22075 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22076 PyObject *obj;
22077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22078 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22079 Py_INCREF(obj);
22080 return Py_BuildValue((char *)"");
22081 }
22082 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22083 PyObject *resultobj;
22084 double arg1 = (double) 0.0 ;
22085 double arg2 = (double) 0.0 ;
22086 wxPyEllipseShape *result;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "width",(char *) "height", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22094 if (obj0) {
22095 arg1 = (double) SWIG_AsDouble(obj0);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 if (obj1) {
22099 arg2 = (double) SWIG_AsDouble(obj1);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
22110 return resultobj;
22111 fail:
22112 return NULL;
22113 }
22114
22115
22116 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22117 PyObject *resultobj;
22118 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22119 PyObject *arg2 = (PyObject *) 0 ;
22120 PyObject *arg3 = (PyObject *) 0 ;
22121 PyObject * obj0 = 0 ;
22122 PyObject * obj1 = 0 ;
22123 PyObject * obj2 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self",(char *) "self",(char *) "_class", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22131 arg2 = obj1;
22132 arg3 = obj2;
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 (arg1)->_setCallbackInfo(arg2,arg3);
22136
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 Py_INCREF(Py_None); resultobj = Py_None;
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj;
22149 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22150 wxDC *arg2 = 0 ;
22151 PyObject * obj0 = 0 ;
22152 PyObject * obj1 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self",(char *) "dc", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1)
22162 SWIG_fail;
22163 if (arg2 == NULL) {
22164 PyErr_SetString(PyExc_TypeError,"null reference");
22165 SWIG_fail;
22166 }
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 (arg1)->base_OnDraw(*arg2);
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 Py_INCREF(Py_None); resultobj = Py_None;
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj;
22183 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22184 wxDC *arg2 = 0 ;
22185 PyObject * obj0 = 0 ;
22186 PyObject * obj1 = 0 ;
22187 char *kwnames[] = {
22188 (char *) "self",(char *) "dc", NULL
22189 };
22190
22191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22195 SWIG_POINTER_EXCEPTION | 0)) == -1)
22196 SWIG_fail;
22197 if (arg2 == NULL) {
22198 PyErr_SetString(PyExc_TypeError,"null reference");
22199 SWIG_fail;
22200 }
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 (arg1)->base_OnDrawContents(*arg2);
22204
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 Py_INCREF(Py_None); resultobj = Py_None;
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22218 wxDC *arg2 = 0 ;
22219 bool arg3 = (bool) FALSE ;
22220 PyObject * obj0 = 0 ;
22221 PyObject * obj1 = 0 ;
22222 PyObject * obj2 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self",(char *) "dc",(char *) "erase", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22231 SWIG_POINTER_EXCEPTION | 0)) == -1)
22232 SWIG_fail;
22233 if (arg2 == NULL) {
22234 PyErr_SetString(PyExc_TypeError,"null reference");
22235 SWIG_fail;
22236 }
22237 if (obj2) {
22238 arg3 = (bool) SWIG_AsBool(obj2);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->base_OnDrawBranches(*arg2,arg3);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22258 wxDC *arg2 = 0 ;
22259 PyObject * obj0 = 0 ;
22260 PyObject * obj1 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self",(char *) "dc", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1)
22270 SWIG_fail;
22271 if (arg2 == NULL) {
22272 PyErr_SetString(PyExc_TypeError,"null reference");
22273 SWIG_fail;
22274 }
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 (arg1)->base_OnMoveLinks(*arg2);
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 Py_INCREF(Py_None); resultobj = Py_None;
22283 return resultobj;
22284 fail:
22285 return NULL;
22286 }
22287
22288
22289 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22292 wxDC *arg2 = 0 ;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "dc", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22303 SWIG_POINTER_EXCEPTION | 0)) == -1)
22304 SWIG_fail;
22305 if (arg2 == NULL) {
22306 PyErr_SetString(PyExc_TypeError,"null reference");
22307 SWIG_fail;
22308 }
22309 {
22310 PyThreadState* __tstate = wxPyBeginAllowThreads();
22311 (arg1)->base_OnErase(*arg2);
22312
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 Py_INCREF(Py_None); resultobj = Py_None;
22317 return resultobj;
22318 fail:
22319 return NULL;
22320 }
22321
22322
22323 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj;
22325 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22326 wxDC *arg2 = 0 ;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self",(char *) "dc", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1)
22338 SWIG_fail;
22339 if (arg2 == NULL) {
22340 PyErr_SetString(PyExc_TypeError,"null reference");
22341 SWIG_fail;
22342 }
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 (arg1)->base_OnEraseContents(*arg2);
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 Py_INCREF(Py_None); resultobj = Py_None;
22351 return resultobj;
22352 fail:
22353 return NULL;
22354 }
22355
22356
22357 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22358 PyObject *resultobj;
22359 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22360 wxDC *arg2 = 0 ;
22361 PyObject * obj0 = 0 ;
22362 PyObject * obj1 = 0 ;
22363 char *kwnames[] = {
22364 (char *) "self",(char *) "dc", NULL
22365 };
22366
22367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1)
22372 SWIG_fail;
22373 if (arg2 == NULL) {
22374 PyErr_SetString(PyExc_TypeError,"null reference");
22375 SWIG_fail;
22376 }
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 (arg1)->base_OnHighlight(*arg2);
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 Py_INCREF(Py_None); resultobj = Py_None;
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22394 double arg2 ;
22395 double arg3 ;
22396 int arg4 = (int) 0 ;
22397 int arg5 = (int) 0 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 PyObject * obj3 = 0 ;
22402 PyObject * obj4 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22410 arg2 = (double) SWIG_AsDouble(obj1);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 arg3 = (double) SWIG_AsDouble(obj2);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 if (obj3) {
22415 arg4 = (int) SWIG_AsInt(obj3);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 if (obj4) {
22419 arg5 = (int) SWIG_AsInt(obj4);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 Py_INCREF(Py_None); resultobj = Py_None;
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22439 double arg2 ;
22440 double arg3 ;
22441 int arg4 = (int) 0 ;
22442 int arg5 = (int) 0 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 PyObject * obj2 = 0 ;
22446 PyObject * obj3 = 0 ;
22447 PyObject * obj4 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22455 arg2 = (double) SWIG_AsDouble(obj1);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 arg3 = (double) SWIG_AsDouble(obj2);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 if (obj3) {
22460 arg4 = (int) SWIG_AsInt(obj3);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 if (obj4) {
22464 arg5 = (int) SWIG_AsInt(obj4);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 {
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 Py_INCREF(Py_None); resultobj = Py_None;
22475 return resultobj;
22476 fail:
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22484 double arg2 ;
22485 double arg3 ;
22486 int arg4 = (int) 0 ;
22487 int arg5 = (int) 0 ;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 PyObject * obj3 = 0 ;
22492 PyObject * obj4 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22500 arg2 = (double) SWIG_AsDouble(obj1);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 arg3 = (double) SWIG_AsDouble(obj2);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 if (obj3) {
22505 arg4 = (int) SWIG_AsInt(obj3);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 if (obj4) {
22509 arg5 = (int) SWIG_AsInt(obj4);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 }
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 Py_INCREF(Py_None); resultobj = Py_None;
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22529 double arg2 ;
22530 double arg3 ;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 PyObject * obj2 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "x",(char *) "y", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22541 arg2 = (double) SWIG_AsDouble(obj1);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 arg3 = (double) SWIG_AsDouble(obj2);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 (arg1)->base_OnSize(arg2,arg3);
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 Py_INCREF(Py_None); resultobj = Py_None;
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22562 wxDC *arg2 = 0 ;
22563 double arg3 ;
22564 double arg4 ;
22565 double arg5 ;
22566 double arg6 ;
22567 bool arg7 = (bool) True ;
22568 bool result;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 PyObject * obj2 = 0 ;
22572 PyObject * obj3 = 0 ;
22573 PyObject * obj4 = 0 ;
22574 PyObject * obj5 = 0 ;
22575 PyObject * obj6 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22584 SWIG_POINTER_EXCEPTION | 0)) == -1)
22585 SWIG_fail;
22586 if (arg2 == NULL) {
22587 PyErr_SetString(PyExc_TypeError,"null reference");
22588 SWIG_fail;
22589 }
22590 arg3 = (double) SWIG_AsDouble(obj2);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 arg4 = (double) SWIG_AsDouble(obj3);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 arg5 = (double) SWIG_AsDouble(obj4);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 arg6 = (double) SWIG_AsDouble(obj5);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 if (obj6) {
22599 arg7 = (bool) SWIG_AsBool(obj6);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 }
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22610 return resultobj;
22611 fail:
22612 return NULL;
22613 }
22614
22615
22616 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22619 wxDC *arg2 = 0 ;
22620 double arg3 ;
22621 double arg4 ;
22622 double arg5 ;
22623 double arg6 ;
22624 bool arg7 = (bool) True ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 PyObject * obj2 = 0 ;
22628 PyObject * obj3 = 0 ;
22629 PyObject * obj4 = 0 ;
22630 PyObject * obj5 = 0 ;
22631 PyObject * obj6 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22640 SWIG_POINTER_EXCEPTION | 0)) == -1)
22641 SWIG_fail;
22642 if (arg2 == NULL) {
22643 PyErr_SetString(PyExc_TypeError,"null reference");
22644 SWIG_fail;
22645 }
22646 arg3 = (double) SWIG_AsDouble(obj2);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 arg4 = (double) SWIG_AsDouble(obj3);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 arg5 = (double) SWIG_AsDouble(obj4);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 arg6 = (double) SWIG_AsDouble(obj5);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 if (obj6) {
22655 arg7 = (bool) SWIG_AsBool(obj6);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22675 bool arg2 ;
22676 double arg3 ;
22677 double arg4 ;
22678 int arg5 = (int) 0 ;
22679 int arg6 = (int) 0 ;
22680 PyObject * obj0 = 0 ;
22681 PyObject * obj1 = 0 ;
22682 PyObject * obj2 = 0 ;
22683 PyObject * obj3 = 0 ;
22684 PyObject * obj4 = 0 ;
22685 PyObject * obj5 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22693 arg2 = (bool) SWIG_AsBool(obj1);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 arg3 = (double) SWIG_AsDouble(obj2);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 arg4 = (double) SWIG_AsDouble(obj3);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 if (obj4) {
22700 arg5 = (int) SWIG_AsInt(obj4);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 if (obj5) {
22704 arg6 = (int) SWIG_AsInt(obj5);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22710
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 Py_INCREF(Py_None); resultobj = Py_None;
22715 return resultobj;
22716 fail:
22717 return NULL;
22718 }
22719
22720
22721 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22722 PyObject *resultobj;
22723 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22724 double arg2 ;
22725 double arg3 ;
22726 int arg4 = (int) 0 ;
22727 int arg5 = (int) 0 ;
22728 PyObject * obj0 = 0 ;
22729 PyObject * obj1 = 0 ;
22730 PyObject * obj2 = 0 ;
22731 PyObject * obj3 = 0 ;
22732 PyObject * obj4 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22740 arg2 = (double) SWIG_AsDouble(obj1);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 arg3 = (double) SWIG_AsDouble(obj2);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 if (obj3) {
22745 arg4 = (int) SWIG_AsInt(obj3);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 if (obj4) {
22749 arg5 = (int) SWIG_AsInt(obj4);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 Py_INCREF(Py_None); resultobj = Py_None;
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22769 double arg2 ;
22770 double arg3 ;
22771 int arg4 = (int) 0 ;
22772 int arg5 = (int) 0 ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 PyObject * obj2 = 0 ;
22776 PyObject * obj3 = 0 ;
22777 PyObject * obj4 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22785 arg2 = (double) SWIG_AsDouble(obj1);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 arg3 = (double) SWIG_AsDouble(obj2);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 if (obj3) {
22790 arg4 = (int) SWIG_AsInt(obj3);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 if (obj4) {
22794 arg5 = (int) SWIG_AsInt(obj4);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22814 bool arg2 ;
22815 double arg3 ;
22816 double arg4 ;
22817 int arg5 = (int) 0 ;
22818 int arg6 = (int) 0 ;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 PyObject * obj2 = 0 ;
22822 PyObject * obj3 = 0 ;
22823 PyObject * obj4 = 0 ;
22824 PyObject * obj5 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22832 arg2 = (bool) SWIG_AsBool(obj1);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 arg3 = (double) SWIG_AsDouble(obj2);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 arg4 = (double) SWIG_AsDouble(obj3);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 if (obj4) {
22839 arg5 = (int) SWIG_AsInt(obj4);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 if (obj5) {
22843 arg6 = (int) SWIG_AsInt(obj5);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 Py_INCREF(Py_None); resultobj = Py_None;
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22863 double arg2 ;
22864 double arg3 ;
22865 int arg4 = (int) 0 ;
22866 int arg5 = (int) 0 ;
22867 PyObject * obj0 = 0 ;
22868 PyObject * obj1 = 0 ;
22869 PyObject * obj2 = 0 ;
22870 PyObject * obj3 = 0 ;
22871 PyObject * obj4 = 0 ;
22872 char *kwnames[] = {
22873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22874 };
22875
22876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22879 arg2 = (double) SWIG_AsDouble(obj1);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 arg3 = (double) SWIG_AsDouble(obj2);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 if (obj3) {
22884 arg4 = (int) SWIG_AsInt(obj3);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 if (obj4) {
22888 arg5 = (int) SWIG_AsInt(obj4);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 Py_INCREF(Py_None); resultobj = Py_None;
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22908 double arg2 ;
22909 double arg3 ;
22910 int arg4 = (int) 0 ;
22911 int arg5 = (int) 0 ;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 PyObject * obj2 = 0 ;
22915 PyObject * obj3 = 0 ;
22916 PyObject * obj4 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 arg2 = (double) SWIG_AsDouble(obj1);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 arg3 = (double) SWIG_AsDouble(obj2);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 if (obj3) {
22929 arg4 = (int) SWIG_AsInt(obj3);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 if (obj4) {
22933 arg5 = (int) SWIG_AsInt(obj4);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 Py_INCREF(Py_None); resultobj = Py_None;
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22953 wxDC *arg2 = 0 ;
22954 double arg3 ;
22955 double arg4 ;
22956 double arg5 ;
22957 double arg6 ;
22958 PyObject * obj0 = 0 ;
22959 PyObject * obj1 = 0 ;
22960 PyObject * obj2 = 0 ;
22961 PyObject * obj3 = 0 ;
22962 PyObject * obj4 = 0 ;
22963 PyObject * obj5 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1)
22973 SWIG_fail;
22974 if (arg2 == NULL) {
22975 PyErr_SetString(PyExc_TypeError,"null reference");
22976 SWIG_fail;
22977 }
22978 arg3 = (double) SWIG_AsDouble(obj2);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 arg4 = (double) SWIG_AsDouble(obj3);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 arg5 = (double) SWIG_AsDouble(obj4);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 arg6 = (double) SWIG_AsDouble(obj5);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 {
22987 PyThreadState* __tstate = wxPyBeginAllowThreads();
22988 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22989
22990 wxPyEndAllowThreads(__tstate);
22991 if (PyErr_Occurred()) SWIG_fail;
22992 }
22993 Py_INCREF(Py_None); resultobj = Py_None;
22994 return resultobj;
22995 fail:
22996 return NULL;
22997 }
22998
22999
23000 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj;
23002 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23003 wxDC *arg2 = 0 ;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006 char *kwnames[] = {
23007 (char *) "self",(char *) "dc", NULL
23008 };
23009
23010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1)
23015 SWIG_fail;
23016 if (arg2 == NULL) {
23017 PyErr_SetString(PyExc_TypeError,"null reference");
23018 SWIG_fail;
23019 }
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 (arg1)->base_OnDrawControlPoints(*arg2);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 Py_INCREF(Py_None); resultobj = Py_None;
23028 return resultobj;
23029 fail:
23030 return NULL;
23031 }
23032
23033
23034 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23037 wxDC *arg2 = 0 ;
23038 PyObject * obj0 = 0 ;
23039 PyObject * obj1 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self",(char *) "dc", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23048 SWIG_POINTER_EXCEPTION | 0)) == -1)
23049 SWIG_fail;
23050 if (arg2 == NULL) {
23051 PyErr_SetString(PyExc_TypeError,"null reference");
23052 SWIG_fail;
23053 }
23054 {
23055 PyThreadState* __tstate = wxPyBeginAllowThreads();
23056 (arg1)->base_OnEraseControlPoints(*arg2);
23057
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 Py_INCREF(Py_None); resultobj = Py_None;
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23071 wxDC *arg2 = 0 ;
23072 bool arg3 = (bool) True ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 PyObject * obj2 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1)
23085 SWIG_fail;
23086 if (arg2 == NULL) {
23087 PyErr_SetString(PyExc_TypeError,"null reference");
23088 SWIG_fail;
23089 }
23090 if (obj2) {
23091 arg3 = (bool) SWIG_AsBool(obj2);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 (arg1)->base_OnMoveLink(*arg2,arg3);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 Py_INCREF(Py_None); resultobj = Py_None;
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23111 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23112 bool arg3 ;
23113 double arg4 ;
23114 double arg5 ;
23115 int arg6 = (int) 0 ;
23116 int arg7 = (int) 0 ;
23117 PyObject * obj0 = 0 ;
23118 PyObject * obj1 = 0 ;
23119 PyObject * obj2 = 0 ;
23120 PyObject * obj3 = 0 ;
23121 PyObject * obj4 = 0 ;
23122 PyObject * obj5 = 0 ;
23123 PyObject * obj6 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23133 arg3 = (bool) SWIG_AsBool(obj2);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 arg4 = (double) SWIG_AsDouble(obj3);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 arg5 = (double) SWIG_AsDouble(obj4);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 if (obj5) {
23140 arg6 = (int) SWIG_AsInt(obj5);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 if (obj6) {
23144 arg7 = (int) SWIG_AsInt(obj6);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 Py_INCREF(Py_None); resultobj = Py_None;
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23164 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23165 double arg3 ;
23166 double arg4 ;
23167 int arg5 = (int) 0 ;
23168 int arg6 = (int) 0 ;
23169 PyObject * obj0 = 0 ;
23170 PyObject * obj1 = 0 ;
23171 PyObject * obj2 = 0 ;
23172 PyObject * obj3 = 0 ;
23173 PyObject * obj4 = 0 ;
23174 PyObject * obj5 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23184 arg3 = (double) SWIG_AsDouble(obj2);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 arg4 = (double) SWIG_AsDouble(obj3);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 if (obj4) {
23189 arg5 = (int) SWIG_AsInt(obj4);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 if (obj5) {
23193 arg6 = (int) SWIG_AsInt(obj5);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 Py_INCREF(Py_None); resultobj = Py_None;
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23213 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23214 double arg3 ;
23215 double arg4 ;
23216 int arg5 = (int) 0 ;
23217 int arg6 = (int) 0 ;
23218 PyObject * obj0 = 0 ;
23219 PyObject * obj1 = 0 ;
23220 PyObject * obj2 = 0 ;
23221 PyObject * obj3 = 0 ;
23222 PyObject * obj4 = 0 ;
23223 PyObject * obj5 = 0 ;
23224 char *kwnames[] = {
23225 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23226 };
23227
23228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23233 arg3 = (double) SWIG_AsDouble(obj2);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 arg4 = (double) SWIG_AsDouble(obj3);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 if (obj4) {
23238 arg5 = (int) SWIG_AsInt(obj4);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 if (obj5) {
23242 arg6 = (int) SWIG_AsInt(obj5);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 Py_INCREF(Py_None); resultobj = Py_None;
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23260 PyObject *resultobj;
23261 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23262 double arg2 ;
23263 double arg3 ;
23264 PyObject * obj0 = 0 ;
23265 PyObject * obj1 = 0 ;
23266 PyObject * obj2 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "w",(char *) "h", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23274 arg2 = (double) SWIG_AsDouble(obj1);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 arg3 = (double) SWIG_AsDouble(obj2);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 (arg1)->base_OnBeginSize(arg2,arg3);
23281
23282 wxPyEndAllowThreads(__tstate);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 Py_INCREF(Py_None); resultobj = Py_None;
23286 return resultobj;
23287 fail:
23288 return NULL;
23289 }
23290
23291
23292 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23293 PyObject *resultobj;
23294 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23295 double arg2 ;
23296 double arg3 ;
23297 PyObject * obj0 = 0 ;
23298 PyObject * obj1 = 0 ;
23299 PyObject * obj2 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self",(char *) "w",(char *) "h", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23307 arg2 = (double) SWIG_AsDouble(obj1);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 arg3 = (double) SWIG_AsDouble(obj2);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 (arg1)->base_OnEndSize(arg2,arg3);
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 Py_INCREF(Py_None); resultobj = Py_None;
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23326 PyObject *obj;
23327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23328 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23329 Py_INCREF(obj);
23330 return Py_BuildValue((char *)"");
23331 }
23332 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 double arg1 = (double) 0.0 ;
23335 wxPyCircleShape *result;
23336 PyObject * obj0 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "width", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23342 if (obj0) {
23343 arg1 = (double) SWIG_AsDouble(obj0);
23344 if (PyErr_Occurred()) SWIG_fail;
23345 }
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
23354 return resultobj;
23355 fail:
23356 return NULL;
23357 }
23358
23359
23360 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23361 PyObject *resultobj;
23362 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23363 PyObject *arg2 = (PyObject *) 0 ;
23364 PyObject *arg3 = (PyObject *) 0 ;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
23367 PyObject * obj2 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "self",(char *) "_class", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23375 arg2 = obj1;
23376 arg3 = obj2;
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 (arg1)->_setCallbackInfo(arg2,arg3);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23394 wxDC *arg2 = 0 ;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj1 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "dc", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1)
23406 SWIG_fail;
23407 if (arg2 == NULL) {
23408 PyErr_SetString(PyExc_TypeError,"null reference");
23409 SWIG_fail;
23410 }
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 (arg1)->base_OnDraw(*arg2);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 Py_INCREF(Py_None); resultobj = Py_None;
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23428 wxDC *arg2 = 0 ;
23429 PyObject * obj0 = 0 ;
23430 PyObject * obj1 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self",(char *) "dc", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23439 SWIG_POINTER_EXCEPTION | 0)) == -1)
23440 SWIG_fail;
23441 if (arg2 == NULL) {
23442 PyErr_SetString(PyExc_TypeError,"null reference");
23443 SWIG_fail;
23444 }
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 (arg1)->base_OnDrawContents(*arg2);
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 Py_INCREF(Py_None); resultobj = Py_None;
23453 return resultobj;
23454 fail:
23455 return NULL;
23456 }
23457
23458
23459 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23460 PyObject *resultobj;
23461 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23462 wxDC *arg2 = 0 ;
23463 bool arg3 = (bool) FALSE ;
23464 PyObject * obj0 = 0 ;
23465 PyObject * obj1 = 0 ;
23466 PyObject * obj2 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self",(char *) "dc",(char *) "erase", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23475 SWIG_POINTER_EXCEPTION | 0)) == -1)
23476 SWIG_fail;
23477 if (arg2 == NULL) {
23478 PyErr_SetString(PyExc_TypeError,"null reference");
23479 SWIG_fail;
23480 }
23481 if (obj2) {
23482 arg3 = (bool) SWIG_AsBool(obj2);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 (arg1)->base_OnDrawBranches(*arg2,arg3);
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 Py_INCREF(Py_None); resultobj = Py_None;
23493 return resultobj;
23494 fail:
23495 return NULL;
23496 }
23497
23498
23499 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23502 wxDC *arg2 = 0 ;
23503 PyObject * obj0 = 0 ;
23504 PyObject * obj1 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "dc", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1)
23514 SWIG_fail;
23515 if (arg2 == NULL) {
23516 PyErr_SetString(PyExc_TypeError,"null reference");
23517 SWIG_fail;
23518 }
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 (arg1)->base_OnMoveLinks(*arg2);
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 Py_INCREF(Py_None); resultobj = Py_None;
23527 return resultobj;
23528 fail:
23529 return NULL;
23530 }
23531
23532
23533 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23536 wxDC *arg2 = 0 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "dc", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1)
23548 SWIG_fail;
23549 if (arg2 == NULL) {
23550 PyErr_SetString(PyExc_TypeError,"null reference");
23551 SWIG_fail;
23552 }
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 (arg1)->base_OnErase(*arg2);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 Py_INCREF(Py_None); resultobj = Py_None;
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23570 wxDC *arg2 = 0 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "dc", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1)
23582 SWIG_fail;
23583 if (arg2 == NULL) {
23584 PyErr_SetString(PyExc_TypeError,"null reference");
23585 SWIG_fail;
23586 }
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 (arg1)->base_OnEraseContents(*arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23604 wxDC *arg2 = 0 ;
23605 PyObject * obj0 = 0 ;
23606 PyObject * obj1 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self",(char *) "dc", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23615 SWIG_POINTER_EXCEPTION | 0)) == -1)
23616 SWIG_fail;
23617 if (arg2 == NULL) {
23618 PyErr_SetString(PyExc_TypeError,"null reference");
23619 SWIG_fail;
23620 }
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 (arg1)->base_OnHighlight(*arg2);
23624
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
23628 Py_INCREF(Py_None); resultobj = Py_None;
23629 return resultobj;
23630 fail:
23631 return NULL;
23632 }
23633
23634
23635 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj;
23637 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23638 double arg2 ;
23639 double arg3 ;
23640 int arg4 = (int) 0 ;
23641 int arg5 = (int) 0 ;
23642 PyObject * obj0 = 0 ;
23643 PyObject * obj1 = 0 ;
23644 PyObject * obj2 = 0 ;
23645 PyObject * obj3 = 0 ;
23646 PyObject * obj4 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23654 arg2 = (double) SWIG_AsDouble(obj1);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 arg3 = (double) SWIG_AsDouble(obj2);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 if (obj3) {
23659 arg4 = (int) SWIG_AsInt(obj3);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 if (obj4) {
23663 arg5 = (int) SWIG_AsInt(obj4);
23664 if (PyErr_Occurred()) SWIG_fail;
23665 }
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 Py_INCREF(Py_None); resultobj = Py_None;
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23683 double arg2 ;
23684 double arg3 ;
23685 int arg4 = (int) 0 ;
23686 int arg5 = (int) 0 ;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 PyObject * obj2 = 0 ;
23690 PyObject * obj3 = 0 ;
23691 PyObject * obj4 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23699 arg2 = (double) SWIG_AsDouble(obj1);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 arg3 = (double) SWIG_AsDouble(obj2);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 if (obj3) {
23704 arg4 = (int) SWIG_AsInt(obj3);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 if (obj4) {
23708 arg5 = (int) SWIG_AsInt(obj4);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 Py_INCREF(Py_None); resultobj = Py_None;
23719 return resultobj;
23720 fail:
23721 return NULL;
23722 }
23723
23724
23725 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23726 PyObject *resultobj;
23727 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23728 double arg2 ;
23729 double arg3 ;
23730 int arg4 = (int) 0 ;
23731 int arg5 = (int) 0 ;
23732 PyObject * obj0 = 0 ;
23733 PyObject * obj1 = 0 ;
23734 PyObject * obj2 = 0 ;
23735 PyObject * obj3 = 0 ;
23736 PyObject * obj4 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 arg2 = (double) SWIG_AsDouble(obj1);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 arg3 = (double) SWIG_AsDouble(obj2);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 if (obj3) {
23749 arg4 = (int) SWIG_AsInt(obj3);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 if (obj4) {
23753 arg5 = (int) SWIG_AsInt(obj4);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767 }
23768
23769
23770 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23773 double arg2 ;
23774 double arg3 ;
23775 PyObject * obj0 = 0 ;
23776 PyObject * obj1 = 0 ;
23777 PyObject * obj2 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self",(char *) "x",(char *) "y", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23785 arg2 = (double) SWIG_AsDouble(obj1);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 arg3 = (double) SWIG_AsDouble(obj2);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 (arg1)->base_OnSize(arg2,arg3);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 Py_INCREF(Py_None); resultobj = Py_None;
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23806 wxDC *arg2 = 0 ;
23807 double arg3 ;
23808 double arg4 ;
23809 double arg5 ;
23810 double arg6 ;
23811 bool arg7 = (bool) True ;
23812 bool result;
23813 PyObject * obj0 = 0 ;
23814 PyObject * obj1 = 0 ;
23815 PyObject * obj2 = 0 ;
23816 PyObject * obj3 = 0 ;
23817 PyObject * obj4 = 0 ;
23818 PyObject * obj5 = 0 ;
23819 PyObject * obj6 = 0 ;
23820 char *kwnames[] = {
23821 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23822 };
23823
23824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1)
23829 SWIG_fail;
23830 if (arg2 == NULL) {
23831 PyErr_SetString(PyExc_TypeError,"null reference");
23832 SWIG_fail;
23833 }
23834 arg3 = (double) SWIG_AsDouble(obj2);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 arg4 = (double) SWIG_AsDouble(obj3);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 arg5 = (double) SWIG_AsDouble(obj4);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 arg6 = (double) SWIG_AsDouble(obj5);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 if (obj6) {
23843 arg7 = (bool) SWIG_AsBool(obj6);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 {
23847 PyThreadState* __tstate = wxPyBeginAllowThreads();
23848 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23849
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj;
23862 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23863 wxDC *arg2 = 0 ;
23864 double arg3 ;
23865 double arg4 ;
23866 double arg5 ;
23867 double arg6 ;
23868 bool arg7 = (bool) True ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 PyObject * obj2 = 0 ;
23872 PyObject * obj3 = 0 ;
23873 PyObject * obj4 = 0 ;
23874 PyObject * obj5 = 0 ;
23875 PyObject * obj6 = 0 ;
23876 char *kwnames[] = {
23877 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1)
23885 SWIG_fail;
23886 if (arg2 == NULL) {
23887 PyErr_SetString(PyExc_TypeError,"null reference");
23888 SWIG_fail;
23889 }
23890 arg3 = (double) SWIG_AsDouble(obj2);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 arg4 = (double) SWIG_AsDouble(obj3);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 arg5 = (double) SWIG_AsDouble(obj4);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 arg6 = (double) SWIG_AsDouble(obj5);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 if (obj6) {
23899 arg7 = (bool) SWIG_AsBool(obj6);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 Py_INCREF(Py_None); resultobj = Py_None;
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23919 bool arg2 ;
23920 double arg3 ;
23921 double arg4 ;
23922 int arg5 = (int) 0 ;
23923 int arg6 = (int) 0 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 PyObject * obj2 = 0 ;
23927 PyObject * obj3 = 0 ;
23928 PyObject * obj4 = 0 ;
23929 PyObject * obj5 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 arg2 = (bool) SWIG_AsBool(obj1);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 arg3 = (double) SWIG_AsDouble(obj2);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 arg4 = (double) SWIG_AsDouble(obj3);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 if (obj4) {
23944 arg5 = (int) SWIG_AsInt(obj4);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 if (obj5) {
23948 arg6 = (int) SWIG_AsInt(obj5);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 Py_INCREF(Py_None); resultobj = Py_None;
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23968 double arg2 ;
23969 double arg3 ;
23970 int arg4 = (int) 0 ;
23971 int arg5 = (int) 0 ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 PyObject * obj2 = 0 ;
23975 PyObject * obj3 = 0 ;
23976 PyObject * obj4 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23984 arg2 = (double) SWIG_AsDouble(obj1);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 arg3 = (double) SWIG_AsDouble(obj2);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 if (obj3) {
23989 arg4 = (int) SWIG_AsInt(obj3);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 if (obj4) {
23993 arg5 = (int) SWIG_AsInt(obj4);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 Py_INCREF(Py_None); resultobj = Py_None;
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24013 double arg2 ;
24014 double arg3 ;
24015 int arg4 = (int) 0 ;
24016 int arg5 = (int) 0 ;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 PyObject * obj2 = 0 ;
24020 PyObject * obj3 = 0 ;
24021 PyObject * obj4 = 0 ;
24022 char *kwnames[] = {
24023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24024 };
24025
24026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24029 arg2 = (double) SWIG_AsDouble(obj1);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 arg3 = (double) SWIG_AsDouble(obj2);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 if (obj3) {
24034 arg4 = (int) SWIG_AsInt(obj3);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 if (obj4) {
24038 arg5 = (int) SWIG_AsInt(obj4);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 Py_INCREF(Py_None); resultobj = Py_None;
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24058 bool arg2 ;
24059 double arg3 ;
24060 double arg4 ;
24061 int arg5 = (int) 0 ;
24062 int arg6 = (int) 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 PyObject * obj2 = 0 ;
24066 PyObject * obj3 = 0 ;
24067 PyObject * obj4 = 0 ;
24068 PyObject * obj5 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24076 arg2 = (bool) SWIG_AsBool(obj1);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 arg3 = (double) SWIG_AsDouble(obj2);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 arg4 = (double) SWIG_AsDouble(obj3);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 if (obj4) {
24083 arg5 = (int) SWIG_AsInt(obj4);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 if (obj5) {
24087 arg6 = (int) SWIG_AsInt(obj5);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 Py_INCREF(Py_None); resultobj = Py_None;
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24107 double arg2 ;
24108 double arg3 ;
24109 int arg4 = (int) 0 ;
24110 int arg5 = (int) 0 ;
24111 PyObject * obj0 = 0 ;
24112 PyObject * obj1 = 0 ;
24113 PyObject * obj2 = 0 ;
24114 PyObject * obj3 = 0 ;
24115 PyObject * obj4 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24123 arg2 = (double) SWIG_AsDouble(obj1);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 arg3 = (double) SWIG_AsDouble(obj2);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 if (obj3) {
24128 arg4 = (int) SWIG_AsInt(obj3);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 if (obj4) {
24132 arg5 = (int) SWIG_AsInt(obj4);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 Py_INCREF(Py_None); resultobj = Py_None;
24143 return resultobj;
24144 fail:
24145 return NULL;
24146 }
24147
24148
24149 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24152 double arg2 ;
24153 double arg3 ;
24154 int arg4 = (int) 0 ;
24155 int arg5 = (int) 0 ;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 PyObject * obj3 = 0 ;
24160 PyObject * obj4 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24168 arg2 = (double) SWIG_AsDouble(obj1);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 arg3 = (double) SWIG_AsDouble(obj2);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 if (obj3) {
24173 arg4 = (int) SWIG_AsInt(obj3);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 if (obj4) {
24177 arg5 = (int) SWIG_AsInt(obj4);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 {
24181 PyThreadState* __tstate = wxPyBeginAllowThreads();
24182 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24183
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 Py_INCREF(Py_None); resultobj = Py_None;
24188 return resultobj;
24189 fail:
24190 return NULL;
24191 }
24192
24193
24194 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24195 PyObject *resultobj;
24196 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24197 wxDC *arg2 = 0 ;
24198 double arg3 ;
24199 double arg4 ;
24200 double arg5 ;
24201 double arg6 ;
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 PyObject * obj2 = 0 ;
24205 PyObject * obj3 = 0 ;
24206 PyObject * obj4 = 0 ;
24207 PyObject * obj5 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24216 SWIG_POINTER_EXCEPTION | 0)) == -1)
24217 SWIG_fail;
24218 if (arg2 == NULL) {
24219 PyErr_SetString(PyExc_TypeError,"null reference");
24220 SWIG_fail;
24221 }
24222 arg3 = (double) SWIG_AsDouble(obj2);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 arg4 = (double) SWIG_AsDouble(obj3);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 arg5 = (double) SWIG_AsDouble(obj4);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 arg6 = (double) SWIG_AsDouble(obj5);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24247 wxDC *arg2 = 0 ;
24248 PyObject * obj0 = 0 ;
24249 PyObject * obj1 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self",(char *) "dc", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1)
24259 SWIG_fail;
24260 if (arg2 == NULL) {
24261 PyErr_SetString(PyExc_TypeError,"null reference");
24262 SWIG_fail;
24263 }
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 (arg1)->base_OnDrawControlPoints(*arg2);
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 Py_INCREF(Py_None); resultobj = Py_None;
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24281 wxDC *arg2 = 0 ;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 char *kwnames[] = {
24285 (char *) "self",(char *) "dc", NULL
24286 };
24287
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24292 SWIG_POINTER_EXCEPTION | 0)) == -1)
24293 SWIG_fail;
24294 if (arg2 == NULL) {
24295 PyErr_SetString(PyExc_TypeError,"null reference");
24296 SWIG_fail;
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->base_OnEraseControlPoints(*arg2);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 Py_INCREF(Py_None); resultobj = Py_None;
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24315 wxDC *arg2 = 0 ;
24316 bool arg3 = (bool) True ;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 PyObject * obj2 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24328 SWIG_POINTER_EXCEPTION | 0)) == -1)
24329 SWIG_fail;
24330 if (arg2 == NULL) {
24331 PyErr_SetString(PyExc_TypeError,"null reference");
24332 SWIG_fail;
24333 }
24334 if (obj2) {
24335 arg3 = (bool) SWIG_AsBool(obj2);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 (arg1)->base_OnMoveLink(*arg2,arg3);
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 Py_INCREF(Py_None); resultobj = Py_None;
24346 return resultobj;
24347 fail:
24348 return NULL;
24349 }
24350
24351
24352 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj;
24354 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24355 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24356 bool arg3 ;
24357 double arg4 ;
24358 double arg5 ;
24359 int arg6 = (int) 0 ;
24360 int arg7 = (int) 0 ;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 PyObject * obj2 = 0 ;
24364 PyObject * obj3 = 0 ;
24365 PyObject * obj4 = 0 ;
24366 PyObject * obj5 = 0 ;
24367 PyObject * obj6 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24377 arg3 = (bool) SWIG_AsBool(obj2);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 arg4 = (double) SWIG_AsDouble(obj3);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 arg5 = (double) SWIG_AsDouble(obj4);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 if (obj5) {
24384 arg6 = (int) SWIG_AsInt(obj5);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 if (obj6) {
24388 arg7 = (int) SWIG_AsInt(obj6);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 {
24392 PyThreadState* __tstate = wxPyBeginAllowThreads();
24393 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24394
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 Py_INCREF(Py_None); resultobj = Py_None;
24399 return resultobj;
24400 fail:
24401 return NULL;
24402 }
24403
24404
24405 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj;
24407 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24408 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24409 double arg3 ;
24410 double arg4 ;
24411 int arg5 = (int) 0 ;
24412 int arg6 = (int) 0 ;
24413 PyObject * obj0 = 0 ;
24414 PyObject * obj1 = 0 ;
24415 PyObject * obj2 = 0 ;
24416 PyObject * obj3 = 0 ;
24417 PyObject * obj4 = 0 ;
24418 PyObject * obj5 = 0 ;
24419 char *kwnames[] = {
24420 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24421 };
24422
24423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24428 arg3 = (double) SWIG_AsDouble(obj2);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 arg4 = (double) SWIG_AsDouble(obj3);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 if (obj4) {
24433 arg5 = (int) SWIG_AsInt(obj4);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 if (obj5) {
24437 arg6 = (int) SWIG_AsInt(obj5);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 Py_INCREF(Py_None); resultobj = Py_None;
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24457 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24458 double arg3 ;
24459 double arg4 ;
24460 int arg5 = (int) 0 ;
24461 int arg6 = (int) 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 PyObject * obj2 = 0 ;
24465 PyObject * obj3 = 0 ;
24466 PyObject * obj4 = 0 ;
24467 PyObject * obj5 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24477 arg3 = (double) SWIG_AsDouble(obj2);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 arg4 = (double) SWIG_AsDouble(obj3);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 if (obj4) {
24482 arg5 = (int) SWIG_AsInt(obj4);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 if (obj5) {
24486 arg6 = (int) SWIG_AsInt(obj5);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 Py_INCREF(Py_None); resultobj = Py_None;
24497 return resultobj;
24498 fail:
24499 return NULL;
24500 }
24501
24502
24503 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24504 PyObject *resultobj;
24505 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24506 double arg2 ;
24507 double arg3 ;
24508 PyObject * obj0 = 0 ;
24509 PyObject * obj1 = 0 ;
24510 PyObject * obj2 = 0 ;
24511 char *kwnames[] = {
24512 (char *) "self",(char *) "w",(char *) "h", NULL
24513 };
24514
24515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24518 arg2 = (double) SWIG_AsDouble(obj1);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 arg3 = (double) SWIG_AsDouble(obj2);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 (arg1)->base_OnBeginSize(arg2,arg3);
24525
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 Py_INCREF(Py_None); resultobj = Py_None;
24530 return resultobj;
24531 fail:
24532 return NULL;
24533 }
24534
24535
24536 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24537 PyObject *resultobj;
24538 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24539 double arg2 ;
24540 double arg3 ;
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "w",(char *) "h", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 arg2 = (double) SWIG_AsDouble(obj1);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 arg3 = (double) SWIG_AsDouble(obj2);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->base_OnEndSize(arg2,arg3);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
24570 PyObject *obj;
24571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24572 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24573 Py_INCREF(obj);
24574 return Py_BuildValue((char *)"");
24575 }
24576 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 int arg1 = (int) 0 ;
24579 int arg2 = (int) 0 ;
24580 double arg3 = (double) 0.0 ;
24581 double arg4 = (double) 0.0 ;
24582 wxString const &arg5_defvalue = wxPyEmptyString ;
24583 wxString *arg5 = (wxString *) &arg5_defvalue ;
24584 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24585 long arg7 = (long) -1 ;
24586 wxArrowHead *result;
24587 bool temp5 = False ;
24588 PyObject * obj0 = 0 ;
24589 PyObject * obj1 = 0 ;
24590 PyObject * obj2 = 0 ;
24591 PyObject * obj3 = 0 ;
24592 PyObject * obj4 = 0 ;
24593 PyObject * obj5 = 0 ;
24594 PyObject * obj6 = 0 ;
24595 char *kwnames[] = {
24596 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24597 };
24598
24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24600 if (obj0) {
24601 arg1 = (int) SWIG_AsInt(obj0);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 if (obj1) {
24605 arg2 = (int) SWIG_AsInt(obj1);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 if (obj2) {
24609 arg3 = (double) SWIG_AsDouble(obj2);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 if (obj3) {
24613 arg4 = (double) SWIG_AsDouble(obj3);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 if (obj4) {
24617 {
24618 arg5 = wxString_in_helper(obj4);
24619 if (arg5 == NULL) SWIG_fail;
24620 temp5 = True;
24621 }
24622 }
24623 if (obj5) {
24624 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24626 }
24627 if (obj6) {
24628 arg7 = (long) SWIG_AsLong(obj6);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 {
24639 resultobj = wxPyMake_wxObject(result);
24640 }
24641 {
24642 if (temp5)
24643 delete arg5;
24644 }
24645 return resultobj;
24646 fail:
24647 {
24648 if (temp5)
24649 delete arg5;
24650 }
24651 return NULL;
24652 }
24653
24654
24655 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24656 PyObject *resultobj;
24657 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
24664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 delete arg1;
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 return resultobj;
24675 fail:
24676 return NULL;
24677 }
24678
24679
24680 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj;
24682 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24683 int result;
24684 PyObject * obj0 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 result = (int)(arg1)->_GetType();
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 resultobj = SWIG_FromInt((int)result);
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24709 int result;
24710 PyObject * obj0 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
24716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (int)(arg1)->GetPosition();
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 resultobj = SWIG_FromInt((int)result);
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj;
24734 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24735 int arg2 ;
24736 PyObject * obj0 = 0 ;
24737 PyObject * obj1 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self",(char *) "pos", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24745 arg2 = (int) SWIG_AsInt(obj1);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 (arg1)->SetPosition(arg2);
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 Py_INCREF(Py_None); resultobj = Py_None;
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24762 PyObject *resultobj;
24763 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24764 double result;
24765 PyObject * obj0 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
24771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24773 {
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 result = (double)(arg1)->GetXOffset();
24776
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 resultobj = SWIG_FromDouble((double)result);
24781 return resultobj;
24782 fail:
24783 return NULL;
24784 }
24785
24786
24787 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24788 PyObject *resultobj;
24789 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24790 double result;
24791 PyObject * obj0 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
24797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 result = (double)(arg1)->GetYOffset();
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 resultobj = SWIG_FromDouble((double)result);
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj;
24815 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24816 double result;
24817 PyObject * obj0 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
24823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (double)(arg1)->GetSpacing();
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 resultobj = SWIG_FromDouble((double)result);
24833 return resultobj;
24834 fail:
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24842 double result;
24843 PyObject * obj0 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
24849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 result = (double)(arg1)->GetSize();
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 resultobj = SWIG_FromDouble((double)result);
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24868 wxString result;
24869 PyObject * obj0 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (arg1)->GetName();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 {
24885 #if wxUSE_UNICODE
24886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24887 #else
24888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24889 #endif
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24900 double arg2 ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self",(char *) "x", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24910 arg2 = (double) SWIG_AsDouble(obj1);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->SetXOffset(arg2);
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj;
24928 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24929 double arg2 ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self",(char *) "y", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
24937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24939 arg2 = (double) SWIG_AsDouble(obj1);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 (arg1)->SetYOffset(arg2);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 return resultobj;
24950 fail:
24951 return NULL;
24952 }
24953
24954
24955 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
24956 PyObject *resultobj;
24957 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24958 wxPseudoMetaFile *result;
24959 PyObject * obj0 = 0 ;
24960 char *kwnames[] = {
24961 (char *) "self", NULL
24962 };
24963
24964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
24965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 {
24975 resultobj = wxPyMake_wxObject(result);
24976 }
24977 return resultobj;
24978 fail:
24979 return NULL;
24980 }
24981
24982
24983 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj;
24985 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24986 long result;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (long)(arg1)->GetId();
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 resultobj = SWIG_FromLong((long)result);
25003 return resultobj;
25004 fail:
25005 return NULL;
25006 }
25007
25008
25009 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25012 int result;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (int)(arg1)->GetArrowEnd();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 resultobj = SWIG_FromInt((int)result);
25029 return resultobj;
25030 fail:
25031 return NULL;
25032 }
25033
25034
25035 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj;
25037 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25038 double result;
25039 PyObject * obj0 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "self", NULL
25042 };
25043
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (double)(arg1)->GetArrowSize();
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 resultobj = SWIG_FromDouble((double)result);
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25062 PyObject *resultobj;
25063 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25064 double arg2 ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char *kwnames[] = {
25068 (char *) "self",(char *) "size", NULL
25069 };
25070
25071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25074 arg2 = (double) SWIG_AsDouble(obj1);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->SetSize(arg2);
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 Py_INCREF(Py_None); resultobj = Py_None;
25084 return resultobj;
25085 fail:
25086 return NULL;
25087 }
25088
25089
25090 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25093 double arg2 ;
25094 PyObject * obj0 = 0 ;
25095 PyObject * obj1 = 0 ;
25096 char *kwnames[] = {
25097 (char *) "self",(char *) "sp", NULL
25098 };
25099
25100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25103 arg2 = (double) SWIG_AsDouble(obj1);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 (arg1)->SetSpacing(arg2);
25108
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 Py_INCREF(Py_None); resultobj = Py_None;
25113 return resultobj;
25114 fail:
25115 return NULL;
25116 }
25117
25118
25119 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25120 PyObject *obj;
25121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25123 Py_INCREF(obj);
25124 return Py_BuildValue((char *)"");
25125 }
25126 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxPyLineShape *result;
25129 char *kwnames[] = {
25130 NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 result = (wxPyLineShape *)new wxPyLineShape();
25137
25138 wxPyEndAllowThreads(__tstate);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
25141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
25142 return resultobj;
25143 fail:
25144 return NULL;
25145 }
25146
25147
25148 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25151 PyObject *arg2 = (PyObject *) 0 ;
25152 PyObject *arg3 = (PyObject *) 0 ;
25153 PyObject * obj0 = 0 ;
25154 PyObject * obj1 = 0 ;
25155 PyObject * obj2 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "self",(char *) "_class", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25163 arg2 = obj1;
25164 arg3 = obj2;
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 (arg1)->_setCallbackInfo(arg2,arg3);
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_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj;
25181 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25182 int arg2 ;
25183 int arg3 = (int) ARROW_POSITION_END ;
25184 double arg4 = (double) 10.0 ;
25185 double arg5 = (double) 0.0 ;
25186 wxString const &arg6_defvalue = wxPyEmptyString ;
25187 wxString *arg6 = (wxString *) &arg6_defvalue ;
25188 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25189 long arg8 = (long) -1 ;
25190 bool temp6 = False ;
25191 PyObject * obj0 = 0 ;
25192 PyObject * obj1 = 0 ;
25193 PyObject * obj2 = 0 ;
25194 PyObject * obj3 = 0 ;
25195 PyObject * obj4 = 0 ;
25196 PyObject * obj5 = 0 ;
25197 PyObject * obj6 = 0 ;
25198 PyObject * obj7 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25206 arg2 = (int) SWIG_AsInt(obj1);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 if (obj2) {
25209 arg3 = (int) SWIG_AsInt(obj2);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 if (obj3) {
25213 arg4 = (double) SWIG_AsDouble(obj3);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 if (obj4) {
25217 arg5 = (double) SWIG_AsDouble(obj4);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 if (obj5) {
25221 {
25222 arg6 = wxString_in_helper(obj5);
25223 if (arg6 == NULL) SWIG_fail;
25224 temp6 = True;
25225 }
25226 }
25227 if (obj6) {
25228 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25230 }
25231 if (obj7) {
25232 arg8 = (long) SWIG_AsLong(obj7);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25238
25239 wxPyEndAllowThreads(__tstate);
25240 if (PyErr_Occurred()) SWIG_fail;
25241 }
25242 Py_INCREF(Py_None); resultobj = Py_None;
25243 {
25244 if (temp6)
25245 delete arg6;
25246 }
25247 return resultobj;
25248 fail:
25249 {
25250 if (temp6)
25251 delete arg6;
25252 }
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25260 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25261 PyObject *arg3 = (PyObject *) 0 ;
25262 int arg4 ;
25263 PyObject * obj0 = 0 ;
25264 PyObject * obj1 = 0 ;
25265 PyObject * obj2 = 0 ;
25266 PyObject * obj3 = 0 ;
25267 char *kwnames[] = {
25268 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25269 };
25270
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25276 arg3 = obj2;
25277 arg4 = (int) SWIG_AsInt(obj3);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25282
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 Py_INCREF(Py_None); resultobj = Py_None;
25287 return resultobj;
25288 fail:
25289 return NULL;
25290 }
25291
25292
25293 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25296 wxString *arg2 = 0 ;
25297 bool result;
25298 bool temp2 = False ;
25299 PyObject * obj0 = 0 ;
25300 PyObject * obj1 = 0 ;
25301 char *kwnames[] = {
25302 (char *) "self",(char *) "name", NULL
25303 };
25304
25305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
25306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25308 {
25309 arg2 = wxString_in_helper(obj1);
25310 if (arg2 == NULL) SWIG_fail;
25311 temp2 = True;
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25321 {
25322 if (temp2)
25323 delete arg2;
25324 }
25325 return resultobj;
25326 fail:
25327 {
25328 if (temp2)
25329 delete arg2;
25330 }
25331 return NULL;
25332 }
25333
25334
25335 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25336 PyObject *resultobj;
25337 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25338 int arg2 = (int) -1 ;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self",(char *) "position", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
25346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25348 if (obj1) {
25349 arg2 = (int) SWIG_AsInt(obj1);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 (arg1)->ClearArrowsAtPosition(arg2);
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 Py_INCREF(Py_None); resultobj = Py_None;
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj;
25368 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25369 wxDC *arg2 = 0 ;
25370 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25371 double arg4 ;
25372 bool arg5 ;
25373 PyObject * obj0 = 0 ;
25374 PyObject * obj1 = 0 ;
25375 PyObject * obj2 = 0 ;
25376 PyObject * obj3 = 0 ;
25377 PyObject * obj4 = 0 ;
25378 char *kwnames[] = {
25379 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25380 };
25381
25382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25386 SWIG_POINTER_EXCEPTION | 0)) == -1)
25387 SWIG_fail;
25388 if (arg2 == NULL) {
25389 PyErr_SetString(PyExc_TypeError,"null reference");
25390 SWIG_fail;
25391 }
25392 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25394 arg4 = (double) SWIG_AsDouble(obj3);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 arg5 = (bool) SWIG_AsBool(obj4);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 Py_INCREF(Py_None); resultobj = Py_None;
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25415 long arg2 ;
25416 bool result;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char *kwnames[] = {
25420 (char *) "self",(char *) "arrowId", NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25426 arg2 = (long) SWIG_AsLong(obj1);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 result = (bool)(arg1)->DeleteArrowHead(arg2);
25431
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25436 return resultobj;
25437 fail:
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25445 int arg2 ;
25446 wxString *arg3 = 0 ;
25447 bool result;
25448 bool temp3 = False ;
25449 PyObject * obj0 = 0 ;
25450 PyObject * obj1 = 0 ;
25451 PyObject * obj2 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "position",(char *) "name", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25459 arg2 = (int) SWIG_AsInt(obj1);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 {
25462 arg3 = wxString_in_helper(obj2);
25463 if (arg3 == NULL) SWIG_fail;
25464 temp3 = True;
25465 }
25466 {
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25474 {
25475 if (temp3)
25476 delete arg3;
25477 }
25478 return resultobj;
25479 fail:
25480 {
25481 if (temp3)
25482 delete arg3;
25483 }
25484 return NULL;
25485 }
25486
25487
25488 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25491 bool result;
25492 PyObject * obj0 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
25498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 result = (bool)(arg1)->DeleteLineControlPoint();
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25508 return resultobj;
25509 fail:
25510 return NULL;
25511 }
25512
25513
25514 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
25515 PyObject *resultobj;
25516 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25517 wxDC *arg2 = 0 ;
25518 PyObject * obj0 = 0 ;
25519 PyObject * obj1 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self",(char *) "dc", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
25525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25528 SWIG_POINTER_EXCEPTION | 0)) == -1)
25529 SWIG_fail;
25530 if (arg2 == NULL) {
25531 PyErr_SetString(PyExc_TypeError,"null reference");
25532 SWIG_fail;
25533 }
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 (arg1)->DrawArrows(*arg2);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 Py_INCREF(Py_None); resultobj = Py_None;
25542 return resultobj;
25543 fail:
25544 return NULL;
25545 }
25546
25547
25548 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25549 PyObject *resultobj;
25550 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25551 wxDC *arg2 = 0 ;
25552 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25553 double arg4 ;
25554 double arg5 ;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 PyObject * obj2 = 0 ;
25558 PyObject * obj3 = 0 ;
25559 PyObject * obj4 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25568 SWIG_POINTER_EXCEPTION | 0)) == -1)
25569 SWIG_fail;
25570 if (arg2 == NULL) {
25571 PyErr_SetString(PyExc_TypeError,"null reference");
25572 SWIG_fail;
25573 }
25574 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25576 arg4 = (double) SWIG_AsDouble(obj3);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 arg5 = (double) SWIG_AsDouble(obj4);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 Py_INCREF(Py_None); resultobj = Py_None;
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25595 PyObject *resultobj;
25596 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25597 wxDC *arg2 = 0 ;
25598 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25599 double arg4 ;
25600 double arg5 ;
25601 PyObject * obj0 = 0 ;
25602 PyObject * obj1 = 0 ;
25603 PyObject * obj2 = 0 ;
25604 PyObject * obj3 = 0 ;
25605 PyObject * obj4 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25614 SWIG_POINTER_EXCEPTION | 0)) == -1)
25615 SWIG_fail;
25616 if (arg2 == NULL) {
25617 PyErr_SetString(PyExc_TypeError,"null reference");
25618 SWIG_fail;
25619 }
25620 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25622 arg4 = (double) SWIG_AsDouble(obj3);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 arg5 = (double) SWIG_AsDouble(obj4);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 Py_INCREF(Py_None); resultobj = Py_None;
25634 return resultobj;
25635 fail:
25636 return NULL;
25637 }
25638
25639
25640 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25641 PyObject *resultobj;
25642 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25643 long arg2 ;
25644 wxArrowHead *result;
25645 PyObject * obj0 = 0 ;
25646 PyObject * obj1 = 0 ;
25647 char *kwnames[] = {
25648 (char *) "self",(char *) "arrowId", NULL
25649 };
25650
25651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25654 arg2 = (long) SWIG_AsLong(obj1);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 {
25657 PyThreadState* __tstate = wxPyBeginAllowThreads();
25658 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25659
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 {
25664 resultobj = wxPyMake_wxObject(result);
25665 }
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25675 int arg2 ;
25676 wxString *arg3 = 0 ;
25677 wxArrowHead *result;
25678 bool temp3 = False ;
25679 PyObject * obj0 = 0 ;
25680 PyObject * obj1 = 0 ;
25681 PyObject * obj2 = 0 ;
25682 char *kwnames[] = {
25683 (char *) "self",(char *) "position",(char *) "name", NULL
25684 };
25685
25686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25689 arg2 = (int) SWIG_AsInt(obj1);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 {
25692 arg3 = wxString_in_helper(obj2);
25693 if (arg3 == NULL) SWIG_fail;
25694 temp3 = True;
25695 }
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25699
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 {
25704 resultobj = wxPyMake_wxObject(result);
25705 }
25706 {
25707 if (temp3)
25708 delete arg3;
25709 }
25710 return resultobj;
25711 fail:
25712 {
25713 if (temp3)
25714 delete arg3;
25715 }
25716 return NULL;
25717 }
25718
25719
25720 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25723 double *arg2 = (double *) 0 ;
25724 double *arg3 = (double *) 0 ;
25725 double *arg4 = (double *) 0 ;
25726 double *arg5 = (double *) 0 ;
25727 double temp2 ;
25728 double temp3 ;
25729 double temp4 ;
25730 double temp5 ;
25731 PyObject * obj0 = 0 ;
25732 char *kwnames[] = {
25733 (char *) "self", NULL
25734 };
25735
25736 arg2 = &temp2;
25737 arg3 = &temp3;
25738 arg4 = &temp4;
25739 arg5 = &temp5;
25740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
25741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25743 {
25744 PyThreadState* __tstate = wxPyBeginAllowThreads();
25745 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25746
25747 wxPyEndAllowThreads(__tstate);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 }
25750 Py_INCREF(Py_None); resultobj = Py_None;
25751 {
25752 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25753 resultobj = t_output_helper(resultobj,o);
25754 }
25755 {
25756 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25757 resultobj = t_output_helper(resultobj,o);
25758 }
25759 {
25760 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25761 resultobj = t_output_helper(resultobj,o);
25762 }
25763 {
25764 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25765 resultobj = t_output_helper(resultobj,o);
25766 }
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25776 double arg2 ;
25777 double arg3 ;
25778 int result;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 PyObject * obj2 = 0 ;
25782 char *kwnames[] = {
25783 (char *) "self",(char *) "x",(char *) "y", NULL
25784 };
25785
25786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25789 arg2 = (double) SWIG_AsDouble(obj1);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 arg3 = (double) SWIG_AsDouble(obj2);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 resultobj = SWIG_FromInt((int)result);
25801 return resultobj;
25802 fail:
25803 return NULL;
25804 }
25805
25806
25807 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25808 PyObject *resultobj;
25809 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25810 double result;
25811 PyObject * obj0 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
25817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (double)(arg1)->FindMinimumWidth();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 resultobj = SWIG_FromDouble((double)result);
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25836 wxPyShape *arg2 = (wxPyShape *) 0 ;
25837 int *arg3 = (int *) 0 ;
25838 int *arg4 = (int *) 0 ;
25839 bool arg5 ;
25840 int temp3 ;
25841 int temp4 ;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 PyObject * obj2 = 0 ;
25845 char *kwnames[] = {
25846 (char *) "self",(char *) "image",(char *) "incoming", NULL
25847 };
25848
25849 arg3 = &temp3;
25850 arg4 = &temp4;
25851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
25855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25856 arg5 = (bool) SWIG_AsBool(obj2);
25857 if (PyErr_Occurred()) SWIG_fail;
25858 {
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 (arg1)->FindNth(arg2,arg3,arg4,arg5);
25861
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 Py_INCREF(Py_None); resultobj = Py_None;
25866 {
25867 PyObject *o = PyInt_FromLong((long) (*arg3));
25868 resultobj = t_output_helper(resultobj,o);
25869 }
25870 {
25871 PyObject *o = PyInt_FromLong((long) (*arg4));
25872 resultobj = t_output_helper(resultobj,o);
25873 }
25874 return resultobj;
25875 fail:
25876 return NULL;
25877 }
25878
25879
25880 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25881 PyObject *resultobj;
25882 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25883 int result;
25884 PyObject * obj0 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "self", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
25890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25892 {
25893 PyThreadState* __tstate = wxPyBeginAllowThreads();
25894 result = (int)(arg1)->GetAttachmentFrom();
25895
25896 wxPyEndAllowThreads(__tstate);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
25899 resultobj = SWIG_FromInt((int)result);
25900 return resultobj;
25901 fail:
25902 return NULL;
25903 }
25904
25905
25906 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25907 PyObject *resultobj;
25908 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25909 int result;
25910 PyObject * obj0 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
25916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 result = (int)(arg1)->GetAttachmentTo();
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 resultobj = SWIG_FromInt((int)result);
25926 return resultobj;
25927 fail:
25928 return NULL;
25929 }
25930
25931
25932 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj;
25934 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25935 double *arg2 = (double *) 0 ;
25936 double *arg3 = (double *) 0 ;
25937 double *arg4 = (double *) 0 ;
25938 double *arg5 = (double *) 0 ;
25939 double temp2 ;
25940 double temp3 ;
25941 double temp4 ;
25942 double temp5 ;
25943 PyObject * obj0 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self", NULL
25946 };
25947
25948 arg2 = &temp2;
25949 arg3 = &temp3;
25950 arg4 = &temp4;
25951 arg5 = &temp5;
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
25953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 (arg1)->GetEnds(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 = PyFloat_FromDouble((double) (*arg2));
25965 resultobj = t_output_helper(resultobj,o);
25966 }
25967 {
25968 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25969 resultobj = t_output_helper(resultobj,o);
25970 }
25971 {
25972 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25973 resultobj = t_output_helper(resultobj,o);
25974 }
25975 {
25976 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25977 resultobj = t_output_helper(resultobj,o);
25978 }
25979 return resultobj;
25980 fail:
25981 return NULL;
25982 }
25983
25984
25985 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25986 PyObject *resultobj;
25987 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25988 wxPyShape *result;
25989 PyObject * obj0 = 0 ;
25990 char *kwnames[] = {
25991 (char *) "self", NULL
25992 };
25993
25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
25995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 result = (wxPyShape *)(arg1)->GetFrom();
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 {
26005 resultobj = wxPyMake_wxShapeEvtHandler(result);
26006 }
26007 return resultobj;
26008 fail:
26009 return NULL;
26010 }
26011
26012
26013 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26014 PyObject *resultobj;
26015 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26016 int arg2 ;
26017 double *arg3 = (double *) 0 ;
26018 double *arg4 = (double *) 0 ;
26019 double temp3 ;
26020 double temp4 ;
26021 PyObject * obj0 = 0 ;
26022 PyObject * obj1 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "position", NULL
26025 };
26026
26027 arg3 = &temp3;
26028 arg4 = &temp4;
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26032 arg2 = (int) SWIG_AsInt(obj1);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 Py_INCREF(Py_None); resultobj = Py_None;
26042 {
26043 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26044 resultobj = t_output_helper(resultobj,o);
26045 }
26046 {
26047 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26048 resultobj = t_output_helper(resultobj,o);
26049 }
26050 return resultobj;
26051 fail:
26052 return NULL;
26053 }
26054
26055
26056 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26057 PyObject *resultobj;
26058 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26059 wxPyShape *arg2 = (wxPyShape *) 0 ;
26060 wxRealPoint *result;
26061 PyObject * obj0 = 0 ;
26062 PyObject * obj1 = 0 ;
26063 char *kwnames[] = {
26064 (char *) "self",(char *) "shape", NULL
26065 };
26066
26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26075
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
26080 return resultobj;
26081 fail:
26082 return NULL;
26083 }
26084
26085
26086 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26087 PyObject *resultobj;
26088 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26089 wxPyShape *result;
26090 PyObject * obj0 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = (wxPyShape *)(arg1)->GetTo();
26101
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 {
26106 resultobj = wxPyMake_wxShapeEvtHandler(result);
26107 }
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj;
26116 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26117 PyObject * obj0 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 (arg1)->Initialise();
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 Py_INCREF(Py_None); resultobj = Py_None;
26133 return resultobj;
26134 fail:
26135 return NULL;
26136 }
26137
26138
26139 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26140 PyObject *resultobj;
26141 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26142 wxDC *arg2 = (wxDC *) 0 ;
26143 PyObject * obj0 = 0 ;
26144 PyObject * obj1 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self",(char *) "dc", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 (arg1)->InsertLineControlPoint(arg2);
26157
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
26161 Py_INCREF(Py_None); resultobj = Py_None;
26162 return resultobj;
26163 fail:
26164 return NULL;
26165 }
26166
26167
26168 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26169 PyObject *resultobj;
26170 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26171 wxPyShape *arg2 = (wxPyShape *) 0 ;
26172 bool result;
26173 PyObject * obj0 = 0 ;
26174 PyObject * obj1 = 0 ;
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "shape", NULL
26177 };
26178
26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26184 {
26185 PyThreadState* __tstate = wxPyBeginAllowThreads();
26186 result = (bool)(arg1)->IsEnd(arg2);
26187
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
26191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26192 return resultobj;
26193 fail:
26194 return NULL;
26195 }
26196
26197
26198 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26199 PyObject *resultobj;
26200 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26201 bool result;
26202 PyObject * obj0 = 0 ;
26203 char *kwnames[] = {
26204 (char *) "self", NULL
26205 };
26206
26207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 result = (bool)(arg1)->IsSpline();
26213
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26218 return resultobj;
26219 fail:
26220 return NULL;
26221 }
26222
26223
26224 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26225 PyObject *resultobj;
26226 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26227 int arg2 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 char *kwnames[] = {
26231 (char *) "self",(char *) "n", NULL
26232 };
26233
26234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26237 arg2 = (int) SWIG_AsInt(obj1);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 (arg1)->MakeLineControlPoints(arg2);
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 Py_INCREF(Py_None); resultobj = Py_None;
26247 return resultobj;
26248 fail:
26249 return NULL;
26250 }
26251
26252
26253 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26254 PyObject *resultobj;
26255 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26256 PyObject *result;
26257 PyObject * obj0 = 0 ;
26258 char *kwnames[] = {
26259 (char *) "self", NULL
26260 };
26261
26262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26268
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 resultobj = result;
26273 return resultobj;
26274 fail:
26275 return NULL;
26276 }
26277
26278
26279 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj;
26281 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26282 int arg2 ;
26283 PyObject * obj0 = 0 ;
26284 PyObject * obj1 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "fromAttach", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
26290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26292 arg2 = (int) SWIG_AsInt(obj1);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 (arg1)->SetAttachmentFrom(arg2);
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 Py_INCREF(Py_None); resultobj = Py_None;
26302 return resultobj;
26303 fail:
26304 return NULL;
26305 }
26306
26307
26308 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj;
26310 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26311 int arg2 ;
26312 int arg3 ;
26313 PyObject * obj0 = 0 ;
26314 PyObject * obj1 = 0 ;
26315 PyObject * obj2 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
26321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26323 arg2 = (int) SWIG_AsInt(obj1);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 arg3 = (int) SWIG_AsInt(obj2);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 (arg1)->SetAttachments(arg2,arg3);
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 Py_INCREF(Py_None); resultobj = Py_None;
26335 return resultobj;
26336 fail:
26337 return NULL;
26338 }
26339
26340
26341 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26342 PyObject *resultobj;
26343 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26344 int arg2 ;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "toAttach", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26354 arg2 = (int) SWIG_AsInt(obj1);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->SetAttachmentTo(arg2);
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 Py_INCREF(Py_None); resultobj = Py_None;
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj;
26372 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26373 double arg2 ;
26374 double arg3 ;
26375 double arg4 ;
26376 double arg5 ;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 PyObject * obj2 = 0 ;
26380 PyObject * obj3 = 0 ;
26381 PyObject * obj4 = 0 ;
26382 char *kwnames[] = {
26383 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26384 };
26385
26386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26389 arg2 = (double) SWIG_AsDouble(obj1);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 arg3 = (double) SWIG_AsDouble(obj2);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 arg4 = (double) SWIG_AsDouble(obj3);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 arg5 = (double) SWIG_AsDouble(obj4);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 Py_INCREF(Py_None); resultobj = Py_None;
26405 return resultobj;
26406 fail:
26407 return NULL;
26408 }
26409
26410
26411 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj;
26413 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26414 wxPyShape *arg2 = (wxPyShape *) 0 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 char *kwnames[] = {
26418 (char *) "self",(char *) "object", NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
26422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26426 {
26427 PyThreadState* __tstate = wxPyBeginAllowThreads();
26428 (arg1)->SetFrom(arg2);
26429
26430 wxPyEndAllowThreads(__tstate);
26431 if (PyErr_Occurred()) SWIG_fail;
26432 }
26433 Py_INCREF(Py_None); resultobj = Py_None;
26434 return resultobj;
26435 fail:
26436 return NULL;
26437 }
26438
26439
26440 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
26441 PyObject *resultobj;
26442 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26443 bool arg2 ;
26444 PyObject * obj0 = 0 ;
26445 PyObject * obj1 = 0 ;
26446 char *kwnames[] = {
26447 (char *) "self",(char *) "ignore", NULL
26448 };
26449
26450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
26451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26453 arg2 = (bool) SWIG_AsBool(obj1);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 (arg1)->SetIgnoreOffsets(arg2);
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
26462 Py_INCREF(Py_None); resultobj = Py_None;
26463 return resultobj;
26464 fail:
26465 return NULL;
26466 }
26467
26468
26469 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26470 PyObject *resultobj;
26471 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26472 bool arg2 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "spline", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
26480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 arg2 = (bool) SWIG_AsBool(obj1);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 (arg1)->SetSpline(arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 Py_INCREF(Py_None); resultobj = Py_None;
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj;
26500 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26501 wxPyShape *arg2 = (wxPyShape *) 0 ;
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 char *kwnames[] = {
26505 (char *) "self",(char *) "object", NULL
26506 };
26507
26508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
26509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 (arg1)->SetTo(arg2);
26516
26517 wxPyEndAllowThreads(__tstate);
26518 if (PyErr_Occurred()) SWIG_fail;
26519 }
26520 Py_INCREF(Py_None); resultobj = Py_None;
26521 return resultobj;
26522 fail:
26523 return NULL;
26524 }
26525
26526
26527 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
26528 PyObject *resultobj;
26529 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26530 wxDC *arg2 = (wxDC *) NULL ;
26531 PyObject * obj0 = 0 ;
26532 PyObject * obj1 = 0 ;
26533 char *kwnames[] = {
26534 (char *) "self",(char *) "dc", NULL
26535 };
26536
26537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
26538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26540 if (obj1) {
26541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 }
26544 {
26545 PyThreadState* __tstate = wxPyBeginAllowThreads();
26546 (arg1)->Straighten(arg2);
26547
26548 wxPyEndAllowThreads(__tstate);
26549 if (PyErr_Occurred()) SWIG_fail;
26550 }
26551 Py_INCREF(Py_None); resultobj = Py_None;
26552 return resultobj;
26553 fail:
26554 return NULL;
26555 }
26556
26557
26558 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26561 PyObject * obj0 = 0 ;
26562 char *kwnames[] = {
26563 (char *) "self", NULL
26564 };
26565
26566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
26567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 (arg1)->Unlink();
26572
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 Py_INCREF(Py_None); resultobj = Py_None;
26577 return resultobj;
26578 fail:
26579 return NULL;
26580 }
26581
26582
26583 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26584 PyObject *resultobj;
26585 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26586 bool arg2 ;
26587 bool arg3 ;
26588 PyObject * obj0 = 0 ;
26589 PyObject * obj1 = 0 ;
26590 PyObject * obj2 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
26596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26598 arg2 = (bool) SWIG_AsBool(obj1);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 arg3 = (bool) SWIG_AsBool(obj2);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 (arg1)->SetAlignmentOrientation(arg2,arg3);
26605
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 Py_INCREF(Py_None); resultobj = Py_None;
26610 return resultobj;
26611 fail:
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26619 bool arg2 ;
26620 int arg3 ;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 PyObject * obj2 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
26629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26631 arg2 = (bool) SWIG_AsBool(obj1);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 arg3 = (int) SWIG_AsInt(obj2);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 {
26636 PyThreadState* __tstate = wxPyBeginAllowThreads();
26637 (arg1)->SetAlignmentType(arg2,arg3);
26638
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 Py_INCREF(Py_None); resultobj = Py_None;
26643 return resultobj;
26644 fail:
26645 return NULL;
26646 }
26647
26648
26649 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26650 PyObject *resultobj;
26651 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26652 bool arg2 ;
26653 bool result;
26654 PyObject * obj0 = 0 ;
26655 PyObject * obj1 = 0 ;
26656 char *kwnames[] = {
26657 (char *) "self",(char *) "isEnd", NULL
26658 };
26659
26660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
26661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26663 arg2 = (bool) SWIG_AsBool(obj1);
26664 if (PyErr_Occurred()) SWIG_fail;
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26682 bool arg2 ;
26683 int result;
26684 PyObject * obj0 = 0 ;
26685 PyObject * obj1 = 0 ;
26686 char *kwnames[] = {
26687 (char *) "self",(char *) "isEnd", NULL
26688 };
26689
26690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
26691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26693 arg2 = (bool) SWIG_AsBool(obj1);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 result = (int)(arg1)->GetAlignmentType(arg2);
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 resultobj = SWIG_FromInt((int)result);
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj;
26711 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26712 int result;
26713 PyObject * obj0 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
26719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26724
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 resultobj = SWIG_FromInt((int)result);
26729 return resultobj;
26730 fail:
26731 return NULL;
26732 }
26733
26734
26735 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26738 int result;
26739 PyObject * obj0 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
26745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26750
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 resultobj = SWIG_FromInt((int)result);
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26762 PyObject *resultobj;
26763 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26764 wxDC *arg2 = 0 ;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "dc", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
26772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1)
26776 SWIG_fail;
26777 if (arg2 == NULL) {
26778 PyErr_SetString(PyExc_TypeError,"null reference");
26779 SWIG_fail;
26780 }
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
26783 (arg1)->base_OnDraw(*arg2);
26784
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 Py_INCREF(Py_None); resultobj = Py_None;
26789 return resultobj;
26790 fail:
26791 return NULL;
26792 }
26793
26794
26795 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26796 PyObject *resultobj;
26797 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26798 wxDC *arg2 = 0 ;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "dc", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
26806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26809 SWIG_POINTER_EXCEPTION | 0)) == -1)
26810 SWIG_fail;
26811 if (arg2 == NULL) {
26812 PyErr_SetString(PyExc_TypeError,"null reference");
26813 SWIG_fail;
26814 }
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 (arg1)->base_OnDrawContents(*arg2);
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 Py_INCREF(Py_None); resultobj = Py_None;
26823 return resultobj;
26824 fail:
26825 return NULL;
26826 }
26827
26828
26829 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
26830 PyObject *resultobj;
26831 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26832 wxDC *arg2 = 0 ;
26833 bool arg3 = (bool) FALSE ;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 PyObject * obj2 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "dc",(char *) "erase", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
26842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26845 SWIG_POINTER_EXCEPTION | 0)) == -1)
26846 SWIG_fail;
26847 if (arg2 == NULL) {
26848 PyErr_SetString(PyExc_TypeError,"null reference");
26849 SWIG_fail;
26850 }
26851 if (obj2) {
26852 arg3 = (bool) SWIG_AsBool(obj2);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 (arg1)->base_OnDrawBranches(*arg2,arg3);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 Py_INCREF(Py_None); resultobj = Py_None;
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
26870 PyObject *resultobj;
26871 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26872 wxDC *arg2 = 0 ;
26873 PyObject * obj0 = 0 ;
26874 PyObject * obj1 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "dc", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
26880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26883 SWIG_POINTER_EXCEPTION | 0)) == -1)
26884 SWIG_fail;
26885 if (arg2 == NULL) {
26886 PyErr_SetString(PyExc_TypeError,"null reference");
26887 SWIG_fail;
26888 }
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 (arg1)->base_OnMoveLinks(*arg2);
26892
26893 wxPyEndAllowThreads(__tstate);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
26896 Py_INCREF(Py_None); resultobj = Py_None;
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26906 wxDC *arg2 = 0 ;
26907 PyObject * obj0 = 0 ;
26908 PyObject * obj1 = 0 ;
26909 char *kwnames[] = {
26910 (char *) "self",(char *) "dc", NULL
26911 };
26912
26913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
26914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26917 SWIG_POINTER_EXCEPTION | 0)) == -1)
26918 SWIG_fail;
26919 if (arg2 == NULL) {
26920 PyErr_SetString(PyExc_TypeError,"null reference");
26921 SWIG_fail;
26922 }
26923 {
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 (arg1)->base_OnErase(*arg2);
26926
26927 wxPyEndAllowThreads(__tstate);
26928 if (PyErr_Occurred()) SWIG_fail;
26929 }
26930 Py_INCREF(Py_None); resultobj = Py_None;
26931 return resultobj;
26932 fail:
26933 return NULL;
26934 }
26935
26936
26937 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26938 PyObject *resultobj;
26939 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26940 wxDC *arg2 = 0 ;
26941 PyObject * obj0 = 0 ;
26942 PyObject * obj1 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self",(char *) "dc", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
26948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26951 SWIG_POINTER_EXCEPTION | 0)) == -1)
26952 SWIG_fail;
26953 if (arg2 == NULL) {
26954 PyErr_SetString(PyExc_TypeError,"null reference");
26955 SWIG_fail;
26956 }
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 (arg1)->base_OnEraseContents(*arg2);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 Py_INCREF(Py_None); resultobj = Py_None;
26965 return resultobj;
26966 fail:
26967 return NULL;
26968 }
26969
26970
26971 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj;
26973 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26974 wxDC *arg2 = 0 ;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char *kwnames[] = {
26978 (char *) "self",(char *) "dc", NULL
26979 };
26980
26981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
26982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26985 SWIG_POINTER_EXCEPTION | 0)) == -1)
26986 SWIG_fail;
26987 if (arg2 == NULL) {
26988 PyErr_SetString(PyExc_TypeError,"null reference");
26989 SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->base_OnHighlight(*arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27008 double arg2 ;
27009 double arg3 ;
27010 int arg4 = (int) 0 ;
27011 int arg5 = (int) 0 ;
27012 PyObject * obj0 = 0 ;
27013 PyObject * obj1 = 0 ;
27014 PyObject * obj2 = 0 ;
27015 PyObject * obj3 = 0 ;
27016 PyObject * obj4 = 0 ;
27017 char *kwnames[] = {
27018 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27019 };
27020
27021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27024 arg2 = (double) SWIG_AsDouble(obj1);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 arg3 = (double) SWIG_AsDouble(obj2);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 if (obj3) {
27029 arg4 = (int) SWIG_AsInt(obj3);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 }
27032 if (obj4) {
27033 arg5 = (int) SWIG_AsInt(obj4);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 Py_INCREF(Py_None); resultobj = Py_None;
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj;
27052 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27053 double arg2 ;
27054 double arg3 ;
27055 int arg4 = (int) 0 ;
27056 int arg5 = (int) 0 ;
27057 PyObject * obj0 = 0 ;
27058 PyObject * obj1 = 0 ;
27059 PyObject * obj2 = 0 ;
27060 PyObject * obj3 = 0 ;
27061 PyObject * obj4 = 0 ;
27062 char *kwnames[] = {
27063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27064 };
27065
27066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27069 arg2 = (double) SWIG_AsDouble(obj1);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 arg3 = (double) SWIG_AsDouble(obj2);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 if (obj3) {
27074 arg4 = (int) SWIG_AsInt(obj3);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 if (obj4) {
27078 arg5 = (int) SWIG_AsInt(obj4);
27079 if (PyErr_Occurred()) SWIG_fail;
27080 }
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 Py_INCREF(Py_None); resultobj = Py_None;
27089 return resultobj;
27090 fail:
27091 return NULL;
27092 }
27093
27094
27095 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27096 PyObject *resultobj;
27097 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27098 double arg2 ;
27099 double arg3 ;
27100 int arg4 = (int) 0 ;
27101 int arg5 = (int) 0 ;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 PyObject * obj2 = 0 ;
27105 PyObject * obj3 = 0 ;
27106 PyObject * obj4 = 0 ;
27107 char *kwnames[] = {
27108 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27109 };
27110
27111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27114 arg2 = (double) SWIG_AsDouble(obj1);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 arg3 = (double) SWIG_AsDouble(obj2);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 if (obj3) {
27119 arg4 = (int) SWIG_AsInt(obj3);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 if (obj4) {
27123 arg5 = (int) SWIG_AsInt(obj4);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 {
27127 PyThreadState* __tstate = wxPyBeginAllowThreads();
27128 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27129
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 Py_INCREF(Py_None); resultobj = Py_None;
27134 return resultobj;
27135 fail:
27136 return NULL;
27137 }
27138
27139
27140 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27141 PyObject *resultobj;
27142 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27143 double arg2 ;
27144 double arg3 ;
27145 PyObject * obj0 = 0 ;
27146 PyObject * obj1 = 0 ;
27147 PyObject * obj2 = 0 ;
27148 char *kwnames[] = {
27149 (char *) "self",(char *) "x",(char *) "y", NULL
27150 };
27151
27152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27155 arg2 = (double) SWIG_AsDouble(obj1);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 arg3 = (double) SWIG_AsDouble(obj2);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 (arg1)->base_OnSize(arg2,arg3);
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 Py_INCREF(Py_None); resultobj = Py_None;
27167 return resultobj;
27168 fail:
27169 return NULL;
27170 }
27171
27172
27173 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27174 PyObject *resultobj;
27175 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27176 wxDC *arg2 = 0 ;
27177 double arg3 ;
27178 double arg4 ;
27179 double arg5 ;
27180 double arg6 ;
27181 bool arg7 = (bool) True ;
27182 bool result;
27183 PyObject * obj0 = 0 ;
27184 PyObject * obj1 = 0 ;
27185 PyObject * obj2 = 0 ;
27186 PyObject * obj3 = 0 ;
27187 PyObject * obj4 = 0 ;
27188 PyObject * obj5 = 0 ;
27189 PyObject * obj6 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27198 SWIG_POINTER_EXCEPTION | 0)) == -1)
27199 SWIG_fail;
27200 if (arg2 == NULL) {
27201 PyErr_SetString(PyExc_TypeError,"null reference");
27202 SWIG_fail;
27203 }
27204 arg3 = (double) SWIG_AsDouble(obj2);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 arg4 = (double) SWIG_AsDouble(obj3);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 arg5 = (double) SWIG_AsDouble(obj4);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 arg6 = (double) SWIG_AsDouble(obj5);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 if (obj6) {
27213 arg7 = (bool) SWIG_AsBool(obj6);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27219
27220 wxPyEndAllowThreads(__tstate);
27221 if (PyErr_Occurred()) SWIG_fail;
27222 }
27223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27224 return resultobj;
27225 fail:
27226 return NULL;
27227 }
27228
27229
27230 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27231 PyObject *resultobj;
27232 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27233 wxDC *arg2 = 0 ;
27234 double arg3 ;
27235 double arg4 ;
27236 double arg5 ;
27237 double arg6 ;
27238 bool arg7 = (bool) True ;
27239 PyObject * obj0 = 0 ;
27240 PyObject * obj1 = 0 ;
27241 PyObject * obj2 = 0 ;
27242 PyObject * obj3 = 0 ;
27243 PyObject * obj4 = 0 ;
27244 PyObject * obj5 = 0 ;
27245 PyObject * obj6 = 0 ;
27246 char *kwnames[] = {
27247 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27248 };
27249
27250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27254 SWIG_POINTER_EXCEPTION | 0)) == -1)
27255 SWIG_fail;
27256 if (arg2 == NULL) {
27257 PyErr_SetString(PyExc_TypeError,"null reference");
27258 SWIG_fail;
27259 }
27260 arg3 = (double) SWIG_AsDouble(obj2);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 arg4 = (double) SWIG_AsDouble(obj3);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 arg5 = (double) SWIG_AsDouble(obj4);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 arg6 = (double) SWIG_AsDouble(obj5);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 if (obj6) {
27269 arg7 = (bool) SWIG_AsBool(obj6);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 Py_INCREF(Py_None); resultobj = Py_None;
27280 return resultobj;
27281 fail:
27282 return NULL;
27283 }
27284
27285
27286 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27287 PyObject *resultobj;
27288 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27289 bool arg2 ;
27290 double arg3 ;
27291 double arg4 ;
27292 int arg5 = (int) 0 ;
27293 int arg6 = (int) 0 ;
27294 PyObject * obj0 = 0 ;
27295 PyObject * obj1 = 0 ;
27296 PyObject * obj2 = 0 ;
27297 PyObject * obj3 = 0 ;
27298 PyObject * obj4 = 0 ;
27299 PyObject * obj5 = 0 ;
27300 char *kwnames[] = {
27301 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27302 };
27303
27304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27307 arg2 = (bool) SWIG_AsBool(obj1);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 arg3 = (double) SWIG_AsDouble(obj2);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 arg4 = (double) SWIG_AsDouble(obj3);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 if (obj4) {
27314 arg5 = (int) SWIG_AsInt(obj4);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 if (obj5) {
27318 arg6 = (int) SWIG_AsInt(obj5);
27319 if (PyErr_Occurred()) SWIG_fail;
27320 }
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27324
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 Py_INCREF(Py_None); resultobj = Py_None;
27329 return resultobj;
27330 fail:
27331 return NULL;
27332 }
27333
27334
27335 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj;
27337 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27338 double arg2 ;
27339 double arg3 ;
27340 int arg4 = (int) 0 ;
27341 int arg5 = (int) 0 ;
27342 PyObject * obj0 = 0 ;
27343 PyObject * obj1 = 0 ;
27344 PyObject * obj2 = 0 ;
27345 PyObject * obj3 = 0 ;
27346 PyObject * obj4 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27354 arg2 = (double) SWIG_AsDouble(obj1);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 arg3 = (double) SWIG_AsDouble(obj2);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 if (obj3) {
27359 arg4 = (int) SWIG_AsInt(obj3);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 }
27362 if (obj4) {
27363 arg5 = (int) SWIG_AsInt(obj4);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27369
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 Py_INCREF(Py_None); resultobj = Py_None;
27374 return resultobj;
27375 fail:
27376 return NULL;
27377 }
27378
27379
27380 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27381 PyObject *resultobj;
27382 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27383 double arg2 ;
27384 double arg3 ;
27385 int arg4 = (int) 0 ;
27386 int arg5 = (int) 0 ;
27387 PyObject * obj0 = 0 ;
27388 PyObject * obj1 = 0 ;
27389 PyObject * obj2 = 0 ;
27390 PyObject * obj3 = 0 ;
27391 PyObject * obj4 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27399 arg2 = (double) SWIG_AsDouble(obj1);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 arg3 = (double) SWIG_AsDouble(obj2);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 if (obj3) {
27404 arg4 = (int) SWIG_AsInt(obj3);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 if (obj4) {
27408 arg5 = (int) SWIG_AsInt(obj4);
27409 if (PyErr_Occurred()) SWIG_fail;
27410 }
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27414
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 Py_INCREF(Py_None); resultobj = Py_None;
27419 return resultobj;
27420 fail:
27421 return NULL;
27422 }
27423
27424
27425 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27426 PyObject *resultobj;
27427 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27428 bool arg2 ;
27429 double arg3 ;
27430 double arg4 ;
27431 int arg5 = (int) 0 ;
27432 int arg6 = (int) 0 ;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 PyObject * obj2 = 0 ;
27436 PyObject * obj3 = 0 ;
27437 PyObject * obj4 = 0 ;
27438 PyObject * obj5 = 0 ;
27439 char *kwnames[] = {
27440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27441 };
27442
27443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27446 arg2 = (bool) SWIG_AsBool(obj1);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 arg3 = (double) SWIG_AsDouble(obj2);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 arg4 = (double) SWIG_AsDouble(obj3);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 if (obj4) {
27453 arg5 = (int) SWIG_AsInt(obj4);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 if (obj5) {
27457 arg6 = (int) SWIG_AsInt(obj5);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 Py_INCREF(Py_None); resultobj = Py_None;
27468 return resultobj;
27469 fail:
27470 return NULL;
27471 }
27472
27473
27474 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27477 double arg2 ;
27478 double arg3 ;
27479 int arg4 = (int) 0 ;
27480 int arg5 = (int) 0 ;
27481 PyObject * obj0 = 0 ;
27482 PyObject * obj1 = 0 ;
27483 PyObject * obj2 = 0 ;
27484 PyObject * obj3 = 0 ;
27485 PyObject * obj4 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27493 arg2 = (double) SWIG_AsDouble(obj1);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 arg3 = (double) SWIG_AsDouble(obj2);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 if (obj3) {
27498 arg4 = (int) SWIG_AsInt(obj3);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 if (obj4) {
27502 arg5 = (int) SWIG_AsInt(obj4);
27503 if (PyErr_Occurred()) SWIG_fail;
27504 }
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27508
27509 wxPyEndAllowThreads(__tstate);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 Py_INCREF(Py_None); resultobj = Py_None;
27513 return resultobj;
27514 fail:
27515 return NULL;
27516 }
27517
27518
27519 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27520 PyObject *resultobj;
27521 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27522 double arg2 ;
27523 double arg3 ;
27524 int arg4 = (int) 0 ;
27525 int arg5 = (int) 0 ;
27526 PyObject * obj0 = 0 ;
27527 PyObject * obj1 = 0 ;
27528 PyObject * obj2 = 0 ;
27529 PyObject * obj3 = 0 ;
27530 PyObject * obj4 = 0 ;
27531 char *kwnames[] = {
27532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27533 };
27534
27535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27538 arg2 = (double) SWIG_AsDouble(obj1);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 arg3 = (double) SWIG_AsDouble(obj2);
27541 if (PyErr_Occurred()) SWIG_fail;
27542 if (obj3) {
27543 arg4 = (int) SWIG_AsInt(obj3);
27544 if (PyErr_Occurred()) SWIG_fail;
27545 }
27546 if (obj4) {
27547 arg5 = (int) SWIG_AsInt(obj4);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 Py_INCREF(Py_None); resultobj = Py_None;
27558 return resultobj;
27559 fail:
27560 return NULL;
27561 }
27562
27563
27564 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
27565 PyObject *resultobj;
27566 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27567 wxDC *arg2 = 0 ;
27568 double arg3 ;
27569 double arg4 ;
27570 double arg5 ;
27571 double arg6 ;
27572 PyObject * obj0 = 0 ;
27573 PyObject * obj1 = 0 ;
27574 PyObject * obj2 = 0 ;
27575 PyObject * obj3 = 0 ;
27576 PyObject * obj4 = 0 ;
27577 PyObject * obj5 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27580 };
27581
27582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1)
27587 SWIG_fail;
27588 if (arg2 == NULL) {
27589 PyErr_SetString(PyExc_TypeError,"null reference");
27590 SWIG_fail;
27591 }
27592 arg3 = (double) SWIG_AsDouble(obj2);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 arg4 = (double) SWIG_AsDouble(obj3);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 arg5 = (double) SWIG_AsDouble(obj4);
27597 if (PyErr_Occurred()) SWIG_fail;
27598 arg6 = (double) SWIG_AsDouble(obj5);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27603
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 Py_INCREF(Py_None); resultobj = Py_None;
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27617 wxDC *arg2 = 0 ;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char *kwnames[] = {
27621 (char *) "self",(char *) "dc", NULL
27622 };
27623
27624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
27625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27628 SWIG_POINTER_EXCEPTION | 0)) == -1)
27629 SWIG_fail;
27630 if (arg2 == NULL) {
27631 PyErr_SetString(PyExc_TypeError,"null reference");
27632 SWIG_fail;
27633 }
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 (arg1)->base_OnDrawControlPoints(*arg2);
27637
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 Py_INCREF(Py_None); resultobj = Py_None;
27642 return resultobj;
27643 fail:
27644 return NULL;
27645 }
27646
27647
27648 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27649 PyObject *resultobj;
27650 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27651 wxDC *arg2 = 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "dc", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27662 SWIG_POINTER_EXCEPTION | 0)) == -1)
27663 SWIG_fail;
27664 if (arg2 == NULL) {
27665 PyErr_SetString(PyExc_TypeError,"null reference");
27666 SWIG_fail;
27667 }
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 (arg1)->base_OnEraseControlPoints(*arg2);
27671
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 Py_INCREF(Py_None); resultobj = Py_None;
27676 return resultobj;
27677 fail:
27678 return NULL;
27679 }
27680
27681
27682 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27683 PyObject *resultobj;
27684 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27685 wxDC *arg2 = 0 ;
27686 bool arg3 = (bool) True ;
27687 PyObject * obj0 = 0 ;
27688 PyObject * obj1 = 0 ;
27689 PyObject * obj2 = 0 ;
27690 char *kwnames[] = {
27691 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27692 };
27693
27694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
27695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27698 SWIG_POINTER_EXCEPTION | 0)) == -1)
27699 SWIG_fail;
27700 if (arg2 == NULL) {
27701 PyErr_SetString(PyExc_TypeError,"null reference");
27702 SWIG_fail;
27703 }
27704 if (obj2) {
27705 arg3 = (bool) SWIG_AsBool(obj2);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 (arg1)->base_OnMoveLink(*arg2,arg3);
27711
27712 wxPyEndAllowThreads(__tstate);
27713 if (PyErr_Occurred()) SWIG_fail;
27714 }
27715 Py_INCREF(Py_None); resultobj = Py_None;
27716 return resultobj;
27717 fail:
27718 return NULL;
27719 }
27720
27721
27722 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27723 PyObject *resultobj;
27724 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27725 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27726 bool arg3 ;
27727 double arg4 ;
27728 double arg5 ;
27729 int arg6 = (int) 0 ;
27730 int arg7 = (int) 0 ;
27731 PyObject * obj0 = 0 ;
27732 PyObject * obj1 = 0 ;
27733 PyObject * obj2 = 0 ;
27734 PyObject * obj3 = 0 ;
27735 PyObject * obj4 = 0 ;
27736 PyObject * obj5 = 0 ;
27737 PyObject * obj6 = 0 ;
27738 char *kwnames[] = {
27739 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27740 };
27741
27742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27747 arg3 = (bool) SWIG_AsBool(obj2);
27748 if (PyErr_Occurred()) SWIG_fail;
27749 arg4 = (double) SWIG_AsDouble(obj3);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 arg5 = (double) SWIG_AsDouble(obj4);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 if (obj5) {
27754 arg6 = (int) SWIG_AsInt(obj5);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 }
27757 if (obj6) {
27758 arg7 = (int) SWIG_AsInt(obj6);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27764
27765 wxPyEndAllowThreads(__tstate);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 Py_INCREF(Py_None); resultobj = Py_None;
27769 return resultobj;
27770 fail:
27771 return NULL;
27772 }
27773
27774
27775 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27776 PyObject *resultobj;
27777 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27778 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27779 double arg3 ;
27780 double arg4 ;
27781 int arg5 = (int) 0 ;
27782 int arg6 = (int) 0 ;
27783 PyObject * obj0 = 0 ;
27784 PyObject * obj1 = 0 ;
27785 PyObject * obj2 = 0 ;
27786 PyObject * obj3 = 0 ;
27787 PyObject * obj4 = 0 ;
27788 PyObject * obj5 = 0 ;
27789 char *kwnames[] = {
27790 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27791 };
27792
27793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27798 arg3 = (double) SWIG_AsDouble(obj2);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 arg4 = (double) SWIG_AsDouble(obj3);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 if (obj4) {
27803 arg5 = (int) SWIG_AsInt(obj4);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 }
27806 if (obj5) {
27807 arg6 = (int) SWIG_AsInt(obj5);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 {
27811 PyThreadState* __tstate = wxPyBeginAllowThreads();
27812 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27813
27814 wxPyEndAllowThreads(__tstate);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 Py_INCREF(Py_None); resultobj = Py_None;
27818 return resultobj;
27819 fail:
27820 return NULL;
27821 }
27822
27823
27824 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27825 PyObject *resultobj;
27826 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27827 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27828 double arg3 ;
27829 double arg4 ;
27830 int arg5 = (int) 0 ;
27831 int arg6 = (int) 0 ;
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 PyObject * obj2 = 0 ;
27835 PyObject * obj3 = 0 ;
27836 PyObject * obj4 = 0 ;
27837 PyObject * obj5 = 0 ;
27838 char *kwnames[] = {
27839 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27840 };
27841
27842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27847 arg3 = (double) SWIG_AsDouble(obj2);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 arg4 = (double) SWIG_AsDouble(obj3);
27850 if (PyErr_Occurred()) SWIG_fail;
27851 if (obj4) {
27852 arg5 = (int) SWIG_AsInt(obj4);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 if (obj5) {
27856 arg6 = (int) SWIG_AsInt(obj5);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 Py_INCREF(Py_None); resultobj = Py_None;
27867 return resultobj;
27868 fail:
27869 return NULL;
27870 }
27871
27872
27873 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27874 PyObject *resultobj;
27875 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27876 double arg2 ;
27877 double arg3 ;
27878 PyObject * obj0 = 0 ;
27879 PyObject * obj1 = 0 ;
27880 PyObject * obj2 = 0 ;
27881 char *kwnames[] = {
27882 (char *) "self",(char *) "w",(char *) "h", NULL
27883 };
27884
27885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27888 arg2 = (double) SWIG_AsDouble(obj1);
27889 if (PyErr_Occurred()) SWIG_fail;
27890 arg3 = (double) SWIG_AsDouble(obj2);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 {
27893 PyThreadState* __tstate = wxPyBeginAllowThreads();
27894 (arg1)->base_OnBeginSize(arg2,arg3);
27895
27896 wxPyEndAllowThreads(__tstate);
27897 if (PyErr_Occurred()) SWIG_fail;
27898 }
27899 Py_INCREF(Py_None); resultobj = Py_None;
27900 return resultobj;
27901 fail:
27902 return NULL;
27903 }
27904
27905
27906 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27907 PyObject *resultobj;
27908 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27909 double arg2 ;
27910 double arg3 ;
27911 PyObject * obj0 = 0 ;
27912 PyObject * obj1 = 0 ;
27913 PyObject * obj2 = 0 ;
27914 char *kwnames[] = {
27915 (char *) "self",(char *) "w",(char *) "h", NULL
27916 };
27917
27918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27921 arg2 = (double) SWIG_AsDouble(obj1);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 arg3 = (double) SWIG_AsDouble(obj2);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 (arg1)->base_OnEndSize(arg2,arg3);
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 Py_INCREF(Py_None); resultobj = Py_None;
27933 return resultobj;
27934 fail:
27935 return NULL;
27936 }
27937
27938
27939 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
27940 PyObject *obj;
27941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27942 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
27943 Py_INCREF(obj);
27944 return Py_BuildValue((char *)"");
27945 }
27946 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
27947 PyObject *resultobj;
27948 wxPyPolygonShape *result;
27949 char *kwnames[] = {
27950 NULL
27951 };
27952
27953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
27954 {
27955 PyThreadState* __tstate = wxPyBeginAllowThreads();
27956 result = (wxPyPolygonShape *)new wxPyPolygonShape();
27957
27958 wxPyEndAllowThreads(__tstate);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 }
27961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
27962 return resultobj;
27963 fail:
27964 return NULL;
27965 }
27966
27967
27968 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj;
27970 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
27971 PyObject *arg2 = (PyObject *) 0 ;
27972 PyObject *arg3 = (PyObject *) 0 ;
27973 PyObject * obj0 = 0 ;
27974 PyObject * obj1 = 0 ;
27975 PyObject * obj2 = 0 ;
27976 char *kwnames[] = {
27977 (char *) "self",(char *) "self",(char *) "_class", NULL
27978 };
27979
27980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
27982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27983 arg2 = obj1;
27984 arg3 = obj2;
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 (arg1)->_setCallbackInfo(arg2,arg3);
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 Py_INCREF(Py_None); resultobj = Py_None;
27993 return resultobj;
27994 fail:
27995 return NULL;
27996 }
27997
27998
27999 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28000 PyObject *resultobj;
28001 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28002 PyObject *arg2 = (PyObject *) 0 ;
28003 PyObject *result;
28004 PyObject * obj0 = 0 ;
28005 PyObject * obj1 = 0 ;
28006 char *kwnames[] = {
28007 (char *) "self",(char *) "points", NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28013 arg2 = obj1;
28014 {
28015 PyThreadState* __tstate = wxPyBeginAllowThreads();
28016 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28017
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 resultobj = result;
28022 return resultobj;
28023 fail:
28024 return NULL;
28025 }
28026
28027
28028 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28029 PyObject *resultobj;
28030 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28031 int arg2 = (int) 0 ;
28032 PyObject * obj0 = 0 ;
28033 PyObject * obj1 = 0 ;
28034 char *kwnames[] = {
28035 (char *) "self",(char *) "pos", NULL
28036 };
28037
28038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28041 if (obj1) {
28042 arg2 = (int) SWIG_AsInt(obj1);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 {
28046 PyThreadState* __tstate = wxPyBeginAllowThreads();
28047 (arg1)->AddPolygonPoint(arg2);
28048
28049 wxPyEndAllowThreads(__tstate);
28050 if (PyErr_Occurred()) SWIG_fail;
28051 }
28052 Py_INCREF(Py_None); resultobj = Py_None;
28053 return resultobj;
28054 fail:
28055 return NULL;
28056 }
28057
28058
28059 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28060 PyObject *resultobj;
28061 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28062 PyObject * obj0 = 0 ;
28063 char *kwnames[] = {
28064 (char *) "self", NULL
28065 };
28066
28067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28070 {
28071 PyThreadState* __tstate = wxPyBeginAllowThreads();
28072 (arg1)->CalculatePolygonCentre();
28073
28074 wxPyEndAllowThreads(__tstate);
28075 if (PyErr_Occurred()) SWIG_fail;
28076 }
28077 Py_INCREF(Py_None); resultobj = Py_None;
28078 return resultobj;
28079 fail:
28080 return NULL;
28081 }
28082
28083
28084 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28085 PyObject *resultobj;
28086 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28087 int arg2 = (int) 0 ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 char *kwnames[] = {
28091 (char *) "self",(char *) "pos", NULL
28092 };
28093
28094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28097 if (obj1) {
28098 arg2 = (int) SWIG_AsInt(obj1);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
28101 {
28102 PyThreadState* __tstate = wxPyBeginAllowThreads();
28103 (arg1)->DeletePolygonPoint(arg2);
28104
28105 wxPyEndAllowThreads(__tstate);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 Py_INCREF(Py_None); resultobj = Py_None;
28109 return resultobj;
28110 fail:
28111 return NULL;
28112 }
28113
28114
28115 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28116 PyObject *resultobj;
28117 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28118 PyObject *result;
28119 PyObject * obj0 = 0 ;
28120 char *kwnames[] = {
28121 (char *) "self", NULL
28122 };
28123
28124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
28129 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
28134 resultobj = result;
28135 return resultobj;
28136 fail:
28137 return NULL;
28138 }
28139
28140
28141 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28142 PyObject *resultobj;
28143 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28144 PyObject *result;
28145 PyObject * obj0 = 0 ;
28146 char *kwnames[] = {
28147 (char *) "self", NULL
28148 };
28149
28150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28153 {
28154 PyThreadState* __tstate = wxPyBeginAllowThreads();
28155 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28156
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
28160 resultobj = result;
28161 return resultobj;
28162 fail:
28163 return NULL;
28164 }
28165
28166
28167 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28168 PyObject *resultobj;
28169 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28170 double result;
28171 PyObject * obj0 = 0 ;
28172 char *kwnames[] = {
28173 (char *) "self", NULL
28174 };
28175
28176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28182
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 resultobj = SWIG_FromDouble((double)result);
28187 return resultobj;
28188 fail:
28189 return NULL;
28190 }
28191
28192
28193 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28194 PyObject *resultobj;
28195 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28196 double result;
28197 PyObject * obj0 = 0 ;
28198 char *kwnames[] = {
28199 (char *) "self", NULL
28200 };
28201
28202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28205 {
28206 PyThreadState* __tstate = wxPyBeginAllowThreads();
28207 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28208
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 resultobj = SWIG_FromDouble((double)result);
28213 return resultobj;
28214 fail:
28215 return NULL;
28216 }
28217
28218
28219 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28220 PyObject *resultobj;
28221 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28222 double arg2 ;
28223 PyObject * obj0 = 0 ;
28224 PyObject * obj1 = 0 ;
28225 char *kwnames[] = {
28226 (char *) "self",(char *) "w", NULL
28227 };
28228
28229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
28230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28232 arg2 = (double) SWIG_AsDouble(obj1);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 (arg1)->SetOriginalWidth(arg2);
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 return resultobj;
28243 fail:
28244 return NULL;
28245 }
28246
28247
28248 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28249 PyObject *resultobj;
28250 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28251 double arg2 ;
28252 PyObject * obj0 = 0 ;
28253 PyObject * obj1 = 0 ;
28254 char *kwnames[] = {
28255 (char *) "self",(char *) "h", NULL
28256 };
28257
28258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
28259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28261 arg2 = (double) SWIG_AsDouble(obj1);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 (arg1)->SetOriginalHeight(arg2);
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
28270 Py_INCREF(Py_None); resultobj = Py_None;
28271 return resultobj;
28272 fail:
28273 return NULL;
28274 }
28275
28276
28277 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj;
28279 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28280 PyObject * obj0 = 0 ;
28281 char *kwnames[] = {
28282 (char *) "self", NULL
28283 };
28284
28285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
28286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28288 {
28289 PyThreadState* __tstate = wxPyBeginAllowThreads();
28290 (arg1)->UpdateOriginalPoints();
28291
28292 wxPyEndAllowThreads(__tstate);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 Py_INCREF(Py_None); resultobj = Py_None;
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
28303 PyObject *resultobj;
28304 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28305 wxDC *arg2 = 0 ;
28306 PyObject * obj0 = 0 ;
28307 PyObject * obj1 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self",(char *) "dc", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
28313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28316 SWIG_POINTER_EXCEPTION | 0)) == -1)
28317 SWIG_fail;
28318 if (arg2 == NULL) {
28319 PyErr_SetString(PyExc_TypeError,"null reference");
28320 SWIG_fail;
28321 }
28322 {
28323 PyThreadState* __tstate = wxPyBeginAllowThreads();
28324 (arg1)->base_OnDraw(*arg2);
28325
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
28329 Py_INCREF(Py_None); resultobj = Py_None;
28330 return resultobj;
28331 fail:
28332 return NULL;
28333 }
28334
28335
28336 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28337 PyObject *resultobj;
28338 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28339 wxDC *arg2 = 0 ;
28340 PyObject * obj0 = 0 ;
28341 PyObject * obj1 = 0 ;
28342 char *kwnames[] = {
28343 (char *) "self",(char *) "dc", NULL
28344 };
28345
28346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
28347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28350 SWIG_POINTER_EXCEPTION | 0)) == -1)
28351 SWIG_fail;
28352 if (arg2 == NULL) {
28353 PyErr_SetString(PyExc_TypeError,"null reference");
28354 SWIG_fail;
28355 }
28356 {
28357 PyThreadState* __tstate = wxPyBeginAllowThreads();
28358 (arg1)->base_OnDrawContents(*arg2);
28359
28360 wxPyEndAllowThreads(__tstate);
28361 if (PyErr_Occurred()) SWIG_fail;
28362 }
28363 Py_INCREF(Py_None); resultobj = Py_None;
28364 return resultobj;
28365 fail:
28366 return NULL;
28367 }
28368
28369
28370 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
28371 PyObject *resultobj;
28372 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28373 wxDC *arg2 = 0 ;
28374 bool arg3 = (bool) FALSE ;
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 PyObject * obj2 = 0 ;
28378 char *kwnames[] = {
28379 (char *) "self",(char *) "dc",(char *) "erase", NULL
28380 };
28381
28382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
28383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28386 SWIG_POINTER_EXCEPTION | 0)) == -1)
28387 SWIG_fail;
28388 if (arg2 == NULL) {
28389 PyErr_SetString(PyExc_TypeError,"null reference");
28390 SWIG_fail;
28391 }
28392 if (obj2) {
28393 arg3 = (bool) SWIG_AsBool(obj2);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 {
28397 PyThreadState* __tstate = wxPyBeginAllowThreads();
28398 (arg1)->base_OnDrawBranches(*arg2,arg3);
28399
28400 wxPyEndAllowThreads(__tstate);
28401 if (PyErr_Occurred()) SWIG_fail;
28402 }
28403 Py_INCREF(Py_None); resultobj = Py_None;
28404 return resultobj;
28405 fail:
28406 return NULL;
28407 }
28408
28409
28410 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
28411 PyObject *resultobj;
28412 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28413 wxDC *arg2 = 0 ;
28414 PyObject * obj0 = 0 ;
28415 PyObject * obj1 = 0 ;
28416 char *kwnames[] = {
28417 (char *) "self",(char *) "dc", NULL
28418 };
28419
28420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
28421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28424 SWIG_POINTER_EXCEPTION | 0)) == -1)
28425 SWIG_fail;
28426 if (arg2 == NULL) {
28427 PyErr_SetString(PyExc_TypeError,"null reference");
28428 SWIG_fail;
28429 }
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 (arg1)->base_OnMoveLinks(*arg2);
28433
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 Py_INCREF(Py_None); resultobj = Py_None;
28438 return resultobj;
28439 fail:
28440 return NULL;
28441 }
28442
28443
28444 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
28445 PyObject *resultobj;
28446 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28447 wxDC *arg2 = 0 ;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self",(char *) "dc", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
28455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28458 SWIG_POINTER_EXCEPTION | 0)) == -1)
28459 SWIG_fail;
28460 if (arg2 == NULL) {
28461 PyErr_SetString(PyExc_TypeError,"null reference");
28462 SWIG_fail;
28463 }
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 (arg1)->base_OnErase(*arg2);
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 Py_INCREF(Py_None); resultobj = Py_None;
28472 return resultobj;
28473 fail:
28474 return NULL;
28475 }
28476
28477
28478 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28479 PyObject *resultobj;
28480 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28481 wxDC *arg2 = 0 ;
28482 PyObject * obj0 = 0 ;
28483 PyObject * obj1 = 0 ;
28484 char *kwnames[] = {
28485 (char *) "self",(char *) "dc", NULL
28486 };
28487
28488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
28489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28492 SWIG_POINTER_EXCEPTION | 0)) == -1)
28493 SWIG_fail;
28494 if (arg2 == NULL) {
28495 PyErr_SetString(PyExc_TypeError,"null reference");
28496 SWIG_fail;
28497 }
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 (arg1)->base_OnEraseContents(*arg2);
28501
28502 wxPyEndAllowThreads(__tstate);
28503 if (PyErr_Occurred()) SWIG_fail;
28504 }
28505 Py_INCREF(Py_None); resultobj = Py_None;
28506 return resultobj;
28507 fail:
28508 return NULL;
28509 }
28510
28511
28512 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
28513 PyObject *resultobj;
28514 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28515 wxDC *arg2 = 0 ;
28516 PyObject * obj0 = 0 ;
28517 PyObject * obj1 = 0 ;
28518 char *kwnames[] = {
28519 (char *) "self",(char *) "dc", NULL
28520 };
28521
28522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
28523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28526 SWIG_POINTER_EXCEPTION | 0)) == -1)
28527 SWIG_fail;
28528 if (arg2 == NULL) {
28529 PyErr_SetString(PyExc_TypeError,"null reference");
28530 SWIG_fail;
28531 }
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 (arg1)->base_OnHighlight(*arg2);
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 Py_INCREF(Py_None); resultobj = Py_None;
28540 return resultobj;
28541 fail:
28542 return NULL;
28543 }
28544
28545
28546 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28547 PyObject *resultobj;
28548 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28549 double arg2 ;
28550 double arg3 ;
28551 int arg4 = (int) 0 ;
28552 int arg5 = (int) 0 ;
28553 PyObject * obj0 = 0 ;
28554 PyObject * obj1 = 0 ;
28555 PyObject * obj2 = 0 ;
28556 PyObject * obj3 = 0 ;
28557 PyObject * obj4 = 0 ;
28558 char *kwnames[] = {
28559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28560 };
28561
28562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28565 arg2 = (double) SWIG_AsDouble(obj1);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 arg3 = (double) SWIG_AsDouble(obj2);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 if (obj3) {
28570 arg4 = (int) SWIG_AsInt(obj3);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 if (obj4) {
28574 arg5 = (int) SWIG_AsInt(obj4);
28575 if (PyErr_Occurred()) SWIG_fail;
28576 }
28577 {
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28580
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 Py_INCREF(Py_None); resultobj = Py_None;
28585 return resultobj;
28586 fail:
28587 return NULL;
28588 }
28589
28590
28591 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28592 PyObject *resultobj;
28593 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28594 double arg2 ;
28595 double arg3 ;
28596 int arg4 = (int) 0 ;
28597 int arg5 = (int) 0 ;
28598 PyObject * obj0 = 0 ;
28599 PyObject * obj1 = 0 ;
28600 PyObject * obj2 = 0 ;
28601 PyObject * obj3 = 0 ;
28602 PyObject * obj4 = 0 ;
28603 char *kwnames[] = {
28604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28605 };
28606
28607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28610 arg2 = (double) SWIG_AsDouble(obj1);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 arg3 = (double) SWIG_AsDouble(obj2);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 if (obj3) {
28615 arg4 = (int) SWIG_AsInt(obj3);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 if (obj4) {
28619 arg5 = (int) SWIG_AsInt(obj4);
28620 if (PyErr_Occurred()) SWIG_fail;
28621 }
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28625
28626 wxPyEndAllowThreads(__tstate);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 }
28629 Py_INCREF(Py_None); resultobj = Py_None;
28630 return resultobj;
28631 fail:
28632 return NULL;
28633 }
28634
28635
28636 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28637 PyObject *resultobj;
28638 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28639 double arg2 ;
28640 double arg3 ;
28641 int arg4 = (int) 0 ;
28642 int arg5 = (int) 0 ;
28643 PyObject * obj0 = 0 ;
28644 PyObject * obj1 = 0 ;
28645 PyObject * obj2 = 0 ;
28646 PyObject * obj3 = 0 ;
28647 PyObject * obj4 = 0 ;
28648 char *kwnames[] = {
28649 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28650 };
28651
28652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28655 arg2 = (double) SWIG_AsDouble(obj1);
28656 if (PyErr_Occurred()) SWIG_fail;
28657 arg3 = (double) SWIG_AsDouble(obj2);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 if (obj3) {
28660 arg4 = (int) SWIG_AsInt(obj3);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 if (obj4) {
28664 arg5 = (int) SWIG_AsInt(obj4);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 {
28668 PyThreadState* __tstate = wxPyBeginAllowThreads();
28669 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28670
28671 wxPyEndAllowThreads(__tstate);
28672 if (PyErr_Occurred()) SWIG_fail;
28673 }
28674 Py_INCREF(Py_None); resultobj = Py_None;
28675 return resultobj;
28676 fail:
28677 return NULL;
28678 }
28679
28680
28681 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28682 PyObject *resultobj;
28683 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28684 double arg2 ;
28685 double arg3 ;
28686 PyObject * obj0 = 0 ;
28687 PyObject * obj1 = 0 ;
28688 PyObject * obj2 = 0 ;
28689 char *kwnames[] = {
28690 (char *) "self",(char *) "x",(char *) "y", NULL
28691 };
28692
28693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28696 arg2 = (double) SWIG_AsDouble(obj1);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 arg3 = (double) SWIG_AsDouble(obj2);
28699 if (PyErr_Occurred()) SWIG_fail;
28700 {
28701 PyThreadState* __tstate = wxPyBeginAllowThreads();
28702 (arg1)->base_OnSize(arg2,arg3);
28703
28704 wxPyEndAllowThreads(__tstate);
28705 if (PyErr_Occurred()) SWIG_fail;
28706 }
28707 Py_INCREF(Py_None); resultobj = Py_None;
28708 return resultobj;
28709 fail:
28710 return NULL;
28711 }
28712
28713
28714 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
28715 PyObject *resultobj;
28716 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28717 wxDC *arg2 = 0 ;
28718 double arg3 ;
28719 double arg4 ;
28720 double arg5 ;
28721 double arg6 ;
28722 bool arg7 = (bool) True ;
28723 bool result;
28724 PyObject * obj0 = 0 ;
28725 PyObject * obj1 = 0 ;
28726 PyObject * obj2 = 0 ;
28727 PyObject * obj3 = 0 ;
28728 PyObject * obj4 = 0 ;
28729 PyObject * obj5 = 0 ;
28730 PyObject * obj6 = 0 ;
28731 char *kwnames[] = {
28732 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28733 };
28734
28735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28739 SWIG_POINTER_EXCEPTION | 0)) == -1)
28740 SWIG_fail;
28741 if (arg2 == NULL) {
28742 PyErr_SetString(PyExc_TypeError,"null reference");
28743 SWIG_fail;
28744 }
28745 arg3 = (double) SWIG_AsDouble(obj2);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 arg4 = (double) SWIG_AsDouble(obj3);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 arg5 = (double) SWIG_AsDouble(obj4);
28750 if (PyErr_Occurred()) SWIG_fail;
28751 arg6 = (double) SWIG_AsDouble(obj5);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 if (obj6) {
28754 arg7 = (bool) SWIG_AsBool(obj6);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 {
28758 PyThreadState* __tstate = wxPyBeginAllowThreads();
28759 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28760
28761 wxPyEndAllowThreads(__tstate);
28762 if (PyErr_Occurred()) SWIG_fail;
28763 }
28764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28765 return resultobj;
28766 fail:
28767 return NULL;
28768 }
28769
28770
28771 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
28772 PyObject *resultobj;
28773 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28774 wxDC *arg2 = 0 ;
28775 double arg3 ;
28776 double arg4 ;
28777 double arg5 ;
28778 double arg6 ;
28779 bool arg7 = (bool) True ;
28780 PyObject * obj0 = 0 ;
28781 PyObject * obj1 = 0 ;
28782 PyObject * obj2 = 0 ;
28783 PyObject * obj3 = 0 ;
28784 PyObject * obj4 = 0 ;
28785 PyObject * obj5 = 0 ;
28786 PyObject * obj6 = 0 ;
28787 char *kwnames[] = {
28788 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28789 };
28790
28791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28795 SWIG_POINTER_EXCEPTION | 0)) == -1)
28796 SWIG_fail;
28797 if (arg2 == NULL) {
28798 PyErr_SetString(PyExc_TypeError,"null reference");
28799 SWIG_fail;
28800 }
28801 arg3 = (double) SWIG_AsDouble(obj2);
28802 if (PyErr_Occurred()) SWIG_fail;
28803 arg4 = (double) SWIG_AsDouble(obj3);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 arg5 = (double) SWIG_AsDouble(obj4);
28806 if (PyErr_Occurred()) SWIG_fail;
28807 arg6 = (double) SWIG_AsDouble(obj5);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 if (obj6) {
28810 arg7 = (bool) SWIG_AsBool(obj6);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28816
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 Py_INCREF(Py_None); resultobj = Py_None;
28821 return resultobj;
28822 fail:
28823 return NULL;
28824 }
28825
28826
28827 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28828 PyObject *resultobj;
28829 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28830 bool arg2 ;
28831 double arg3 ;
28832 double arg4 ;
28833 int arg5 = (int) 0 ;
28834 int arg6 = (int) 0 ;
28835 PyObject * obj0 = 0 ;
28836 PyObject * obj1 = 0 ;
28837 PyObject * obj2 = 0 ;
28838 PyObject * obj3 = 0 ;
28839 PyObject * obj4 = 0 ;
28840 PyObject * obj5 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28848 arg2 = (bool) SWIG_AsBool(obj1);
28849 if (PyErr_Occurred()) SWIG_fail;
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 if (obj4) {
28855 arg5 = (int) SWIG_AsInt(obj4);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 if (obj5) {
28859 arg6 = (int) SWIG_AsInt(obj5);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 Py_INCREF(Py_None); resultobj = Py_None;
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj;
28878 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28879 double arg2 ;
28880 double arg3 ;
28881 int arg4 = (int) 0 ;
28882 int arg5 = (int) 0 ;
28883 PyObject * obj0 = 0 ;
28884 PyObject * obj1 = 0 ;
28885 PyObject * obj2 = 0 ;
28886 PyObject * obj3 = 0 ;
28887 PyObject * obj4 = 0 ;
28888 char *kwnames[] = {
28889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28890 };
28891
28892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28895 arg2 = (double) SWIG_AsDouble(obj1);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 arg3 = (double) SWIG_AsDouble(obj2);
28898 if (PyErr_Occurred()) SWIG_fail;
28899 if (obj3) {
28900 arg4 = (int) SWIG_AsInt(obj3);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 if (obj4) {
28904 arg5 = (int) SWIG_AsInt(obj4);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
28909 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
28910
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 Py_INCREF(Py_None); resultobj = Py_None;
28915 return resultobj;
28916 fail:
28917 return NULL;
28918 }
28919
28920
28921 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28922 PyObject *resultobj;
28923 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28924 double arg2 ;
28925 double arg3 ;
28926 int arg4 = (int) 0 ;
28927 int arg5 = (int) 0 ;
28928 PyObject * obj0 = 0 ;
28929 PyObject * obj1 = 0 ;
28930 PyObject * obj2 = 0 ;
28931 PyObject * obj3 = 0 ;
28932 PyObject * obj4 = 0 ;
28933 char *kwnames[] = {
28934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28935 };
28936
28937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28940 arg2 = (double) SWIG_AsDouble(obj1);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 arg3 = (double) SWIG_AsDouble(obj2);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 if (obj3) {
28945 arg4 = (int) SWIG_AsInt(obj3);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 if (obj4) {
28949 arg5 = (int) SWIG_AsInt(obj4);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
28955
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 Py_INCREF(Py_None); resultobj = Py_None;
28960 return resultobj;
28961 fail:
28962 return NULL;
28963 }
28964
28965
28966 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28967 PyObject *resultobj;
28968 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28969 bool arg2 ;
28970 double arg3 ;
28971 double arg4 ;
28972 int arg5 = (int) 0 ;
28973 int arg6 = (int) 0 ;
28974 PyObject * obj0 = 0 ;
28975 PyObject * obj1 = 0 ;
28976 PyObject * obj2 = 0 ;
28977 PyObject * obj3 = 0 ;
28978 PyObject * obj4 = 0 ;
28979 PyObject * obj5 = 0 ;
28980 char *kwnames[] = {
28981 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28982 };
28983
28984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28987 arg2 = (bool) SWIG_AsBool(obj1);
28988 if (PyErr_Occurred()) SWIG_fail;
28989 arg3 = (double) SWIG_AsDouble(obj2);
28990 if (PyErr_Occurred()) SWIG_fail;
28991 arg4 = (double) SWIG_AsDouble(obj3);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 if (obj4) {
28994 arg5 = (int) SWIG_AsInt(obj4);
28995 if (PyErr_Occurred()) SWIG_fail;
28996 }
28997 if (obj5) {
28998 arg6 = (int) SWIG_AsInt(obj5);
28999 if (PyErr_Occurred()) SWIG_fail;
29000 }
29001 {
29002 PyThreadState* __tstate = wxPyBeginAllowThreads();
29003 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29004
29005 wxPyEndAllowThreads(__tstate);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 }
29008 Py_INCREF(Py_None); resultobj = Py_None;
29009 return resultobj;
29010 fail:
29011 return NULL;
29012 }
29013
29014
29015 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29016 PyObject *resultobj;
29017 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29018 double arg2 ;
29019 double arg3 ;
29020 int arg4 = (int) 0 ;
29021 int arg5 = (int) 0 ;
29022 PyObject * obj0 = 0 ;
29023 PyObject * obj1 = 0 ;
29024 PyObject * obj2 = 0 ;
29025 PyObject * obj3 = 0 ;
29026 PyObject * obj4 = 0 ;
29027 char *kwnames[] = {
29028 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29029 };
29030
29031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29034 arg2 = (double) SWIG_AsDouble(obj1);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 arg3 = (double) SWIG_AsDouble(obj2);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 if (obj3) {
29039 arg4 = (int) SWIG_AsInt(obj3);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 if (obj4) {
29043 arg5 = (int) SWIG_AsInt(obj4);
29044 if (PyErr_Occurred()) SWIG_fail;
29045 }
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29049
29050 wxPyEndAllowThreads(__tstate);
29051 if (PyErr_Occurred()) SWIG_fail;
29052 }
29053 Py_INCREF(Py_None); resultobj = Py_None;
29054 return resultobj;
29055 fail:
29056 return NULL;
29057 }
29058
29059
29060 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29061 PyObject *resultobj;
29062 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29063 double arg2 ;
29064 double arg3 ;
29065 int arg4 = (int) 0 ;
29066 int arg5 = (int) 0 ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 PyObject * obj3 = 0 ;
29071 PyObject * obj4 = 0 ;
29072 char *kwnames[] = {
29073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29074 };
29075
29076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29079 arg2 = (double) SWIG_AsDouble(obj1);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 arg3 = (double) SWIG_AsDouble(obj2);
29082 if (PyErr_Occurred()) SWIG_fail;
29083 if (obj3) {
29084 arg4 = (int) SWIG_AsInt(obj3);
29085 if (PyErr_Occurred()) SWIG_fail;
29086 }
29087 if (obj4) {
29088 arg5 = (int) SWIG_AsInt(obj4);
29089 if (PyErr_Occurred()) SWIG_fail;
29090 }
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29094
29095 wxPyEndAllowThreads(__tstate);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
29098 Py_INCREF(Py_None); resultobj = Py_None;
29099 return resultobj;
29100 fail:
29101 return NULL;
29102 }
29103
29104
29105 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29106 PyObject *resultobj;
29107 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29108 wxDC *arg2 = 0 ;
29109 double arg3 ;
29110 double arg4 ;
29111 double arg5 ;
29112 double arg6 ;
29113 PyObject * obj0 = 0 ;
29114 PyObject * obj1 = 0 ;
29115 PyObject * obj2 = 0 ;
29116 PyObject * obj3 = 0 ;
29117 PyObject * obj4 = 0 ;
29118 PyObject * obj5 = 0 ;
29119 char *kwnames[] = {
29120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29121 };
29122
29123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29127 SWIG_POINTER_EXCEPTION | 0)) == -1)
29128 SWIG_fail;
29129 if (arg2 == NULL) {
29130 PyErr_SetString(PyExc_TypeError,"null reference");
29131 SWIG_fail;
29132 }
29133 arg3 = (double) SWIG_AsDouble(obj2);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 arg4 = (double) SWIG_AsDouble(obj3);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 arg5 = (double) SWIG_AsDouble(obj4);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 arg6 = (double) SWIG_AsDouble(obj5);
29140 if (PyErr_Occurred()) SWIG_fail;
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 Py_INCREF(Py_None); resultobj = Py_None;
29149 return resultobj;
29150 fail:
29151 return NULL;
29152 }
29153
29154
29155 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29156 PyObject *resultobj;
29157 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29158 wxDC *arg2 = 0 ;
29159 PyObject * obj0 = 0 ;
29160 PyObject * obj1 = 0 ;
29161 char *kwnames[] = {
29162 (char *) "self",(char *) "dc", NULL
29163 };
29164
29165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
29166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29169 SWIG_POINTER_EXCEPTION | 0)) == -1)
29170 SWIG_fail;
29171 if (arg2 == NULL) {
29172 PyErr_SetString(PyExc_TypeError,"null reference");
29173 SWIG_fail;
29174 }
29175 {
29176 PyThreadState* __tstate = wxPyBeginAllowThreads();
29177 (arg1)->base_OnDrawControlPoints(*arg2);
29178
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 Py_INCREF(Py_None); resultobj = Py_None;
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29190 PyObject *resultobj;
29191 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29192 wxDC *arg2 = 0 ;
29193 PyObject * obj0 = 0 ;
29194 PyObject * obj1 = 0 ;
29195 char *kwnames[] = {
29196 (char *) "self",(char *) "dc", NULL
29197 };
29198
29199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
29200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29203 SWIG_POINTER_EXCEPTION | 0)) == -1)
29204 SWIG_fail;
29205 if (arg2 == NULL) {
29206 PyErr_SetString(PyExc_TypeError,"null reference");
29207 SWIG_fail;
29208 }
29209 {
29210 PyThreadState* __tstate = wxPyBeginAllowThreads();
29211 (arg1)->base_OnEraseControlPoints(*arg2);
29212
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 Py_INCREF(Py_None); resultobj = Py_None;
29217 return resultobj;
29218 fail:
29219 return NULL;
29220 }
29221
29222
29223 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29224 PyObject *resultobj;
29225 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29226 wxDC *arg2 = 0 ;
29227 bool arg3 = (bool) True ;
29228 PyObject * obj0 = 0 ;
29229 PyObject * obj1 = 0 ;
29230 PyObject * obj2 = 0 ;
29231 char *kwnames[] = {
29232 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29233 };
29234
29235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
29236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29239 SWIG_POINTER_EXCEPTION | 0)) == -1)
29240 SWIG_fail;
29241 if (arg2 == NULL) {
29242 PyErr_SetString(PyExc_TypeError,"null reference");
29243 SWIG_fail;
29244 }
29245 if (obj2) {
29246 arg3 = (bool) SWIG_AsBool(obj2);
29247 if (PyErr_Occurred()) SWIG_fail;
29248 }
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 (arg1)->base_OnMoveLink(*arg2,arg3);
29252
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 Py_INCREF(Py_None); resultobj = Py_None;
29257 return resultobj;
29258 fail:
29259 return NULL;
29260 }
29261
29262
29263 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29264 PyObject *resultobj;
29265 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29266 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29267 bool arg3 ;
29268 double arg4 ;
29269 double arg5 ;
29270 int arg6 = (int) 0 ;
29271 int arg7 = (int) 0 ;
29272 PyObject * obj0 = 0 ;
29273 PyObject * obj1 = 0 ;
29274 PyObject * obj2 = 0 ;
29275 PyObject * obj3 = 0 ;
29276 PyObject * obj4 = 0 ;
29277 PyObject * obj5 = 0 ;
29278 PyObject * obj6 = 0 ;
29279 char *kwnames[] = {
29280 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29281 };
29282
29283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29288 arg3 = (bool) SWIG_AsBool(obj2);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 arg4 = (double) SWIG_AsDouble(obj3);
29291 if (PyErr_Occurred()) SWIG_fail;
29292 arg5 = (double) SWIG_AsDouble(obj4);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 if (obj5) {
29295 arg6 = (int) SWIG_AsInt(obj5);
29296 if (PyErr_Occurred()) SWIG_fail;
29297 }
29298 if (obj6) {
29299 arg7 = (int) SWIG_AsInt(obj6);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 }
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29305
29306 wxPyEndAllowThreads(__tstate);
29307 if (PyErr_Occurred()) SWIG_fail;
29308 }
29309 Py_INCREF(Py_None); resultobj = Py_None;
29310 return resultobj;
29311 fail:
29312 return NULL;
29313 }
29314
29315
29316 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29317 PyObject *resultobj;
29318 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29319 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29320 double arg3 ;
29321 double arg4 ;
29322 int arg5 = (int) 0 ;
29323 int arg6 = (int) 0 ;
29324 PyObject * obj0 = 0 ;
29325 PyObject * obj1 = 0 ;
29326 PyObject * obj2 = 0 ;
29327 PyObject * obj3 = 0 ;
29328 PyObject * obj4 = 0 ;
29329 PyObject * obj5 = 0 ;
29330 char *kwnames[] = {
29331 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29332 };
29333
29334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29339 arg3 = (double) SWIG_AsDouble(obj2);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 arg4 = (double) SWIG_AsDouble(obj3);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 if (obj4) {
29344 arg5 = (int) SWIG_AsInt(obj4);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 }
29347 if (obj5) {
29348 arg6 = (int) SWIG_AsInt(obj5);
29349 if (PyErr_Occurred()) SWIG_fail;
29350 }
29351 {
29352 PyThreadState* __tstate = wxPyBeginAllowThreads();
29353 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29354
29355 wxPyEndAllowThreads(__tstate);
29356 if (PyErr_Occurred()) SWIG_fail;
29357 }
29358 Py_INCREF(Py_None); resultobj = Py_None;
29359 return resultobj;
29360 fail:
29361 return NULL;
29362 }
29363
29364
29365 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29366 PyObject *resultobj;
29367 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29368 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29369 double arg3 ;
29370 double arg4 ;
29371 int arg5 = (int) 0 ;
29372 int arg6 = (int) 0 ;
29373 PyObject * obj0 = 0 ;
29374 PyObject * obj1 = 0 ;
29375 PyObject * obj2 = 0 ;
29376 PyObject * obj3 = 0 ;
29377 PyObject * obj4 = 0 ;
29378 PyObject * obj5 = 0 ;
29379 char *kwnames[] = {
29380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29381 };
29382
29383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29388 arg3 = (double) SWIG_AsDouble(obj2);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 arg4 = (double) SWIG_AsDouble(obj3);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 if (obj4) {
29393 arg5 = (int) SWIG_AsInt(obj4);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 }
29396 if (obj5) {
29397 arg6 = (int) SWIG_AsInt(obj5);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29403
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 Py_INCREF(Py_None); resultobj = Py_None;
29408 return resultobj;
29409 fail:
29410 return NULL;
29411 }
29412
29413
29414 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj;
29416 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29417 double arg2 ;
29418 double arg3 ;
29419 PyObject * obj0 = 0 ;
29420 PyObject * obj1 = 0 ;
29421 PyObject * obj2 = 0 ;
29422 char *kwnames[] = {
29423 (char *) "self",(char *) "w",(char *) "h", NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29429 arg2 = (double) SWIG_AsDouble(obj1);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 arg3 = (double) SWIG_AsDouble(obj2);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
29435 (arg1)->base_OnBeginSize(arg2,arg3);
29436
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 Py_INCREF(Py_None); resultobj = Py_None;
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29450 double arg2 ;
29451 double arg3 ;
29452 PyObject * obj0 = 0 ;
29453 PyObject * obj1 = 0 ;
29454 PyObject * obj2 = 0 ;
29455 char *kwnames[] = {
29456 (char *) "self",(char *) "w",(char *) "h", NULL
29457 };
29458
29459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29462 arg2 = (double) SWIG_AsDouble(obj1);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 arg3 = (double) SWIG_AsDouble(obj2);
29465 if (PyErr_Occurred()) SWIG_fail;
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
29468 (arg1)->base_OnEndSize(arg2,arg3);
29469
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
29473 Py_INCREF(Py_None); resultobj = Py_None;
29474 return resultobj;
29475 fail:
29476 return NULL;
29477 }
29478
29479
29480 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
29481 PyObject *obj;
29482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29483 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29484 Py_INCREF(obj);
29485 return Py_BuildValue((char *)"");
29486 }
29487 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
29488 PyObject *resultobj;
29489 double arg1 = (double) 0.0 ;
29490 double arg2 = (double) 0.0 ;
29491 wxPyTextShape *result;
29492 PyObject * obj0 = 0 ;
29493 PyObject * obj1 = 0 ;
29494 char *kwnames[] = {
29495 (char *) "width",(char *) "height", NULL
29496 };
29497
29498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29499 if (obj0) {
29500 arg1 = (double) SWIG_AsDouble(obj0);
29501 if (PyErr_Occurred()) SWIG_fail;
29502 }
29503 if (obj1) {
29504 arg2 = (double) SWIG_AsDouble(obj1);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
29509 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29510
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
29514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
29515 return resultobj;
29516 fail:
29517 return NULL;
29518 }
29519
29520
29521 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29522 PyObject *resultobj;
29523 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29524 PyObject *arg2 = (PyObject *) 0 ;
29525 PyObject *arg3 = (PyObject *) 0 ;
29526 PyObject * obj0 = 0 ;
29527 PyObject * obj1 = 0 ;
29528 PyObject * obj2 = 0 ;
29529 char *kwnames[] = {
29530 (char *) "self",(char *) "self",(char *) "_class", NULL
29531 };
29532
29533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29536 arg2 = obj1;
29537 arg3 = obj2;
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 (arg1)->_setCallbackInfo(arg2,arg3);
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 Py_INCREF(Py_None); resultobj = Py_None;
29546 return resultobj;
29547 fail:
29548 return NULL;
29549 }
29550
29551
29552 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
29553 PyObject *resultobj;
29554 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29555 PyObject * obj0 = 0 ;
29556 char *kwnames[] = {
29557 (char *) "self", NULL
29558 };
29559
29560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
29561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29563 {
29564 PyThreadState* __tstate = wxPyBeginAllowThreads();
29565 (arg1)->base_OnDelete();
29566
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 Py_INCREF(Py_None); resultobj = Py_None;
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29578 PyObject *resultobj;
29579 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29580 wxDC *arg2 = 0 ;
29581 PyObject * obj0 = 0 ;
29582 PyObject * obj1 = 0 ;
29583 char *kwnames[] = {
29584 (char *) "self",(char *) "dc", NULL
29585 };
29586
29587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29591 SWIG_POINTER_EXCEPTION | 0)) == -1)
29592 SWIG_fail;
29593 if (arg2 == NULL) {
29594 PyErr_SetString(PyExc_TypeError,"null reference");
29595 SWIG_fail;
29596 }
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 (arg1)->base_OnDraw(*arg2);
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 Py_INCREF(Py_None); resultobj = Py_None;
29605 return resultobj;
29606 fail:
29607 return NULL;
29608 }
29609
29610
29611 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29612 PyObject *resultobj;
29613 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29614 wxDC *arg2 = 0 ;
29615 PyObject * obj0 = 0 ;
29616 PyObject * obj1 = 0 ;
29617 char *kwnames[] = {
29618 (char *) "self",(char *) "dc", NULL
29619 };
29620
29621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29625 SWIG_POINTER_EXCEPTION | 0)) == -1)
29626 SWIG_fail;
29627 if (arg2 == NULL) {
29628 PyErr_SetString(PyExc_TypeError,"null reference");
29629 SWIG_fail;
29630 }
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 (arg1)->base_OnDrawContents(*arg2);
29634
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 Py_INCREF(Py_None); resultobj = Py_None;
29639 return resultobj;
29640 fail:
29641 return NULL;
29642 }
29643
29644
29645 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj;
29647 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29648 wxDC *arg2 = 0 ;
29649 bool arg3 = (bool) FALSE ;
29650 PyObject * obj0 = 0 ;
29651 PyObject * obj1 = 0 ;
29652 PyObject * obj2 = 0 ;
29653 char *kwnames[] = {
29654 (char *) "self",(char *) "dc",(char *) "erase", NULL
29655 };
29656
29657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29661 SWIG_POINTER_EXCEPTION | 0)) == -1)
29662 SWIG_fail;
29663 if (arg2 == NULL) {
29664 PyErr_SetString(PyExc_TypeError,"null reference");
29665 SWIG_fail;
29666 }
29667 if (obj2) {
29668 arg3 = (bool) SWIG_AsBool(obj2);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 (arg1)->base_OnDrawBranches(*arg2,arg3);
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 Py_INCREF(Py_None); resultobj = Py_None;
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29688 wxDC *arg2 = 0 ;
29689 PyObject * obj0 = 0 ;
29690 PyObject * obj1 = 0 ;
29691 char *kwnames[] = {
29692 (char *) "self",(char *) "dc", NULL
29693 };
29694
29695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29699 SWIG_POINTER_EXCEPTION | 0)) == -1)
29700 SWIG_fail;
29701 if (arg2 == NULL) {
29702 PyErr_SetString(PyExc_TypeError,"null reference");
29703 SWIG_fail;
29704 }
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->base_OnMoveLinks(*arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 Py_INCREF(Py_None); resultobj = Py_None;
29713 return resultobj;
29714 fail:
29715 return NULL;
29716 }
29717
29718
29719 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29720 PyObject *resultobj;
29721 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29722 wxDC *arg2 = 0 ;
29723 PyObject * obj0 = 0 ;
29724 PyObject * obj1 = 0 ;
29725 char *kwnames[] = {
29726 (char *) "self",(char *) "dc", NULL
29727 };
29728
29729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29733 SWIG_POINTER_EXCEPTION | 0)) == -1)
29734 SWIG_fail;
29735 if (arg2 == NULL) {
29736 PyErr_SetString(PyExc_TypeError,"null reference");
29737 SWIG_fail;
29738 }
29739 {
29740 PyThreadState* __tstate = wxPyBeginAllowThreads();
29741 (arg1)->base_OnErase(*arg2);
29742
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 Py_INCREF(Py_None); resultobj = Py_None;
29747 return resultobj;
29748 fail:
29749 return NULL;
29750 }
29751
29752
29753 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29754 PyObject *resultobj;
29755 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29756 wxDC *arg2 = 0 ;
29757 PyObject * obj0 = 0 ;
29758 PyObject * obj1 = 0 ;
29759 char *kwnames[] = {
29760 (char *) "self",(char *) "dc", NULL
29761 };
29762
29763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29767 SWIG_POINTER_EXCEPTION | 0)) == -1)
29768 SWIG_fail;
29769 if (arg2 == NULL) {
29770 PyErr_SetString(PyExc_TypeError,"null reference");
29771 SWIG_fail;
29772 }
29773 {
29774 PyThreadState* __tstate = wxPyBeginAllowThreads();
29775 (arg1)->base_OnEraseContents(*arg2);
29776
29777 wxPyEndAllowThreads(__tstate);
29778 if (PyErr_Occurred()) SWIG_fail;
29779 }
29780 Py_INCREF(Py_None); resultobj = Py_None;
29781 return resultobj;
29782 fail:
29783 return NULL;
29784 }
29785
29786
29787 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj;
29789 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29790 wxDC *arg2 = 0 ;
29791 PyObject * obj0 = 0 ;
29792 PyObject * obj1 = 0 ;
29793 char *kwnames[] = {
29794 (char *) "self",(char *) "dc", NULL
29795 };
29796
29797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29801 SWIG_POINTER_EXCEPTION | 0)) == -1)
29802 SWIG_fail;
29803 if (arg2 == NULL) {
29804 PyErr_SetString(PyExc_TypeError,"null reference");
29805 SWIG_fail;
29806 }
29807 {
29808 PyThreadState* __tstate = wxPyBeginAllowThreads();
29809 (arg1)->base_OnHighlight(*arg2);
29810
29811 wxPyEndAllowThreads(__tstate);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 Py_INCREF(Py_None); resultobj = Py_None;
29815 return resultobj;
29816 fail:
29817 return NULL;
29818 }
29819
29820
29821 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29822 PyObject *resultobj;
29823 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29824 double arg2 ;
29825 double arg3 ;
29826 int arg4 = (int) 0 ;
29827 int arg5 = (int) 0 ;
29828 PyObject * obj0 = 0 ;
29829 PyObject * obj1 = 0 ;
29830 PyObject * obj2 = 0 ;
29831 PyObject * obj3 = 0 ;
29832 PyObject * obj4 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29840 arg2 = (double) SWIG_AsDouble(obj1);
29841 if (PyErr_Occurred()) SWIG_fail;
29842 arg3 = (double) SWIG_AsDouble(obj2);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 if (obj3) {
29845 arg4 = (int) SWIG_AsInt(obj3);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 if (obj4) {
29849 arg5 = (int) SWIG_AsInt(obj4);
29850 if (PyErr_Occurred()) SWIG_fail;
29851 }
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 Py_INCREF(Py_None); resultobj = Py_None;
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29869 double arg2 ;
29870 double arg3 ;
29871 int arg4 = (int) 0 ;
29872 int arg5 = (int) 0 ;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 PyObject * obj2 = 0 ;
29876 PyObject * obj3 = 0 ;
29877 PyObject * obj4 = 0 ;
29878 char *kwnames[] = {
29879 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29880 };
29881
29882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29885 arg2 = (double) SWIG_AsDouble(obj1);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 arg3 = (double) SWIG_AsDouble(obj2);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 if (obj3) {
29890 arg4 = (int) SWIG_AsInt(obj3);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 if (obj4) {
29894 arg5 = (int) SWIG_AsInt(obj4);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
29900
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 Py_INCREF(Py_None); resultobj = Py_None;
29905 return resultobj;
29906 fail:
29907 return NULL;
29908 }
29909
29910
29911 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj;
29913 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29914 double arg2 ;
29915 double arg3 ;
29916 int arg4 = (int) 0 ;
29917 int arg5 = (int) 0 ;
29918 PyObject * obj0 = 0 ;
29919 PyObject * obj1 = 0 ;
29920 PyObject * obj2 = 0 ;
29921 PyObject * obj3 = 0 ;
29922 PyObject * obj4 = 0 ;
29923 char *kwnames[] = {
29924 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29925 };
29926
29927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29930 arg2 = (double) SWIG_AsDouble(obj1);
29931 if (PyErr_Occurred()) SWIG_fail;
29932 arg3 = (double) SWIG_AsDouble(obj2);
29933 if (PyErr_Occurred()) SWIG_fail;
29934 if (obj3) {
29935 arg4 = (int) SWIG_AsInt(obj3);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 }
29938 if (obj4) {
29939 arg5 = (int) SWIG_AsInt(obj4);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
29945
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 Py_INCREF(Py_None); resultobj = Py_None;
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj;
29958 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29959 double arg2 ;
29960 double arg3 ;
29961 PyObject * obj0 = 0 ;
29962 PyObject * obj1 = 0 ;
29963 PyObject * obj2 = 0 ;
29964 char *kwnames[] = {
29965 (char *) "self",(char *) "x",(char *) "y", NULL
29966 };
29967
29968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29971 arg2 = (double) SWIG_AsDouble(obj1);
29972 if (PyErr_Occurred()) SWIG_fail;
29973 arg3 = (double) SWIG_AsDouble(obj2);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 (arg1)->base_OnSize(arg2,arg3);
29978
29979 wxPyEndAllowThreads(__tstate);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
29982 Py_INCREF(Py_None); resultobj = Py_None;
29983 return resultobj;
29984 fail:
29985 return NULL;
29986 }
29987
29988
29989 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
29990 PyObject *resultobj;
29991 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29992 wxDC *arg2 = 0 ;
29993 double arg3 ;
29994 double arg4 ;
29995 double arg5 ;
29996 double arg6 ;
29997 bool arg7 = (bool) True ;
29998 bool result;
29999 PyObject * obj0 = 0 ;
30000 PyObject * obj1 = 0 ;
30001 PyObject * obj2 = 0 ;
30002 PyObject * obj3 = 0 ;
30003 PyObject * obj4 = 0 ;
30004 PyObject * obj5 = 0 ;
30005 PyObject * obj6 = 0 ;
30006 char *kwnames[] = {
30007 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30008 };
30009
30010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30014 SWIG_POINTER_EXCEPTION | 0)) == -1)
30015 SWIG_fail;
30016 if (arg2 == NULL) {
30017 PyErr_SetString(PyExc_TypeError,"null reference");
30018 SWIG_fail;
30019 }
30020 arg3 = (double) SWIG_AsDouble(obj2);
30021 if (PyErr_Occurred()) SWIG_fail;
30022 arg4 = (double) SWIG_AsDouble(obj3);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 arg5 = (double) SWIG_AsDouble(obj4);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 arg6 = (double) SWIG_AsDouble(obj5);
30027 if (PyErr_Occurred()) SWIG_fail;
30028 if (obj6) {
30029 arg7 = (bool) SWIG_AsBool(obj6);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 }
30032 {
30033 PyThreadState* __tstate = wxPyBeginAllowThreads();
30034 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30035
30036 wxPyEndAllowThreads(__tstate);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 }
30039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30040 return resultobj;
30041 fail:
30042 return NULL;
30043 }
30044
30045
30046 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30047 PyObject *resultobj;
30048 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30049 wxDC *arg2 = 0 ;
30050 double arg3 ;
30051 double arg4 ;
30052 double arg5 ;
30053 double arg6 ;
30054 bool arg7 = (bool) True ;
30055 PyObject * obj0 = 0 ;
30056 PyObject * obj1 = 0 ;
30057 PyObject * obj2 = 0 ;
30058 PyObject * obj3 = 0 ;
30059 PyObject * obj4 = 0 ;
30060 PyObject * obj5 = 0 ;
30061 PyObject * obj6 = 0 ;
30062 char *kwnames[] = {
30063 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30064 };
30065
30066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30070 SWIG_POINTER_EXCEPTION | 0)) == -1)
30071 SWIG_fail;
30072 if (arg2 == NULL) {
30073 PyErr_SetString(PyExc_TypeError,"null reference");
30074 SWIG_fail;
30075 }
30076 arg3 = (double) SWIG_AsDouble(obj2);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 arg4 = (double) SWIG_AsDouble(obj3);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 arg5 = (double) SWIG_AsDouble(obj4);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 arg6 = (double) SWIG_AsDouble(obj5);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 if (obj6) {
30085 arg7 = (bool) SWIG_AsBool(obj6);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 {
30089 PyThreadState* __tstate = wxPyBeginAllowThreads();
30090 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30091
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 Py_INCREF(Py_None); resultobj = Py_None;
30096 return resultobj;
30097 fail:
30098 return NULL;
30099 }
30100
30101
30102 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30103 PyObject *resultobj;
30104 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30105 bool arg2 ;
30106 double arg3 ;
30107 double arg4 ;
30108 int arg5 = (int) 0 ;
30109 int arg6 = (int) 0 ;
30110 PyObject * obj0 = 0 ;
30111 PyObject * obj1 = 0 ;
30112 PyObject * obj2 = 0 ;
30113 PyObject * obj3 = 0 ;
30114 PyObject * obj4 = 0 ;
30115 PyObject * obj5 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30123 arg2 = (bool) SWIG_AsBool(obj1);
30124 if (PyErr_Occurred()) SWIG_fail;
30125 arg3 = (double) SWIG_AsDouble(obj2);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 arg4 = (double) SWIG_AsDouble(obj3);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 if (obj4) {
30130 arg5 = (int) SWIG_AsInt(obj4);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 if (obj5) {
30134 arg6 = (int) SWIG_AsInt(obj5);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 Py_INCREF(Py_None); resultobj = Py_None;
30145 return resultobj;
30146 fail:
30147 return NULL;
30148 }
30149
30150
30151 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30152 PyObject *resultobj;
30153 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30154 double arg2 ;
30155 double arg3 ;
30156 int arg4 = (int) 0 ;
30157 int arg5 = (int) 0 ;
30158 PyObject * obj0 = 0 ;
30159 PyObject * obj1 = 0 ;
30160 PyObject * obj2 = 0 ;
30161 PyObject * obj3 = 0 ;
30162 PyObject * obj4 = 0 ;
30163 char *kwnames[] = {
30164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30165 };
30166
30167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30170 arg2 = (double) SWIG_AsDouble(obj1);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 arg3 = (double) SWIG_AsDouble(obj2);
30173 if (PyErr_Occurred()) SWIG_fail;
30174 if (obj3) {
30175 arg4 = (int) SWIG_AsInt(obj3);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 }
30178 if (obj4) {
30179 arg5 = (int) SWIG_AsInt(obj4);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 {
30183 PyThreadState* __tstate = wxPyBeginAllowThreads();
30184 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30185
30186 wxPyEndAllowThreads(__tstate);
30187 if (PyErr_Occurred()) SWIG_fail;
30188 }
30189 Py_INCREF(Py_None); resultobj = Py_None;
30190 return resultobj;
30191 fail:
30192 return NULL;
30193 }
30194
30195
30196 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30197 PyObject *resultobj;
30198 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30199 double arg2 ;
30200 double arg3 ;
30201 int arg4 = (int) 0 ;
30202 int arg5 = (int) 0 ;
30203 PyObject * obj0 = 0 ;
30204 PyObject * obj1 = 0 ;
30205 PyObject * obj2 = 0 ;
30206 PyObject * obj3 = 0 ;
30207 PyObject * obj4 = 0 ;
30208 char *kwnames[] = {
30209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30210 };
30211
30212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30215 arg2 = (double) SWIG_AsDouble(obj1);
30216 if (PyErr_Occurred()) SWIG_fail;
30217 arg3 = (double) SWIG_AsDouble(obj2);
30218 if (PyErr_Occurred()) SWIG_fail;
30219 if (obj3) {
30220 arg4 = (int) SWIG_AsInt(obj3);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 if (obj4) {
30224 arg5 = (int) SWIG_AsInt(obj4);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 {
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30230
30231 wxPyEndAllowThreads(__tstate);
30232 if (PyErr_Occurred()) SWIG_fail;
30233 }
30234 Py_INCREF(Py_None); resultobj = Py_None;
30235 return resultobj;
30236 fail:
30237 return NULL;
30238 }
30239
30240
30241 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30242 PyObject *resultobj;
30243 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30244 bool arg2 ;
30245 double arg3 ;
30246 double arg4 ;
30247 int arg5 = (int) 0 ;
30248 int arg6 = (int) 0 ;
30249 PyObject * obj0 = 0 ;
30250 PyObject * obj1 = 0 ;
30251 PyObject * obj2 = 0 ;
30252 PyObject * obj3 = 0 ;
30253 PyObject * obj4 = 0 ;
30254 PyObject * obj5 = 0 ;
30255 char *kwnames[] = {
30256 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30257 };
30258
30259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30262 arg2 = (bool) SWIG_AsBool(obj1);
30263 if (PyErr_Occurred()) SWIG_fail;
30264 arg3 = (double) SWIG_AsDouble(obj2);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 arg4 = (double) SWIG_AsDouble(obj3);
30267 if (PyErr_Occurred()) SWIG_fail;
30268 if (obj4) {
30269 arg5 = (int) SWIG_AsInt(obj4);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 if (obj5) {
30273 arg6 = (int) SWIG_AsInt(obj5);
30274 if (PyErr_Occurred()) SWIG_fail;
30275 }
30276 {
30277 PyThreadState* __tstate = wxPyBeginAllowThreads();
30278 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30279
30280 wxPyEndAllowThreads(__tstate);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 }
30283 Py_INCREF(Py_None); resultobj = Py_None;
30284 return resultobj;
30285 fail:
30286 return NULL;
30287 }
30288
30289
30290 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30291 PyObject *resultobj;
30292 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30293 double arg2 ;
30294 double arg3 ;
30295 int arg4 = (int) 0 ;
30296 int arg5 = (int) 0 ;
30297 PyObject * obj0 = 0 ;
30298 PyObject * obj1 = 0 ;
30299 PyObject * obj2 = 0 ;
30300 PyObject * obj3 = 0 ;
30301 PyObject * obj4 = 0 ;
30302 char *kwnames[] = {
30303 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30304 };
30305
30306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30309 arg2 = (double) SWIG_AsDouble(obj1);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 arg3 = (double) SWIG_AsDouble(obj2);
30312 if (PyErr_Occurred()) SWIG_fail;
30313 if (obj3) {
30314 arg4 = (int) SWIG_AsInt(obj3);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 }
30317 if (obj4) {
30318 arg5 = (int) SWIG_AsInt(obj4);
30319 if (PyErr_Occurred()) SWIG_fail;
30320 }
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30324
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
30328 Py_INCREF(Py_None); resultobj = Py_None;
30329 return resultobj;
30330 fail:
30331 return NULL;
30332 }
30333
30334
30335 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30336 PyObject *resultobj;
30337 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30338 double arg2 ;
30339 double arg3 ;
30340 int arg4 = (int) 0 ;
30341 int arg5 = (int) 0 ;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 PyObject * obj2 = 0 ;
30345 PyObject * obj3 = 0 ;
30346 PyObject * obj4 = 0 ;
30347 char *kwnames[] = {
30348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30349 };
30350
30351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30354 arg2 = (double) SWIG_AsDouble(obj1);
30355 if (PyErr_Occurred()) SWIG_fail;
30356 arg3 = (double) SWIG_AsDouble(obj2);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 if (obj3) {
30359 arg4 = (int) SWIG_AsInt(obj3);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 if (obj4) {
30363 arg5 = (int) SWIG_AsInt(obj4);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30369
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 Py_INCREF(Py_None); resultobj = Py_None;
30374 return resultobj;
30375 fail:
30376 return NULL;
30377 }
30378
30379
30380 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30381 PyObject *resultobj;
30382 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30383 wxDC *arg2 = 0 ;
30384 double arg3 ;
30385 double arg4 ;
30386 double arg5 ;
30387 double arg6 ;
30388 PyObject * obj0 = 0 ;
30389 PyObject * obj1 = 0 ;
30390 PyObject * obj2 = 0 ;
30391 PyObject * obj3 = 0 ;
30392 PyObject * obj4 = 0 ;
30393 PyObject * obj5 = 0 ;
30394 char *kwnames[] = {
30395 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30396 };
30397
30398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30402 SWIG_POINTER_EXCEPTION | 0)) == -1)
30403 SWIG_fail;
30404 if (arg2 == NULL) {
30405 PyErr_SetString(PyExc_TypeError,"null reference");
30406 SWIG_fail;
30407 }
30408 arg3 = (double) SWIG_AsDouble(obj2);
30409 if (PyErr_Occurred()) SWIG_fail;
30410 arg4 = (double) SWIG_AsDouble(obj3);
30411 if (PyErr_Occurred()) SWIG_fail;
30412 arg5 = (double) SWIG_AsDouble(obj4);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 arg6 = (double) SWIG_AsDouble(obj5);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 {
30417 PyThreadState* __tstate = wxPyBeginAllowThreads();
30418 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30419
30420 wxPyEndAllowThreads(__tstate);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 }
30423 Py_INCREF(Py_None); resultobj = Py_None;
30424 return resultobj;
30425 fail:
30426 return NULL;
30427 }
30428
30429
30430 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30431 PyObject *resultobj;
30432 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30433 wxDC *arg2 = 0 ;
30434 PyObject * obj0 = 0 ;
30435 PyObject * obj1 = 0 ;
30436 char *kwnames[] = {
30437 (char *) "self",(char *) "dc", NULL
30438 };
30439
30440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30444 SWIG_POINTER_EXCEPTION | 0)) == -1)
30445 SWIG_fail;
30446 if (arg2 == NULL) {
30447 PyErr_SetString(PyExc_TypeError,"null reference");
30448 SWIG_fail;
30449 }
30450 {
30451 PyThreadState* __tstate = wxPyBeginAllowThreads();
30452 (arg1)->base_OnDrawControlPoints(*arg2);
30453
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
30457 Py_INCREF(Py_None); resultobj = Py_None;
30458 return resultobj;
30459 fail:
30460 return NULL;
30461 }
30462
30463
30464 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj;
30466 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30467 wxDC *arg2 = 0 ;
30468 PyObject * obj0 = 0 ;
30469 PyObject * obj1 = 0 ;
30470 char *kwnames[] = {
30471 (char *) "self",(char *) "dc", NULL
30472 };
30473
30474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30478 SWIG_POINTER_EXCEPTION | 0)) == -1)
30479 SWIG_fail;
30480 if (arg2 == NULL) {
30481 PyErr_SetString(PyExc_TypeError,"null reference");
30482 SWIG_fail;
30483 }
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 (arg1)->base_OnEraseControlPoints(*arg2);
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 Py_INCREF(Py_None); resultobj = Py_None;
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj;
30500 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30501 wxDC *arg2 = 0 ;
30502 bool arg3 = (bool) True ;
30503 PyObject * obj0 = 0 ;
30504 PyObject * obj1 = 0 ;
30505 PyObject * obj2 = 0 ;
30506 char *kwnames[] = {
30507 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30508 };
30509
30510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30514 SWIG_POINTER_EXCEPTION | 0)) == -1)
30515 SWIG_fail;
30516 if (arg2 == NULL) {
30517 PyErr_SetString(PyExc_TypeError,"null reference");
30518 SWIG_fail;
30519 }
30520 if (obj2) {
30521 arg3 = (bool) SWIG_AsBool(obj2);
30522 if (PyErr_Occurred()) SWIG_fail;
30523 }
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 (arg1)->base_OnMoveLink(*arg2,arg3);
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535 }
30536
30537
30538 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30539 PyObject *resultobj;
30540 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30541 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30542 bool arg3 ;
30543 double arg4 ;
30544 double arg5 ;
30545 int arg6 = (int) 0 ;
30546 int arg7 = (int) 0 ;
30547 PyObject * obj0 = 0 ;
30548 PyObject * obj1 = 0 ;
30549 PyObject * obj2 = 0 ;
30550 PyObject * obj3 = 0 ;
30551 PyObject * obj4 = 0 ;
30552 PyObject * obj5 = 0 ;
30553 PyObject * obj6 = 0 ;
30554 char *kwnames[] = {
30555 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30556 };
30557
30558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30563 arg3 = (bool) SWIG_AsBool(obj2);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 arg4 = (double) SWIG_AsDouble(obj3);
30566 if (PyErr_Occurred()) SWIG_fail;
30567 arg5 = (double) SWIG_AsDouble(obj4);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 if (obj5) {
30570 arg6 = (int) SWIG_AsInt(obj5);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 }
30573 if (obj6) {
30574 arg7 = (int) SWIG_AsInt(obj6);
30575 if (PyErr_Occurred()) SWIG_fail;
30576 }
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 Py_INCREF(Py_None); resultobj = Py_None;
30585 return resultobj;
30586 fail:
30587 return NULL;
30588 }
30589
30590
30591 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30592 PyObject *resultobj;
30593 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30594 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30595 double arg3 ;
30596 double arg4 ;
30597 int arg5 = (int) 0 ;
30598 int arg6 = (int) 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 PyObject * obj2 = 0 ;
30602 PyObject * obj3 = 0 ;
30603 PyObject * obj4 = 0 ;
30604 PyObject * obj5 = 0 ;
30605 char *kwnames[] = {
30606 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30607 };
30608
30609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30614 arg3 = (double) SWIG_AsDouble(obj2);
30615 if (PyErr_Occurred()) SWIG_fail;
30616 arg4 = (double) SWIG_AsDouble(obj3);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 if (obj4) {
30619 arg5 = (int) SWIG_AsInt(obj4);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 if (obj5) {
30623 arg6 = (int) SWIG_AsInt(obj5);
30624 if (PyErr_Occurred()) SWIG_fail;
30625 }
30626 {
30627 PyThreadState* __tstate = wxPyBeginAllowThreads();
30628 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30629
30630 wxPyEndAllowThreads(__tstate);
30631 if (PyErr_Occurred()) SWIG_fail;
30632 }
30633 Py_INCREF(Py_None); resultobj = Py_None;
30634 return resultobj;
30635 fail:
30636 return NULL;
30637 }
30638
30639
30640 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30641 PyObject *resultobj;
30642 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30643 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30644 double arg3 ;
30645 double arg4 ;
30646 int arg5 = (int) 0 ;
30647 int arg6 = (int) 0 ;
30648 PyObject * obj0 = 0 ;
30649 PyObject * obj1 = 0 ;
30650 PyObject * obj2 = 0 ;
30651 PyObject * obj3 = 0 ;
30652 PyObject * obj4 = 0 ;
30653 PyObject * obj5 = 0 ;
30654 char *kwnames[] = {
30655 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30656 };
30657
30658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30663 arg3 = (double) SWIG_AsDouble(obj2);
30664 if (PyErr_Occurred()) SWIG_fail;
30665 arg4 = (double) SWIG_AsDouble(obj3);
30666 if (PyErr_Occurred()) SWIG_fail;
30667 if (obj4) {
30668 arg5 = (int) SWIG_AsInt(obj4);
30669 if (PyErr_Occurred()) SWIG_fail;
30670 }
30671 if (obj5) {
30672 arg6 = (int) SWIG_AsInt(obj5);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30678
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 Py_INCREF(Py_None); resultobj = Py_None;
30683 return resultobj;
30684 fail:
30685 return NULL;
30686 }
30687
30688
30689 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30690 PyObject *resultobj;
30691 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30692 double arg2 ;
30693 double arg3 ;
30694 PyObject * obj0 = 0 ;
30695 PyObject * obj1 = 0 ;
30696 PyObject * obj2 = 0 ;
30697 char *kwnames[] = {
30698 (char *) "self",(char *) "w",(char *) "h", NULL
30699 };
30700
30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30704 arg2 = (double) SWIG_AsDouble(obj1);
30705 if (PyErr_Occurred()) SWIG_fail;
30706 arg3 = (double) SWIG_AsDouble(obj2);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 {
30709 PyThreadState* __tstate = wxPyBeginAllowThreads();
30710 (arg1)->base_OnBeginSize(arg2,arg3);
30711
30712 wxPyEndAllowThreads(__tstate);
30713 if (PyErr_Occurred()) SWIG_fail;
30714 }
30715 Py_INCREF(Py_None); resultobj = Py_None;
30716 return resultobj;
30717 fail:
30718 return NULL;
30719 }
30720
30721
30722 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30723 PyObject *resultobj;
30724 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30725 double arg2 ;
30726 double arg3 ;
30727 PyObject * obj0 = 0 ;
30728 PyObject * obj1 = 0 ;
30729 PyObject * obj2 = 0 ;
30730 char *kwnames[] = {
30731 (char *) "self",(char *) "w",(char *) "h", NULL
30732 };
30733
30734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30737 arg2 = (double) SWIG_AsDouble(obj1);
30738 if (PyErr_Occurred()) SWIG_fail;
30739 arg3 = (double) SWIG_AsDouble(obj2);
30740 if (PyErr_Occurred()) SWIG_fail;
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 (arg1)->base_OnEndSize(arg2,arg3);
30744
30745 wxPyEndAllowThreads(__tstate);
30746 if (PyErr_Occurred()) SWIG_fail;
30747 }
30748 Py_INCREF(Py_None); resultobj = Py_None;
30749 return resultobj;
30750 fail:
30751 return NULL;
30752 }
30753
30754
30755 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
30756 PyObject *obj;
30757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30758 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30759 Py_INCREF(obj);
30760 return Py_BuildValue((char *)"");
30761 }
30762 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
30763 PyObject *resultobj;
30764 wxDiagram *result;
30765 char *kwnames[] = {
30766 NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30770 {
30771 PyThreadState* __tstate = wxPyBeginAllowThreads();
30772 result = (wxDiagram *)new wxDiagram();
30773
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 {
30778 resultobj = wxPyMake_wxObject(result);
30779 }
30780 return resultobj;
30781 fail:
30782 return NULL;
30783 }
30784
30785
30786 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30787 PyObject *resultobj;
30788 wxDiagram *arg1 = (wxDiagram *) 0 ;
30789 wxPyShape *arg2 = (wxPyShape *) 0 ;
30790 wxPyShape *arg3 = (wxPyShape *) NULL ;
30791 PyObject * obj0 = 0 ;
30792 PyObject * obj1 = 0 ;
30793 PyObject * obj2 = 0 ;
30794 char *kwnames[] = {
30795 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30796 };
30797
30798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
30799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30803 if (obj2) {
30804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30806 }
30807 {
30808 PyThreadState* __tstate = wxPyBeginAllowThreads();
30809 (arg1)->AddShape(arg2,arg3);
30810
30811 wxPyEndAllowThreads(__tstate);
30812 if (PyErr_Occurred()) SWIG_fail;
30813 }
30814 Py_INCREF(Py_None); resultobj = Py_None;
30815 return resultobj;
30816 fail:
30817 return NULL;
30818 }
30819
30820
30821 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30822 PyObject *resultobj;
30823 wxDiagram *arg1 = (wxDiagram *) 0 ;
30824 wxDC *arg2 = 0 ;
30825 PyObject * obj0 = 0 ;
30826 PyObject * obj1 = 0 ;
30827 char *kwnames[] = {
30828 (char *) "self",(char *) "dc", NULL
30829 };
30830
30831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
30832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30835 SWIG_POINTER_EXCEPTION | 0)) == -1)
30836 SWIG_fail;
30837 if (arg2 == NULL) {
30838 PyErr_SetString(PyExc_TypeError,"null reference");
30839 SWIG_fail;
30840 }
30841 {
30842 PyThreadState* __tstate = wxPyBeginAllowThreads();
30843 (arg1)->Clear(*arg2);
30844
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 Py_INCREF(Py_None); resultobj = Py_None;
30849 return resultobj;
30850 fail:
30851 return NULL;
30852 }
30853
30854
30855 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj;
30857 wxDiagram *arg1 = (wxDiagram *) 0 ;
30858 PyObject * obj0 = 0 ;
30859 char *kwnames[] = {
30860 (char *) "self", NULL
30861 };
30862
30863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
30864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30866 {
30867 PyThreadState* __tstate = wxPyBeginAllowThreads();
30868 (arg1)->DeleteAllShapes();
30869
30870 wxPyEndAllowThreads(__tstate);
30871 if (PyErr_Occurred()) SWIG_fail;
30872 }
30873 Py_INCREF(Py_None); resultobj = Py_None;
30874 return resultobj;
30875 fail:
30876 return NULL;
30877 }
30878
30879
30880 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30881 PyObject *resultobj;
30882 wxDiagram *arg1 = (wxDiagram *) 0 ;
30883 wxDC *arg2 = 0 ;
30884 double arg3 ;
30885 double arg4 ;
30886 double arg5 ;
30887 double arg6 ;
30888 PyObject * obj0 = 0 ;
30889 PyObject * obj1 = 0 ;
30890 PyObject * obj2 = 0 ;
30891 PyObject * obj3 = 0 ;
30892 PyObject * obj4 = 0 ;
30893 PyObject * obj5 = 0 ;
30894 char *kwnames[] = {
30895 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30896 };
30897
30898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30902 SWIG_POINTER_EXCEPTION | 0)) == -1)
30903 SWIG_fail;
30904 if (arg2 == NULL) {
30905 PyErr_SetString(PyExc_TypeError,"null reference");
30906 SWIG_fail;
30907 }
30908 arg3 = (double) SWIG_AsDouble(obj2);
30909 if (PyErr_Occurred()) SWIG_fail;
30910 arg4 = (double) SWIG_AsDouble(obj3);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 arg5 = (double) SWIG_AsDouble(obj4);
30913 if (PyErr_Occurred()) SWIG_fail;
30914 arg6 = (double) SWIG_AsDouble(obj5);
30915 if (PyErr_Occurred()) SWIG_fail;
30916 {
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
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_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30931 PyObject *resultobj;
30932 wxDiagram *arg1 = (wxDiagram *) 0 ;
30933 long arg2 ;
30934 wxPyShape *result;
30935 PyObject * obj0 = 0 ;
30936 PyObject * obj1 = 0 ;
30937 char *kwnames[] = {
30938 (char *) "self",(char *) "id", NULL
30939 };
30940
30941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
30942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30944 arg2 = (long) SWIG_AsLong(obj1);
30945 if (PyErr_Occurred()) SWIG_fail;
30946 {
30947 PyThreadState* __tstate = wxPyBeginAllowThreads();
30948 result = (wxPyShape *)(arg1)->FindShape(arg2);
30949
30950 wxPyEndAllowThreads(__tstate);
30951 if (PyErr_Occurred()) SWIG_fail;
30952 }
30953 {
30954 resultobj = wxPyMake_wxShapeEvtHandler(result);
30955 }
30956 return resultobj;
30957 fail:
30958 return NULL;
30959 }
30960
30961
30962 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
30963 PyObject *resultobj;
30964 wxDiagram *arg1 = (wxDiagram *) 0 ;
30965 wxPyShapeCanvas *result;
30966 PyObject * obj0 = 0 ;
30967 char *kwnames[] = {
30968 (char *) "self", NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
30972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
30977
30978 wxPyEndAllowThreads(__tstate);
30979 if (PyErr_Occurred()) SWIG_fail;
30980 }
30981 {
30982 resultobj = wxPyMake_wxObject(result);
30983 }
30984 return resultobj;
30985 fail:
30986 return NULL;
30987 }
30988
30989
30990 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30991 PyObject *resultobj;
30992 wxDiagram *arg1 = (wxDiagram *) 0 ;
30993 int result;
30994 PyObject * obj0 = 0 ;
30995 char *kwnames[] = {
30996 (char *) "self", NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31002 {
31003 PyThreadState* __tstate = wxPyBeginAllowThreads();
31004 result = (int)(arg1)->GetCount();
31005
31006 wxPyEndAllowThreads(__tstate);
31007 if (PyErr_Occurred()) SWIG_fail;
31008 }
31009 resultobj = SWIG_FromInt((int)result);
31010 return resultobj;
31011 fail:
31012 return NULL;
31013 }
31014
31015
31016 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31017 PyObject *resultobj;
31018 wxDiagram *arg1 = (wxDiagram *) 0 ;
31019 double result;
31020 PyObject * obj0 = 0 ;
31021 char *kwnames[] = {
31022 (char *) "self", NULL
31023 };
31024
31025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31028 {
31029 PyThreadState* __tstate = wxPyBeginAllowThreads();
31030 result = (double)(arg1)->GetGridSpacing();
31031
31032 wxPyEndAllowThreads(__tstate);
31033 if (PyErr_Occurred()) SWIG_fail;
31034 }
31035 resultobj = SWIG_FromDouble((double)result);
31036 return resultobj;
31037 fail:
31038 return NULL;
31039 }
31040
31041
31042 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj;
31044 wxDiagram *arg1 = (wxDiagram *) 0 ;
31045 int result;
31046 PyObject * obj0 = 0 ;
31047 char *kwnames[] = {
31048 (char *) "self", NULL
31049 };
31050
31051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31054 {
31055 PyThreadState* __tstate = wxPyBeginAllowThreads();
31056 result = (int)(arg1)->GetMouseTolerance();
31057
31058 wxPyEndAllowThreads(__tstate);
31059 if (PyErr_Occurred()) SWIG_fail;
31060 }
31061 resultobj = SWIG_FromInt((int)result);
31062 return resultobj;
31063 fail:
31064 return NULL;
31065 }
31066
31067
31068 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31069 PyObject *resultobj;
31070 wxDiagram *arg1 = (wxDiagram *) 0 ;
31071 PyObject *result;
31072 PyObject * obj0 = 0 ;
31073 char *kwnames[] = {
31074 (char *) "self", NULL
31075 };
31076
31077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
31078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31080 {
31081 PyThreadState* __tstate = wxPyBeginAllowThreads();
31082 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31083
31084 wxPyEndAllowThreads(__tstate);
31085 if (PyErr_Occurred()) SWIG_fail;
31086 }
31087 resultobj = result;
31088 return resultobj;
31089 fail:
31090 return NULL;
31091 }
31092
31093
31094 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31095 PyObject *resultobj;
31096 wxDiagram *arg1 = (wxDiagram *) 0 ;
31097 bool result;
31098 PyObject * obj0 = 0 ;
31099 char *kwnames[] = {
31100 (char *) "self", NULL
31101 };
31102
31103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
31104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31106 {
31107 PyThreadState* __tstate = wxPyBeginAllowThreads();
31108 result = (bool)(arg1)->GetQuickEditMode();
31109
31110 wxPyEndAllowThreads(__tstate);
31111 if (PyErr_Occurred()) SWIG_fail;
31112 }
31113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31114 return resultobj;
31115 fail:
31116 return NULL;
31117 }
31118
31119
31120 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31121 PyObject *resultobj;
31122 wxDiagram *arg1 = (wxDiagram *) 0 ;
31123 bool result;
31124 PyObject * obj0 = 0 ;
31125 char *kwnames[] = {
31126 (char *) "self", NULL
31127 };
31128
31129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
31130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31132 {
31133 PyThreadState* __tstate = wxPyBeginAllowThreads();
31134 result = (bool)(arg1)->GetSnapToGrid();
31135
31136 wxPyEndAllowThreads(__tstate);
31137 if (PyErr_Occurred()) SWIG_fail;
31138 }
31139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31140 return resultobj;
31141 fail:
31142 return NULL;
31143 }
31144
31145
31146 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj;
31148 wxDiagram *arg1 = (wxDiagram *) 0 ;
31149 wxPyShape *arg2 = (wxPyShape *) 0 ;
31150 PyObject * obj0 = 0 ;
31151 PyObject * obj1 = 0 ;
31152 char *kwnames[] = {
31153 (char *) "self",(char *) "shape", NULL
31154 };
31155
31156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31161 {
31162 PyThreadState* __tstate = wxPyBeginAllowThreads();
31163 (arg1)->InsertShape(arg2);
31164
31165 wxPyEndAllowThreads(__tstate);
31166 if (PyErr_Occurred()) SWIG_fail;
31167 }
31168 Py_INCREF(Py_None); resultobj = Py_None;
31169 return resultobj;
31170 fail:
31171 return NULL;
31172 }
31173
31174
31175 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31176 PyObject *resultobj;
31177 wxDiagram *arg1 = (wxDiagram *) 0 ;
31178 wxDC *arg2 = 0 ;
31179 PyObject * obj0 = 0 ;
31180 PyObject * obj1 = 0 ;
31181 char *kwnames[] = {
31182 (char *) "self",(char *) "dc", NULL
31183 };
31184
31185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
31186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31189 SWIG_POINTER_EXCEPTION | 0)) == -1)
31190 SWIG_fail;
31191 if (arg2 == NULL) {
31192 PyErr_SetString(PyExc_TypeError,"null reference");
31193 SWIG_fail;
31194 }
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 (arg1)->RecentreAll(*arg2);
31198
31199 wxPyEndAllowThreads(__tstate);
31200 if (PyErr_Occurred()) SWIG_fail;
31201 }
31202 Py_INCREF(Py_None); resultobj = Py_None;
31203 return resultobj;
31204 fail:
31205 return NULL;
31206 }
31207
31208
31209 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 wxDiagram *arg1 = (wxDiagram *) 0 ;
31212 wxDC *arg2 = 0 ;
31213 PyObject * obj0 = 0 ;
31214 PyObject * obj1 = 0 ;
31215 char *kwnames[] = {
31216 (char *) "self",(char *) "dc", NULL
31217 };
31218
31219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
31220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31223 SWIG_POINTER_EXCEPTION | 0)) == -1)
31224 SWIG_fail;
31225 if (arg2 == NULL) {
31226 PyErr_SetString(PyExc_TypeError,"null reference");
31227 SWIG_fail;
31228 }
31229 {
31230 PyThreadState* __tstate = wxPyBeginAllowThreads();
31231 (arg1)->Redraw(*arg2);
31232
31233 wxPyEndAllowThreads(__tstate);
31234 if (PyErr_Occurred()) SWIG_fail;
31235 }
31236 Py_INCREF(Py_None); resultobj = Py_None;
31237 return resultobj;
31238 fail:
31239 return NULL;
31240 }
31241
31242
31243 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31244 PyObject *resultobj;
31245 wxDiagram *arg1 = (wxDiagram *) 0 ;
31246 PyObject * obj0 = 0 ;
31247 char *kwnames[] = {
31248 (char *) "self", NULL
31249 };
31250
31251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
31252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 (arg1)->RemoveAllShapes();
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 Py_INCREF(Py_None); resultobj = Py_None;
31262 return resultobj;
31263 fail:
31264 return NULL;
31265 }
31266
31267
31268 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31269 PyObject *resultobj;
31270 wxDiagram *arg1 = (wxDiagram *) 0 ;
31271 wxPyShape *arg2 = (wxPyShape *) 0 ;
31272 PyObject * obj0 = 0 ;
31273 PyObject * obj1 = 0 ;
31274 char *kwnames[] = {
31275 (char *) "self",(char *) "shape", NULL
31276 };
31277
31278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
31279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31283 {
31284 PyThreadState* __tstate = wxPyBeginAllowThreads();
31285 (arg1)->RemoveShape(arg2);
31286
31287 wxPyEndAllowThreads(__tstate);
31288 if (PyErr_Occurred()) SWIG_fail;
31289 }
31290 Py_INCREF(Py_None); resultobj = Py_None;
31291 return resultobj;
31292 fail:
31293 return NULL;
31294 }
31295
31296
31297 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31298 PyObject *resultobj;
31299 wxDiagram *arg1 = (wxDiagram *) 0 ;
31300 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31301 PyObject * obj0 = 0 ;
31302 PyObject * obj1 = 0 ;
31303 char *kwnames[] = {
31304 (char *) "self",(char *) "canvas", NULL
31305 };
31306
31307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
31308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31312 {
31313 PyThreadState* __tstate = wxPyBeginAllowThreads();
31314 (arg1)->SetCanvas(arg2);
31315
31316 wxPyEndAllowThreads(__tstate);
31317 if (PyErr_Occurred()) SWIG_fail;
31318 }
31319 Py_INCREF(Py_None); resultobj = Py_None;
31320 return resultobj;
31321 fail:
31322 return NULL;
31323 }
31324
31325
31326 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31327 PyObject *resultobj;
31328 wxDiagram *arg1 = (wxDiagram *) 0 ;
31329 double arg2 ;
31330 PyObject * obj0 = 0 ;
31331 PyObject * obj1 = 0 ;
31332 char *kwnames[] = {
31333 (char *) "self",(char *) "spacing", NULL
31334 };
31335
31336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
31337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31339 arg2 = (double) SWIG_AsDouble(obj1);
31340 if (PyErr_Occurred()) SWIG_fail;
31341 {
31342 PyThreadState* __tstate = wxPyBeginAllowThreads();
31343 (arg1)->SetGridSpacing(arg2);
31344
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
31348 Py_INCREF(Py_None); resultobj = Py_None;
31349 return resultobj;
31350 fail:
31351 return NULL;
31352 }
31353
31354
31355 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31356 PyObject *resultobj;
31357 wxDiagram *arg1 = (wxDiagram *) 0 ;
31358 int arg2 ;
31359 PyObject * obj0 = 0 ;
31360 PyObject * obj1 = 0 ;
31361 char *kwnames[] = {
31362 (char *) "self",(char *) "tolerance", NULL
31363 };
31364
31365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
31366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31368 arg2 = (int) SWIG_AsInt(obj1);
31369 if (PyErr_Occurred()) SWIG_fail;
31370 {
31371 PyThreadState* __tstate = wxPyBeginAllowThreads();
31372 (arg1)->SetMouseTolerance(arg2);
31373
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 Py_INCREF(Py_None); resultobj = Py_None;
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj;
31386 wxDiagram *arg1 = (wxDiagram *) 0 ;
31387 bool arg2 ;
31388 PyObject * obj0 = 0 ;
31389 PyObject * obj1 = 0 ;
31390 char *kwnames[] = {
31391 (char *) "self",(char *) "mode", NULL
31392 };
31393
31394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
31395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31397 arg2 = (bool) SWIG_AsBool(obj1);
31398 if (PyErr_Occurred()) SWIG_fail;
31399 {
31400 PyThreadState* __tstate = wxPyBeginAllowThreads();
31401 (arg1)->SetQuickEditMode(arg2);
31402
31403 wxPyEndAllowThreads(__tstate);
31404 if (PyErr_Occurred()) SWIG_fail;
31405 }
31406 Py_INCREF(Py_None); resultobj = Py_None;
31407 return resultobj;
31408 fail:
31409 return NULL;
31410 }
31411
31412
31413 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31414 PyObject *resultobj;
31415 wxDiagram *arg1 = (wxDiagram *) 0 ;
31416 bool arg2 ;
31417 PyObject * obj0 = 0 ;
31418 PyObject * obj1 = 0 ;
31419 char *kwnames[] = {
31420 (char *) "self",(char *) "snap", NULL
31421 };
31422
31423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
31424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31426 arg2 = (bool) SWIG_AsBool(obj1);
31427 if (PyErr_Occurred()) SWIG_fail;
31428 {
31429 PyThreadState* __tstate = wxPyBeginAllowThreads();
31430 (arg1)->SetSnapToGrid(arg2);
31431
31432 wxPyEndAllowThreads(__tstate);
31433 if (PyErr_Occurred()) SWIG_fail;
31434 }
31435 Py_INCREF(Py_None); resultobj = Py_None;
31436 return resultobj;
31437 fail:
31438 return NULL;
31439 }
31440
31441
31442 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31443 PyObject *resultobj;
31444 wxDiagram *arg1 = (wxDiagram *) 0 ;
31445 bool arg2 ;
31446 PyObject * obj0 = 0 ;
31447 PyObject * obj1 = 0 ;
31448 char *kwnames[] = {
31449 (char *) "self",(char *) "show", NULL
31450 };
31451
31452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
31453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31455 arg2 = (bool) SWIG_AsBool(obj1);
31456 if (PyErr_Occurred()) SWIG_fail;
31457 {
31458 PyThreadState* __tstate = wxPyBeginAllowThreads();
31459 (arg1)->ShowAll(arg2);
31460
31461 wxPyEndAllowThreads(__tstate);
31462 if (PyErr_Occurred()) SWIG_fail;
31463 }
31464 Py_INCREF(Py_None); resultobj = Py_None;
31465 return resultobj;
31466 fail:
31467 return NULL;
31468 }
31469
31470
31471 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
31472 PyObject *resultobj;
31473 wxDiagram *arg1 = (wxDiagram *) 0 ;
31474 double *arg2 = (double *) 0 ;
31475 double *arg3 = (double *) 0 ;
31476 double temp2 ;
31477 double temp3 ;
31478 PyObject * obj0 = 0 ;
31479 PyObject * obj1 = 0 ;
31480 PyObject * obj2 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
31486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31488 {
31489 temp2 = PyFloat_AsDouble(obj1);
31490 if (PyErr_Occurred()) SWIG_fail;
31491 arg2 = &temp2;
31492 }
31493 {
31494 temp3 = PyFloat_AsDouble(obj2);
31495 if (PyErr_Occurred()) SWIG_fail;
31496 arg3 = &temp3;
31497 }
31498 {
31499 PyThreadState* __tstate = wxPyBeginAllowThreads();
31500 (arg1)->Snap(arg2,arg3);
31501
31502 wxPyEndAllowThreads(__tstate);
31503 if (PyErr_Occurred()) SWIG_fail;
31504 }
31505 Py_INCREF(Py_None); resultobj = Py_None;
31506 {
31507 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31508 resultobj = t_output_helper(resultobj,o);
31509 }
31510 {
31511 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31512 resultobj = t_output_helper(resultobj,o);
31513 }
31514 return resultobj;
31515 fail:
31516 return NULL;
31517 }
31518
31519
31520 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
31521 PyObject *obj;
31522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31523 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31524 Py_INCREF(obj);
31525 return Py_BuildValue((char *)"");
31526 }
31527 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31528 PyObject *resultobj;
31529 wxWindow *arg1 = (wxWindow *) NULL ;
31530 int arg2 = (int) -1 ;
31531 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31532 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31533 wxSize const &arg4_defvalue = wxDefaultSize ;
31534 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31535 long arg5 = (long) wxBORDER ;
31536 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31537 wxString *arg6 = (wxString *) &arg6_defvalue ;
31538 wxPyShapeCanvas *result;
31539 wxPoint temp3 ;
31540 wxSize temp4 ;
31541 bool temp6 = False ;
31542 PyObject * obj0 = 0 ;
31543 PyObject * obj1 = 0 ;
31544 PyObject * obj2 = 0 ;
31545 PyObject * obj3 = 0 ;
31546 PyObject * obj4 = 0 ;
31547 PyObject * obj5 = 0 ;
31548 char *kwnames[] = {
31549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31550 };
31551
31552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31553 if (obj0) {
31554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31556 }
31557 if (obj1) {
31558 arg2 = (int) SWIG_AsInt(obj1);
31559 if (PyErr_Occurred()) SWIG_fail;
31560 }
31561 if (obj2) {
31562 {
31563 arg3 = &temp3;
31564 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31565 }
31566 }
31567 if (obj3) {
31568 {
31569 arg4 = &temp4;
31570 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31571 }
31572 }
31573 if (obj4) {
31574 arg5 = (long) SWIG_AsLong(obj4);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 if (obj5) {
31578 {
31579 arg6 = wxString_in_helper(obj5);
31580 if (arg6 == NULL) SWIG_fail;
31581 temp6 = True;
31582 }
31583 }
31584 {
31585 PyThreadState* __tstate = wxPyBeginAllowThreads();
31586 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31587
31588 wxPyEndAllowThreads(__tstate);
31589 if (PyErr_Occurred()) SWIG_fail;
31590 }
31591 {
31592 resultobj = wxPyMake_wxObject(result);
31593 }
31594 {
31595 if (temp6)
31596 delete arg6;
31597 }
31598 return resultobj;
31599 fail:
31600 {
31601 if (temp6)
31602 delete arg6;
31603 }
31604 return NULL;
31605 }
31606
31607
31608 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31609 PyObject *resultobj;
31610 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31611 PyObject *arg2 = (PyObject *) 0 ;
31612 PyObject *arg3 = (PyObject *) 0 ;
31613 PyObject * obj0 = 0 ;
31614 PyObject * obj1 = 0 ;
31615 PyObject * obj2 = 0 ;
31616 char *kwnames[] = {
31617 (char *) "self",(char *) "self",(char *) "_class", NULL
31618 };
31619
31620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31623 arg2 = obj1;
31624 arg3 = obj2;
31625 {
31626 PyThreadState* __tstate = wxPyBeginAllowThreads();
31627 (arg1)->_setCallbackInfo(arg2,arg3);
31628
31629 wxPyEndAllowThreads(__tstate);
31630 if (PyErr_Occurred()) SWIG_fail;
31631 }
31632 Py_INCREF(Py_None); resultobj = Py_None;
31633 return resultobj;
31634 fail:
31635 return NULL;
31636 }
31637
31638
31639 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31640 PyObject *resultobj;
31641 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31642 wxPyShape *arg2 = (wxPyShape *) 0 ;
31643 wxPyShape *arg3 = (wxPyShape *) NULL ;
31644 PyObject * obj0 = 0 ;
31645 PyObject * obj1 = 0 ;
31646 PyObject * obj2 = 0 ;
31647 char *kwnames[] = {
31648 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31649 };
31650
31651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31656 if (obj2) {
31657 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31659 }
31660 {
31661 PyThreadState* __tstate = wxPyBeginAllowThreads();
31662 (arg1)->AddShape(arg2,arg3);
31663
31664 wxPyEndAllowThreads(__tstate);
31665 if (PyErr_Occurred()) SWIG_fail;
31666 }
31667 Py_INCREF(Py_None); resultobj = Py_None;
31668 return resultobj;
31669 fail:
31670 return NULL;
31671 }
31672
31673
31674 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31675 PyObject *resultobj;
31676 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31677 double arg2 ;
31678 double arg3 ;
31679 int *arg4 = (int *) 0 ;
31680 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31681 wxPyShape *arg6 = (wxPyShape *) NULL ;
31682 wxPyShape *result;
31683 int temp4 ;
31684 PyObject * obj0 = 0 ;
31685 PyObject * obj1 = 0 ;
31686 PyObject * obj2 = 0 ;
31687 PyObject * obj3 = 0 ;
31688 PyObject * obj4 = 0 ;
31689 char *kwnames[] = {
31690 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31691 };
31692
31693 arg4 = &temp4;
31694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31697 arg2 = (double) SWIG_AsDouble(obj1);
31698 if (PyErr_Occurred()) SWIG_fail;
31699 arg3 = (double) SWIG_AsDouble(obj2);
31700 if (PyErr_Occurred()) SWIG_fail;
31701 if (obj3) {
31702 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31704 }
31705 if (obj4) {
31706 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31708 }
31709 {
31710 PyThreadState* __tstate = wxPyBeginAllowThreads();
31711 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31712
31713 wxPyEndAllowThreads(__tstate);
31714 if (PyErr_Occurred()) SWIG_fail;
31715 }
31716 {
31717 resultobj = wxPyMake_wxShapeEvtHandler(result);
31718 }
31719 {
31720 PyObject *o = PyInt_FromLong((long) (*arg4));
31721 resultobj = t_output_helper(resultobj,o);
31722 }
31723 return resultobj;
31724 fail:
31725 return NULL;
31726 }
31727
31728
31729 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31730 PyObject *resultobj;
31731 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31732 double arg2 ;
31733 double arg3 ;
31734 int *arg4 = (int *) 0 ;
31735 int arg5 ;
31736 wxPyShape *result;
31737 int temp4 ;
31738 PyObject * obj0 = 0 ;
31739 PyObject * obj1 = 0 ;
31740 PyObject * obj2 = 0 ;
31741 PyObject * obj3 = 0 ;
31742 char *kwnames[] = {
31743 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31744 };
31745
31746 arg4 = &temp4;
31747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31750 arg2 = (double) SWIG_AsDouble(obj1);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 arg3 = (double) SWIG_AsDouble(obj2);
31753 if (PyErr_Occurred()) SWIG_fail;
31754 arg5 = (int) SWIG_AsInt(obj3);
31755 if (PyErr_Occurred()) SWIG_fail;
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31759
31760 wxPyEndAllowThreads(__tstate);
31761 if (PyErr_Occurred()) SWIG_fail;
31762 }
31763 {
31764 resultobj = wxPyMake_wxShapeEvtHandler(result);
31765 }
31766 {
31767 PyObject *o = PyInt_FromLong((long) (*arg4));
31768 resultobj = t_output_helper(resultobj,o);
31769 }
31770 return resultobj;
31771 fail:
31772 return NULL;
31773 }
31774
31775
31776 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31777 PyObject *resultobj;
31778 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31779 wxDiagram *result;
31780 PyObject * obj0 = 0 ;
31781 char *kwnames[] = {
31782 (char *) "self", NULL
31783 };
31784
31785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
31786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31788 {
31789 PyThreadState* __tstate = wxPyBeginAllowThreads();
31790 result = (wxDiagram *)(arg1)->GetDiagram();
31791
31792 wxPyEndAllowThreads(__tstate);
31793 if (PyErr_Occurred()) SWIG_fail;
31794 }
31795 {
31796 resultobj = wxPyMake_wxObject(result);
31797 }
31798 return resultobj;
31799 fail:
31800 return NULL;
31801 }
31802
31803
31804 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31805 PyObject *resultobj;
31806 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31807 bool result;
31808 PyObject * obj0 = 0 ;
31809 char *kwnames[] = {
31810 (char *) "self", NULL
31811 };
31812
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
31814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31816 {
31817 PyThreadState* __tstate = wxPyBeginAllowThreads();
31818 result = (bool)(arg1)->GetQuickEditMode();
31819
31820 wxPyEndAllowThreads(__tstate);
31821 if (PyErr_Occurred()) SWIG_fail;
31822 }
31823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31824 return resultobj;
31825 fail:
31826 return NULL;
31827 }
31828
31829
31830 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31831 PyObject *resultobj;
31832 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31833 wxPyShape *arg2 = (wxPyShape *) 0 ;
31834 PyObject * obj0 = 0 ;
31835 PyObject * obj1 = 0 ;
31836 char *kwnames[] = {
31837 (char *) "self",(char *) "shape", NULL
31838 };
31839
31840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31845 {
31846 PyThreadState* __tstate = wxPyBeginAllowThreads();
31847 (arg1)->InsertShape(arg2);
31848
31849 wxPyEndAllowThreads(__tstate);
31850 if (PyErr_Occurred()) SWIG_fail;
31851 }
31852 Py_INCREF(Py_None); resultobj = Py_None;
31853 return resultobj;
31854 fail:
31855 return NULL;
31856 }
31857
31858
31859 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31860 PyObject *resultobj;
31861 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31862 double arg2 ;
31863 double arg3 ;
31864 int arg4 = (int) 0 ;
31865 PyObject * obj0 = 0 ;
31866 PyObject * obj1 = 0 ;
31867 PyObject * obj2 = 0 ;
31868 PyObject * obj3 = 0 ;
31869 char *kwnames[] = {
31870 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31871 };
31872
31873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31876 arg2 = (double) SWIG_AsDouble(obj1);
31877 if (PyErr_Occurred()) SWIG_fail;
31878 arg3 = (double) SWIG_AsDouble(obj2);
31879 if (PyErr_Occurred()) SWIG_fail;
31880 if (obj3) {
31881 arg4 = (int) SWIG_AsInt(obj3);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 {
31885 PyThreadState* __tstate = wxPyBeginAllowThreads();
31886 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
31887
31888 wxPyEndAllowThreads(__tstate);
31889 if (PyErr_Occurred()) SWIG_fail;
31890 }
31891 Py_INCREF(Py_None); resultobj = Py_None;
31892 return resultobj;
31893 fail:
31894 return NULL;
31895 }
31896
31897
31898 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31899 PyObject *resultobj;
31900 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31901 double arg2 ;
31902 double arg3 ;
31903 int arg4 = (int) 0 ;
31904 PyObject * obj0 = 0 ;
31905 PyObject * obj1 = 0 ;
31906 PyObject * obj2 = 0 ;
31907 PyObject * obj3 = 0 ;
31908 char *kwnames[] = {
31909 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31910 };
31911
31912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31915 arg2 = (double) SWIG_AsDouble(obj1);
31916 if (PyErr_Occurred()) SWIG_fail;
31917 arg3 = (double) SWIG_AsDouble(obj2);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 if (obj3) {
31920 arg4 = (int) SWIG_AsInt(obj3);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 }
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 Py_INCREF(Py_None); resultobj = Py_None;
31931 return resultobj;
31932 fail:
31933 return NULL;
31934 }
31935
31936
31937 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj;
31939 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31940 double arg2 ;
31941 double arg3 ;
31942 int arg4 = (int) 0 ;
31943 PyObject * obj0 = 0 ;
31944 PyObject * obj1 = 0 ;
31945 PyObject * obj2 = 0 ;
31946 PyObject * obj3 = 0 ;
31947 char *kwnames[] = {
31948 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31949 };
31950
31951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31954 arg2 = (double) SWIG_AsDouble(obj1);
31955 if (PyErr_Occurred()) SWIG_fail;
31956 arg3 = (double) SWIG_AsDouble(obj2);
31957 if (PyErr_Occurred()) SWIG_fail;
31958 if (obj3) {
31959 arg4 = (int) SWIG_AsInt(obj3);
31960 if (PyErr_Occurred()) SWIG_fail;
31961 }
31962 {
31963 PyThreadState* __tstate = wxPyBeginAllowThreads();
31964 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
31965
31966 wxPyEndAllowThreads(__tstate);
31967 if (PyErr_Occurred()) SWIG_fail;
31968 }
31969 Py_INCREF(Py_None); resultobj = Py_None;
31970 return resultobj;
31971 fail:
31972 return NULL;
31973 }
31974
31975
31976 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31977 PyObject *resultobj;
31978 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31979 double arg2 ;
31980 double arg3 ;
31981 int arg4 = (int) 0 ;
31982 PyObject * obj0 = 0 ;
31983 PyObject * obj1 = 0 ;
31984 PyObject * obj2 = 0 ;
31985 PyObject * obj3 = 0 ;
31986 char *kwnames[] = {
31987 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31988 };
31989
31990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31993 arg2 = (double) SWIG_AsDouble(obj1);
31994 if (PyErr_Occurred()) SWIG_fail;
31995 arg3 = (double) SWIG_AsDouble(obj2);
31996 if (PyErr_Occurred()) SWIG_fail;
31997 if (obj3) {
31998 arg4 = (int) SWIG_AsInt(obj3);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 }
32001 {
32002 PyThreadState* __tstate = wxPyBeginAllowThreads();
32003 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32004
32005 wxPyEndAllowThreads(__tstate);
32006 if (PyErr_Occurred()) SWIG_fail;
32007 }
32008 Py_INCREF(Py_None); resultobj = Py_None;
32009 return resultobj;
32010 fail:
32011 return NULL;
32012 }
32013
32014
32015 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32016 PyObject *resultobj;
32017 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32018 bool arg2 ;
32019 double arg3 ;
32020 double arg4 ;
32021 int arg5 = (int) 0 ;
32022 PyObject * obj0 = 0 ;
32023 PyObject * obj1 = 0 ;
32024 PyObject * obj2 = 0 ;
32025 PyObject * obj3 = 0 ;
32026 PyObject * obj4 = 0 ;
32027 char *kwnames[] = {
32028 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32029 };
32030
32031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32034 arg2 = (bool) SWIG_AsBool(obj1);
32035 if (PyErr_Occurred()) SWIG_fail;
32036 arg3 = (double) SWIG_AsDouble(obj2);
32037 if (PyErr_Occurred()) SWIG_fail;
32038 arg4 = (double) SWIG_AsDouble(obj3);
32039 if (PyErr_Occurred()) SWIG_fail;
32040 if (obj4) {
32041 arg5 = (int) SWIG_AsInt(obj4);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 }
32044 {
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32047
32048 wxPyEndAllowThreads(__tstate);
32049 if (PyErr_Occurred()) SWIG_fail;
32050 }
32051 Py_INCREF(Py_None); resultobj = Py_None;
32052 return resultobj;
32053 fail:
32054 return NULL;
32055 }
32056
32057
32058 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32059 PyObject *resultobj;
32060 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32061 bool arg2 ;
32062 double arg3 ;
32063 double arg4 ;
32064 int arg5 = (int) 0 ;
32065 PyObject * obj0 = 0 ;
32066 PyObject * obj1 = 0 ;
32067 PyObject * obj2 = 0 ;
32068 PyObject * obj3 = 0 ;
32069 PyObject * obj4 = 0 ;
32070 char *kwnames[] = {
32071 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32072 };
32073
32074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32077 arg2 = (bool) SWIG_AsBool(obj1);
32078 if (PyErr_Occurred()) SWIG_fail;
32079 arg3 = (double) SWIG_AsDouble(obj2);
32080 if (PyErr_Occurred()) SWIG_fail;
32081 arg4 = (double) SWIG_AsDouble(obj3);
32082 if (PyErr_Occurred()) SWIG_fail;
32083 if (obj4) {
32084 arg5 = (int) SWIG_AsInt(obj4);
32085 if (PyErr_Occurred()) SWIG_fail;
32086 }
32087 {
32088 PyThreadState* __tstate = wxPyBeginAllowThreads();
32089 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32090
32091 wxPyEndAllowThreads(__tstate);
32092 if (PyErr_Occurred()) SWIG_fail;
32093 }
32094 Py_INCREF(Py_None); resultobj = Py_None;
32095 return resultobj;
32096 fail:
32097 return NULL;
32098 }
32099
32100
32101 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32102 PyObject *resultobj;
32103 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32104 double arg2 ;
32105 double arg3 ;
32106 int arg4 = (int) 0 ;
32107 PyObject * obj0 = 0 ;
32108 PyObject * obj1 = 0 ;
32109 PyObject * obj2 = 0 ;
32110 PyObject * obj3 = 0 ;
32111 char *kwnames[] = {
32112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32113 };
32114
32115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32118 arg2 = (double) SWIG_AsDouble(obj1);
32119 if (PyErr_Occurred()) SWIG_fail;
32120 arg3 = (double) SWIG_AsDouble(obj2);
32121 if (PyErr_Occurred()) SWIG_fail;
32122 if (obj3) {
32123 arg4 = (int) SWIG_AsInt(obj3);
32124 if (PyErr_Occurred()) SWIG_fail;
32125 }
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32129
32130 wxPyEndAllowThreads(__tstate);
32131 if (PyErr_Occurred()) SWIG_fail;
32132 }
32133 Py_INCREF(Py_None); resultobj = Py_None;
32134 return resultobj;
32135 fail:
32136 return NULL;
32137 }
32138
32139
32140 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32141 PyObject *resultobj;
32142 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32143 double arg2 ;
32144 double arg3 ;
32145 int arg4 = (int) 0 ;
32146 PyObject * obj0 = 0 ;
32147 PyObject * obj1 = 0 ;
32148 PyObject * obj2 = 0 ;
32149 PyObject * obj3 = 0 ;
32150 char *kwnames[] = {
32151 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32152 };
32153
32154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32157 arg2 = (double) SWIG_AsDouble(obj1);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 arg3 = (double) SWIG_AsDouble(obj2);
32160 if (PyErr_Occurred()) SWIG_fail;
32161 if (obj3) {
32162 arg4 = (int) SWIG_AsInt(obj3);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 Py_INCREF(Py_None); resultobj = Py_None;
32173 return resultobj;
32174 fail:
32175 return NULL;
32176 }
32177
32178
32179 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32180 PyObject *resultobj;
32181 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32182 wxDC *arg2 = 0 ;
32183 PyObject * obj0 = 0 ;
32184 PyObject * obj1 = 0 ;
32185 char *kwnames[] = {
32186 (char *) "self",(char *) "dc", NULL
32187 };
32188
32189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
32190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32193 SWIG_POINTER_EXCEPTION | 0)) == -1)
32194 SWIG_fail;
32195 if (arg2 == NULL) {
32196 PyErr_SetString(PyExc_TypeError,"null reference");
32197 SWIG_fail;
32198 }
32199 {
32200 PyThreadState* __tstate = wxPyBeginAllowThreads();
32201 (arg1)->Redraw(*arg2);
32202
32203 wxPyEndAllowThreads(__tstate);
32204 if (PyErr_Occurred()) SWIG_fail;
32205 }
32206 Py_INCREF(Py_None); resultobj = Py_None;
32207 return resultobj;
32208 fail:
32209 return NULL;
32210 }
32211
32212
32213 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32214 PyObject *resultobj;
32215 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32216 wxPyShape *arg2 = (wxPyShape *) 0 ;
32217 PyObject * obj0 = 0 ;
32218 PyObject * obj1 = 0 ;
32219 char *kwnames[] = {
32220 (char *) "self",(char *) "shape", NULL
32221 };
32222
32223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32228 {
32229 PyThreadState* __tstate = wxPyBeginAllowThreads();
32230 (arg1)->RemoveShape(arg2);
32231
32232 wxPyEndAllowThreads(__tstate);
32233 if (PyErr_Occurred()) SWIG_fail;
32234 }
32235 Py_INCREF(Py_None); resultobj = Py_None;
32236 return resultobj;
32237 fail:
32238 return NULL;
32239 }
32240
32241
32242 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32243 PyObject *resultobj;
32244 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32245 wxDiagram *arg2 = (wxDiagram *) 0 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 char *kwnames[] = {
32249 (char *) "self",(char *) "diagram", NULL
32250 };
32251
32252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
32253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32257 {
32258 PyThreadState* __tstate = wxPyBeginAllowThreads();
32259 (arg1)->SetDiagram(arg2);
32260
32261 wxPyEndAllowThreads(__tstate);
32262 if (PyErr_Occurred()) SWIG_fail;
32263 }
32264 Py_INCREF(Py_None); resultobj = Py_None;
32265 return resultobj;
32266 fail:
32267 return NULL;
32268 }
32269
32270
32271 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32272 PyObject *resultobj;
32273 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32274 double *arg2 = (double *) 0 ;
32275 double *arg3 = (double *) 0 ;
32276 double temp2 ;
32277 double temp3 ;
32278 PyObject * obj0 = 0 ;
32279 PyObject * obj1 = 0 ;
32280 PyObject * obj2 = 0 ;
32281 char *kwnames[] = {
32282 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32283 };
32284
32285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32288 {
32289 temp2 = PyFloat_AsDouble(obj1);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 arg2 = &temp2;
32292 }
32293 {
32294 temp3 = PyFloat_AsDouble(obj2);
32295 if (PyErr_Occurred()) SWIG_fail;
32296 arg3 = &temp3;
32297 }
32298 {
32299 PyThreadState* __tstate = wxPyBeginAllowThreads();
32300 (arg1)->Snap(arg2,arg3);
32301
32302 wxPyEndAllowThreads(__tstate);
32303 if (PyErr_Occurred()) SWIG_fail;
32304 }
32305 Py_INCREF(Py_None); resultobj = Py_None;
32306 {
32307 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32308 resultobj = t_output_helper(resultobj,o);
32309 }
32310 {
32311 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32312 resultobj = t_output_helper(resultobj,o);
32313 }
32314 return resultobj;
32315 fail:
32316 return NULL;
32317 }
32318
32319
32320 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
32321 PyObject *obj;
32322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32323 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32324 Py_INCREF(obj);
32325 return Py_BuildValue((char *)"");
32326 }
32327 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
32328 PyObject *resultobj;
32329 char *kwnames[] = {
32330 NULL
32331 };
32332
32333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32334 {
32335 PyThreadState* __tstate = wxPyBeginAllowThreads();
32336 wxOGLInitialize();
32337
32338 wxPyEndAllowThreads(__tstate);
32339 if (PyErr_Occurred()) SWIG_fail;
32340 }
32341 Py_INCREF(Py_None); resultobj = Py_None;
32342 return resultobj;
32343 fail:
32344 return NULL;
32345 }
32346
32347
32348 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
32349 PyObject *resultobj;
32350 char *kwnames[] = {
32351 NULL
32352 };
32353
32354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32355 {
32356 PyThreadState* __tstate = wxPyBeginAllowThreads();
32357 wxOGLCleanUp();
32358
32359 wxPyEndAllowThreads(__tstate);
32360 if (PyErr_Occurred()) SWIG_fail;
32361 }
32362 Py_INCREF(Py_None); resultobj = Py_None;
32363 return resultobj;
32364 fail:
32365 return NULL;
32366 }
32367
32368
32369 static PyMethodDef SwigMethods[] = {
32370 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32371 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32372 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32373 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32374 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32375 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32376 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32377 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32378 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32379 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32380 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32381 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32382 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32383 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32384 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32385 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32386 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32387 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32388 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32389 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32390 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32391 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32392 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32393 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32394 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32395 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32396 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32397 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32398 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32399 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32400 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32401 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32402 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32403 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32404 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32405 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32406 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32407 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32408 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32409 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32410 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32411 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32412 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32413 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32414 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32415 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32416 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32417 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32418 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32419 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32420 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32421 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32422 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32423 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32424 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32425 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32426 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32427 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32428 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32429 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32430 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32431 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32432 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32433 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32434 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32435 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32436 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32437 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32438 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32439 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32440 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32441 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32442 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32443 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32444 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32445 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32446 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32447 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32448 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32449 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32450 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32451 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32452 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32453 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32454 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32455 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32456 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32457 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32458 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32459 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32460 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32461 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32462 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32463 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32464 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32465 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32466 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32467 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32468 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32469 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32470 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32471 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32472 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32473 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32474 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32475 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32476 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32477 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32478 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32479 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32480 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32481 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32482 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32483 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32484 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32485 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32486 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32487 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32488 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32489 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32490 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32491 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32492 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32493 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32494 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32495 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32496 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32497 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32498 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32499 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32500 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32501 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32502 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32503 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32504 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32505 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32506 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32507 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32508 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32509 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32510 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32511 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32512 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32513 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32514 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32515 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32516 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32517 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32518 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32519 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32520 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32521 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32522 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32523 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32524 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32525 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32526 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32527 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32528 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32529 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32530 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32531 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32532 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32533 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32534 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32535 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32536 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32537 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32538 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32539 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32540 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32541 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32542 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32543 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32544 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32545 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32546 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32547 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32548 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32549 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32550 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32551 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32552 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32553 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32554 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32555 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32556 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32557 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32558 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32559 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32560 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32561 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32562 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32563 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32564 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32565 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32566 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32567 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32568 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32569 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32574 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32607 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32614 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32656 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32690 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32723 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32759 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
32819 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
32824 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
32870 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32897 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
32904 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
32961 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
32992 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33023 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33026 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33042 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33119 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33161 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33193 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33219 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33222 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33240 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33242 { NULL, NULL }
33243 };
33244
33245
33246 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33247
33248 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33249 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33250 }
33251 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33252 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33253 }
33254 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33255 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33256 }
33257 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33258 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33259 }
33260 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33261 return (void *)((wxPanel *) ((wxPyPanel *) x));
33262 }
33263 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33264 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33265 }
33266 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33267 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33268 }
33269 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33270 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33271 }
33272 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33273 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33274 }
33275 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33276 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33277 }
33278 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33279 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33280 }
33281 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33282 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33283 }
33284 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33285 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33286 }
33287 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33288 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33289 }
33290 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33291 return (void *)((wxWindow *) ((wxMenuBar *) x));
33292 }
33293 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33294 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33295 }
33296 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33298 }
33299 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33301 }
33302 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33304 }
33305 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33306 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33307 }
33308 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33310 }
33311 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33313 }
33314 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33315 return (void *)((wxWindow *) ((wxPanel *) x));
33316 }
33317 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33318 return (void *)((wxWindow *) ((wxStatusBar *) x));
33319 }
33320 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33321 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33322 }
33323 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33324 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33325 }
33326 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33327 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33328 }
33329 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33330 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33331 }
33332 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33333 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33334 }
33335 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33336 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33337 }
33338 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33339 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33340 }
33341 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33342 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33343 }
33344 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33345 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33346 }
33347 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33348 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33349 }
33350 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33351 return (void *)((wxWindow *) ((wxSashWindow *) x));
33352 }
33353 static void *_p_wxControlTo_p_wxWindow(void *x) {
33354 return (void *)((wxWindow *) ((wxControl *) x));
33355 }
33356 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33358 }
33359 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33361 }
33362 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33364 }
33365 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33366 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33367 }
33368 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33369 return (void *)((wxWindow *) ((wxPyWindow *) x));
33370 }
33371 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33372 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33373 }
33374 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33375 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33376 }
33377 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33378 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33379 }
33380 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33381 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33382 }
33383 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33384 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33385 }
33386 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33387 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33388 }
33389 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33390 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33391 }
33392 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33394 }
33395 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33397 }
33398 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33400 }
33401 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33402 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33403 }
33404 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33406 }
33407 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33409 }
33410 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33412 }
33413 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33414 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33415 }
33416 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33417 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33418 }
33419 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33420 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33421 }
33422 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33424 }
33425 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33427 }
33428 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33429 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33430 }
33431 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33432 return (void *)((wxObject *) ((wxSizerItem *) x));
33433 }
33434 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33436 }
33437 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33438 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33439 }
33440 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33441 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33442 }
33443 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33444 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33445 }
33446 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33447 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33448 }
33449 static void *_p_wxSizerTo_p_wxObject(void *x) {
33450 return (void *)((wxObject *) ((wxSizer *) x));
33451 }
33452 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33453 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33454 }
33455 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33456 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33457 }
33458 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33459 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33460 }
33461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33462 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33463 }
33464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33466 }
33467 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33468 return (void *)((wxObject *) ((wxArrowHead *) x));
33469 }
33470 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33472 }
33473 static void *_p_wxEventTo_p_wxObject(void *x) {
33474 return (void *)((wxObject *) ((wxEvent *) x));
33475 }
33476 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33477 return (void *)((wxObject *) ((wxFontData *) x));
33478 }
33479 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33480 return (void *)((wxObject *) ((wxPrintData *) x));
33481 }
33482 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33484 }
33485 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33486 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33487 }
33488 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33489 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33490 }
33491 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33492 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33493 }
33494 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33495 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33496 }
33497 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33499 }
33500 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33501 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33502 }
33503 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33504 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33505 }
33506 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33507 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33508 }
33509 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33510 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33511 }
33512 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33513 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33514 }
33515 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33516 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33517 }
33518 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33520 }
33521 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33523 }
33524 static void *_p_wxControlTo_p_wxObject(void *x) {
33525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33526 }
33527 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33528 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33529 }
33530 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33531 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33532 }
33533 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33535 }
33536 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33537 return (void *)((wxObject *) ((wxFSFile *) x));
33538 }
33539 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33540 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33541 }
33542 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33543 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33544 }
33545 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33546 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33547 }
33548 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33550 }
33551 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33552 return (void *)((wxObject *) ((wxColourData *) x));
33553 }
33554 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33555 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33556 }
33557 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33559 }
33560 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33562 }
33563 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33565 }
33566 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33568 }
33569 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33571 }
33572 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33574 }
33575 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33577 }
33578 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33580 }
33581 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33583 }
33584 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33586 }
33587 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33588 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33589 }
33590 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33591 return (void *)((wxObject *) ((wxPrinter *) x));
33592 }
33593 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33594 return (void *)((wxObject *) ((wxMenuItem *) x));
33595 }
33596 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33597 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33598 }
33599 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33601 }
33602 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33603 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33604 }
33605 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33606 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33607 }
33608 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33609 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33610 }
33611 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33612 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33613 }
33614 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33615 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33616 }
33617 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33618 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33619 }
33620 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33621 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33622 }
33623 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33624 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33625 }
33626 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33627 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33628 }
33629 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33630 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33631 }
33632 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33633 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33634 }
33635 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33636 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33637 }
33638 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33639 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33640 }
33641 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33642 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33643 }
33644 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33645 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33646 }
33647 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33648 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33649 }
33650 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33651 return (void *)((wxObject *) ((wxImageHandler *) x));
33652 }
33653 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33654 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33655 }
33656 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33657 return (void *)((wxObject *) ((wxEvtHandler *) x));
33658 }
33659 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33660 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33661 }
33662 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33663 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33664 }
33665 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33667 }
33668 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33670 }
33671 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33672 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33673 }
33674 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33675 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33676 }
33677 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33678 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33679 }
33680 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33682 }
33683 static void *_p_wxImageTo_p_wxObject(void *x) {
33684 return (void *)((wxObject *) ((wxImage *) x));
33685 }
33686 static void *_p_wxFrameTo_p_wxObject(void *x) {
33687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33688 }
33689 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33690 return (void *)((wxObject *) ((wxPyPrintout *) x));
33691 }
33692 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33693 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33694 }
33695 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33696 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33697 }
33698 static void *_p_wxDiagramTo_p_wxObject(void *x) {
33699 return (void *)((wxObject *) ((wxDiagram *) x));
33700 }
33701 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33703 }
33704 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33706 }
33707 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33709 }
33710 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33711 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33712 }
33713 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33714 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33715 }
33716 static void *_p_wxWindowTo_p_wxObject(void *x) {
33717 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33718 }
33719 static void *_p_wxMenuTo_p_wxObject(void *x) {
33720 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33721 }
33722 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33724 }
33725 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33727 }
33728 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33730 }
33731 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33733 }
33734 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33736 }
33737 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33739 }
33740 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33742 }
33743 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33745 }
33746 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33748 }
33749 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33751 }
33752 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33754 }
33755 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33757 }
33758 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33760 }
33761 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33762 return (void *)((wxObject *) ((wxPrintPreview *) x));
33763 }
33764 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33765 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33766 }
33767 static void *_p_wxPanelTo_p_wxObject(void *x) {
33768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33769 }
33770 static void *_p_wxDialogTo_p_wxObject(void *x) {
33771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33772 }
33773 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33775 }
33776 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33778 }
33779 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33781 }
33782 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33784 }
33785 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33787 }
33788 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
33789 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
33790 }
33791 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
33792 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
33793 }
33794 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33795 return (void *)((wxObject *) ((wxFileSystem *) x));
33796 }
33797 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33799 }
33800 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33801 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33802 }
33803 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33804 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33805 }
33806 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33807 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33808 }
33809 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33810 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33811 }
33812 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33813 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33814 }
33815 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33817 }
33818 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33819 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33820 }
33821 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33823 }
33824 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33826 }
33827 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33828 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33829 }
33830 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33831 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33832 }
33833 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33835 }
33836 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
33837 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
33838 }
33839 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
33840 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33841 }
33842 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
33843 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33844 }
33845 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
33846 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
33847 }
33848 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
33849 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
33850 }
33851 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33853 }
33854 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33855 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33856 }
33857 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33858 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33859 }
33860 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33861 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33862 }
33863 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33864 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33865 }
33866 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
33867 return (void *)((wxObject *) ((wxShapeRegion *) x));
33868 }
33869 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33870 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
33871 }
33872 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
33873 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33874 }
33875 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
33876 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33877 }
33878 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33879 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33880 }
33881 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
33882 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
33883 }
33884 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
33885 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33886 }
33887 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
33888 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33889 }
33890 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
33891 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33892 }
33893 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
33894 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33895 }
33896 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
33897 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
33898 }
33899 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
33900 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33901 }
33902 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
33903 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
33904 }
33905 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
33906 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
33907 }
33908 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
33909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33910 }
33911 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
33912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33913 }
33914 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
33915 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33916 }
33917 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33919 }
33920 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33921 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33922 }
33923 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33924 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33925 }
33926 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33927 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33928 }
33929 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
33930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33931 }
33932 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
33933 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33934 }
33935 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
33936 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33937 }
33938 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
33939 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33940 }
33941 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
33942 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33943 }
33944 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
33945 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33946 }
33947 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
33948 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33949 }
33950 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
33951 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
33952 }
33953 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
33954 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
33955 }
33956 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
33957 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33958 }
33959 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
33960 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33961 }
33962 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
33963 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33964 }
33965 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
33966 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
33967 }
33968 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
33969 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33970 }
33971 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
33972 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
33973 }
33974 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
33975 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
33976 }
33977 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
33978 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
33979 }
33980 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33981 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33982 }
33983 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
33984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33985 }
33986 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
33987 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
33988 }
33989 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
33990 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
33991 }
33992 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33993 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33994 }
33995 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
33996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33997 }
33998 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
33999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34000 }
34001 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34003 }
34004 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34005 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34006 }
34007 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34009 }
34010 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34011 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34012 }
34013 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34014 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34015 }
34016 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34017 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34018 }
34019 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34020 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34021 }
34022 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34023 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34024 }
34025 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34026 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34027 }
34028 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34029 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34030 }
34031 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34032 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34033 }
34034 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34036 }
34037 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34039 }
34040 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34042 }
34043 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34045 }
34046 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34048 }
34049 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34051 }
34052 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34054 }
34055 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34057 }
34058 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34059 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34060 }
34061 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34062 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34063 }
34064 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34065 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34066 }
34067 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34068 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34069 }
34070 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34071 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34072 }
34073 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34074 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34075 }
34076 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34077 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34078 }
34079 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34080 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34081 }
34082 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34083 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34084 }
34085 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34086 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34087 }
34088 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34089 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34090 }
34091 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34092 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34093 }
34094 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34095 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34096 }
34097 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34098 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34099 }
34100 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34101 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34102 }
34103 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34104 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34105 }
34106 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34107 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34108 }
34109 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34110 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34111 }
34112 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34113 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34114 }
34115 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34116 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34117 }
34118 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34119 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34120 }
34121 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}};
34122 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}};
34123 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}};
34124 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}};
34125 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}};
34126 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}};
34127 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}};
34128 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}};
34129 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}};
34130 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}};
34131 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}};
34132 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}};
34133 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}};
34134 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}};
34135 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}};
34136 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}};
34137 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}};
34138 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}};
34139 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}};
34140 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}};
34141 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}};
34142 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}};
34143 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}};
34144 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}};
34145 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}};
34146 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}};
34147 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}};
34148 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}};
34149 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}};
34150 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}};
34151 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}};
34152 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}};
34153 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}};
34154 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}};
34155 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}};
34156 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}};
34157 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}};
34158 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}};
34159 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}};
34160 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}};
34161 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}};
34162
34163 static swig_type_info *swig_types_initial[] = {
34164 _swigt__p_wxOGLConstraint,
34165 _swigt__p_wxBrush,
34166 _swigt__p_wxColour,
34167 _swigt__p_wxShapeRegion,
34168 _swigt__p_wxDC,
34169 _swigt__p_wxRealPoint,
34170 _swigt__p_wxPyControlPoint,
34171 _swigt__p_wxArrowHead,
34172 _swigt__p_char,
34173 _swigt__p_wxStringList,
34174 _swigt__p_wxPanel,
34175 _swigt__p_bool,
34176 _swigt__p_wxList,
34177 _swigt__p_wxFont,
34178 _swigt__p_wxScrolledWindow,
34179 _swigt__p_wxWindow,
34180 _swigt__p_double,
34181 _swigt__p_wxPyDivisionShape,
34182 _swigt__p_wxPyDrawnShape,
34183 _swigt__p_wxPyPolygonShape,
34184 _swigt__p_wxBitmap,
34185 _swigt__p_wxObject,
34186 _swigt__p_wxPyBitmapShape,
34187 _swigt__p_wxPyShapeEvtHandler,
34188 _swigt__p_wxEvtHandler,
34189 _swigt__p_wxPyEllipseShape,
34190 _swigt__p_wxPyShapeCanvas,
34191 _swigt__p_wxPoint,
34192 _swigt__p_wxDiagram,
34193 _swigt__p_wxPyShape,
34194 _swigt__p_wxAttachmentPoint,
34195 _swigt__p_wxClassInfo,
34196 _swigt__p_wxPyLineShape,
34197 _swigt__p_wxPyRectangleShape,
34198 _swigt__p_wxPyCompositeShape,
34199 _swigt__p_wxPyCircleShape,
34200 _swigt__p_wxPen,
34201 _swigt__p_int,
34202 _swigt__p_wxPseudoMetaFile,
34203 _swigt__p_wxPyTextShape,
34204 _swigt__p_wxPyDividedShape,
34205 0
34206 };
34207
34208
34209 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34210
34211 static swig_const_info swig_const_table[] = {
34212 {0}};
34213
34214 #ifdef __cplusplus
34215 }
34216 #endif
34217
34218 #ifdef __cplusplus
34219 extern "C"
34220 #endif
34221 SWIGEXPORT(void) SWIG_init(void) {
34222 static PyObject *SWIG_globals = 0;
34223 static int typeinit = 0;
34224 PyObject *m, *d;
34225 int i;
34226 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34227 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34228 d = PyModule_GetDict(m);
34229
34230 if (!typeinit) {
34231 for (i = 0; swig_types_initial[i]; i++) {
34232 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34233 }
34234 typeinit = 1;
34235 }
34236 SWIG_InstallConstants(d,swig_const_table);
34237
34238 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34239 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34240 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34241 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34242 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34243 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34244 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34245 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34246 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34247 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34248 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34249 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34250 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34251 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34252 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34253 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34254 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34255 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34256 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34257 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34258 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34259 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34260 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34261 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34262 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34263 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34264 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34265 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34266 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34267 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34268 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34269 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34270 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34271 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34272 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34273 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34274 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34275 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34276 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34277 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34278 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34279 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34280 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34281 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34282 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34283 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34284 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34285 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34286 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34287 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34288 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34289 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34290 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34291 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34292 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34293 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34294 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34295 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34296 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34297 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34298 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34299 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34300 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34301 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
34302
34303
34304 // initoglbasicc();
34305 // initoglshapesc();
34306 // initoglshapes2c();
34307 // initoglcanvasc();
34308
34309
34310 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34311 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34312 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34313 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34314 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34315 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34316 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34317 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34318 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34319 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34320 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34321 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34322 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34323 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34324
34325
34326 }
34327