]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/gtk/ogl_wrap.cpp
use default window id
[wxWidgets.git] / wxPython / contrib / ogl / gtk / ogl_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info *swig_types[42];
251
252 /* -------- TYPES TABLE (END) -------- */
253
254
255 /*-----------------------------------------------
256 @(target):= _ogl.so
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
259
260 #define SWIG_name "_ogl"
261
262 /* Auxiliar swig macros */
263
264 #ifdef __cplusplus
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
272
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
275 #else
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
277 #endif
278
279 #else /* C case */
280
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
289
290 #endif /* __cplusplus */
291
292
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
303
304
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
308
309
310 static const wxString wxPyEmptyString(wxEmptyString);
311
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject *obj)
314 {
315 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
316 #if HAVE_LONG_LONG
317 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
318 #else
319 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
320 #endif
321 if (PyErr_Occurred()) {
322 PyErr_Clear();
323 PyErr_SetString(PyExc_TypeError, "a double is expected");
324 }
325 return val;
326 }
327
328
329 SWIGSTATICINLINE(int)
330 SWIG_CheckDouble(PyObject* obj)
331 {
332 SWIG_AsDouble(obj);
333 if (PyErr_Occurred()) {
334 PyErr_Clear();
335 return 0;
336 } else {
337 return 1;
338 }
339 }
340
341
342 #include <limits.h>
343
344
345 SWIGSTATICINLINE(long)
346 SWIG_CheckLongInRange(long value, const char* type,
347 long min_value, long max_value)
348 {
349 if (!PyErr_Occurred()) {
350 if (value < min_value) {
351 PyObject *err =
352 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
353 value, type, min_value);
354
355 PyErr_SetObject(PyExc_OverflowError, err);
356 Py_DECREF(err);
357 } else if (value > max_value) {
358 PyObject *err =
359 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
360 value, type, max_value);
361 PyErr_SetObject(PyExc_OverflowError, err);
362 Py_DECREF(err);
363 }
364 }
365 return value;
366 }
367
368
369 SWIGSTATICINLINE(long)
370 SWIG_AsLong(PyObject * obj)
371 {
372 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
373 }
374
375
376 #if INT_MAX != LONG_MAX
377 SWIGSTATICINLINE(int)
378 SWIG_AsInt(PyObject *obj)
379 {
380 return swig_numeric_cast(int,
381 SWIG_CheckLongInRange(SWIG_AsLong(obj),
382 "int", INT_MIN, INT_MAX));
383 }
384 #else
385 #define SWIG_AsInt SWIG_AsLong
386 #endif
387
388
389 SWIGSTATICINLINE(int)
390 SWIG_CheckInt(PyObject* obj)
391 {
392 SWIG_AsInt(obj);
393 if (PyErr_Occurred()) {
394 PyErr_Clear();
395 return 0;
396 } else {
397 return 1;
398 }
399 }
400
401
402 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
403 PyObject* o2;
404 PyObject* o3;
405
406 if (!target) {
407 target = o;
408 } else if (target == Py_None) {
409 Py_DECREF(Py_None);
410 target = o;
411 } else {
412 if (!PyTuple_Check(target)) {
413 o2 = target;
414 target = PyTuple_New(1);
415 PyTuple_SetItem(target, 0, o2);
416 }
417 o3 = PyTuple_New(1);
418 PyTuple_SetItem(o3, 0, o);
419
420 o2 = target;
421 target = PySequence_Concat(o2, o3);
422 Py_DECREF(o2);
423 Py_DECREF(o3);
424 }
425 return target;
426 }
427
428
429 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
430
431 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
432 self->SetClientObject(new wxPyOORClientData(_self));
433 }
434
435 SWIGSTATICINLINE(bool)
436 SWIG_AsBool(PyObject *obj)
437 {
438 return PyObject_IsTrue(obj) ? true : false;
439 }
440
441
442 SWIGSTATICINLINE(int)
443 SWIG_CheckBool(PyObject* obj)
444 {
445 SWIG_AsBool(obj);
446 if (PyErr_Occurred()) {
447 PyErr_Clear();
448 return 0;
449 } else {
450 return 1;
451 }
452 }
453
454
455 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
456
457 PyObject *wxPyShape_GetChildren(wxPyShape *self){
458 wxList& list = self->GetChildren();
459 return wxPy_ConvertShapeList(&list);
460 }
461 PyObject *wxPyShape_GetLines(wxPyShape *self){
462 wxList& list = self->GetLines();
463 return wxPy_ConvertShapeList(&list);
464 }
465
466 SWIGSTATICINLINE(int)
467 SWIG_CheckLong(PyObject* obj)
468 {
469 SWIG_AsLong(obj);
470 if (PyErr_Occurred()) {
471 PyErr_Clear();
472 return 0;
473 } else {
474 return 1;
475 }
476 }
477
478 PyObject *wxPyShape_GetRegions(wxPyShape *self){
479 wxList& list = self->GetRegions();
480 return wxPy_ConvertList(&list);
481 }
482 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
483 wxList& list = self->GetAttachments();
484 return wxPy_ConvertList(&list);
485 }
486 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
487 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
488 self->ApplyAttachmentOrdering(*list);
489 delete list;
490 }
491
492 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
493 // 6, so instead I'l just expand it out by hand...
494 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
495
496 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
497 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
498 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
499 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
500 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
501 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
502 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
504 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
505 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
506 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
507 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
508 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
509 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
510 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
513 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
516 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
517 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
518 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
519 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
520 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
521 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
522 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
523 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
524 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
525
526
527
528 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
529
530
531 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
532
533
534 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
535
536 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
537 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
538 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
539 delete list;
540 return rv;
541 }
542
543 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
544
545 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
546 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
547 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
548 delete list;
549 return rv;
550 }
551 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
552 wxList& list = self->GetConstraints();
553 return wxPy_ConvertList(&list);
554 }
555 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
556 wxList& list = self->GetDivisions();
557 return wxPy_ConvertShapeList(&list);
558 }
559
560 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
561
562
563 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
564
565
566 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
567
568
569 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
573
574 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
575 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
576 self->AddArrowOrdered(arrow, *list, end);
577 delete list;
578 }
579 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
580 wxList* list = self->GetLineControlPoints();
581 return wxPy_ConvertShapeList(list);
582 }
583
584 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
585
586 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
587 wxList* list = wxPy_wxRealPoint_ListHelper(points);
588 if (list) {
589 self->Create(list);
590 Py_INCREF(Py_None);
591 return Py_None;
592 }
593 else return NULL;
594 }
595 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
596 wxList* list = self->GetPoints();
597 PyObject* pyList;
598 PyObject* pyObj;
599 wxObject* wxObj;
600 wxNode* node = list->GetFirst();
601
602 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 {
13304 wxBitmap* resultptr = new wxBitmap(*result);
13305 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13306 }
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13314 PyObject *resultobj;
13315 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13316 wxString result;
13317 PyObject * obj0 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "self", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 result = (arg1)->GetFilename();
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 {
13333 #if wxUSE_UNICODE
13334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13335 #else
13336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13337 #endif
13338 }
13339 return resultobj;
13340 fail:
13341 return NULL;
13342 }
13343
13344
13345 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13348 wxBitmap *arg2 = 0 ;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "bitmap", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1)
13360 SWIG_fail;
13361 if (arg2 == NULL) {
13362 PyErr_SetString(PyExc_TypeError,"null reference");
13363 SWIG_fail;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj;
13381 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13382 wxString *arg2 = 0 ;
13383 bool temp2 = False ;
13384 PyObject * obj0 = 0 ;
13385 PyObject * obj1 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self",(char *) "filename", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13393 {
13394 arg2 = wxString_in_helper(obj1);
13395 if (arg2 == NULL) SWIG_fail;
13396 temp2 = True;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetFilename((wxString const &)*arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 Py_INCREF(Py_None); resultobj = Py_None;
13406 {
13407 if (temp2)
13408 delete arg2;
13409 }
13410 return resultobj;
13411 fail:
13412 {
13413 if (temp2)
13414 delete arg2;
13415 }
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13423 PyObject * obj0 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->base_OnDelete();
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 Py_INCREF(Py_None); resultobj = Py_None;
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13448 wxDC *arg2 = 0 ;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "dc", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1)
13460 SWIG_fail;
13461 if (arg2 == NULL) {
13462 PyErr_SetString(PyExc_TypeError,"null reference");
13463 SWIG_fail;
13464 }
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 (arg1)->base_OnDraw(*arg2);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 Py_INCREF(Py_None); resultobj = Py_None;
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13482 wxDC *arg2 = 0 ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self",(char *) "dc", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1)
13494 SWIG_fail;
13495 if (arg2 == NULL) {
13496 PyErr_SetString(PyExc_TypeError,"null reference");
13497 SWIG_fail;
13498 }
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->base_OnDrawContents(*arg2);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13516 wxDC *arg2 = 0 ;
13517 bool arg3 = (bool) FALSE ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 PyObject * obj2 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "dc",(char *) "erase", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13529 SWIG_POINTER_EXCEPTION | 0)) == -1)
13530 SWIG_fail;
13531 if (arg2 == NULL) {
13532 PyErr_SetString(PyExc_TypeError,"null reference");
13533 SWIG_fail;
13534 }
13535 if (obj2) {
13536 arg3 = (bool) SWIG_AsBool(obj2);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 (arg1)->base_OnDrawBranches(*arg2,arg3);
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 Py_INCREF(Py_None); resultobj = Py_None;
13547 return resultobj;
13548 fail:
13549 return NULL;
13550 }
13551
13552
13553 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13554 PyObject *resultobj;
13555 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13556 wxDC *arg2 = 0 ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 char *kwnames[] = {
13560 (char *) "self",(char *) "dc", NULL
13561 };
13562
13563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1)
13568 SWIG_fail;
13569 if (arg2 == NULL) {
13570 PyErr_SetString(PyExc_TypeError,"null reference");
13571 SWIG_fail;
13572 }
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 (arg1)->base_OnMoveLinks(*arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13590 wxDC *arg2 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self",(char *) "dc", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1)
13602 SWIG_fail;
13603 if (arg2 == NULL) {
13604 PyErr_SetString(PyExc_TypeError,"null reference");
13605 SWIG_fail;
13606 }
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->base_OnErase(*arg2);
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 Py_INCREF(Py_None); resultobj = Py_None;
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13624 wxDC *arg2 = 0 ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self",(char *) "dc", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1)
13636 SWIG_fail;
13637 if (arg2 == NULL) {
13638 PyErr_SetString(PyExc_TypeError,"null reference");
13639 SWIG_fail;
13640 }
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->base_OnEraseContents(*arg2);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 Py_INCREF(Py_None); resultobj = Py_None;
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13658 wxDC *arg2 = 0 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self",(char *) "dc", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1)
13670 SWIG_fail;
13671 if (arg2 == NULL) {
13672 PyErr_SetString(PyExc_TypeError,"null reference");
13673 SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 (arg1)->base_OnHighlight(*arg2);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 Py_INCREF(Py_None); resultobj = Py_None;
13683 return resultobj;
13684 fail:
13685 return NULL;
13686 }
13687
13688
13689 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13690 PyObject *resultobj;
13691 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13692 double arg2 ;
13693 double arg3 ;
13694 int arg4 = (int) 0 ;
13695 int arg5 = (int) 0 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13708 arg2 = (double) SWIG_AsDouble(obj1);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 arg3 = (double) SWIG_AsDouble(obj2);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 if (obj3) {
13713 arg4 = (int) SWIG_AsInt(obj3);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 if (obj4) {
13717 arg5 = (int) SWIG_AsInt(obj4);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 Py_INCREF(Py_None); resultobj = Py_None;
13728 return resultobj;
13729 fail:
13730 return NULL;
13731 }
13732
13733
13734 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj;
13736 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13737 double arg2 ;
13738 double arg3 ;
13739 int arg4 = (int) 0 ;
13740 int arg5 = (int) 0 ;
13741 PyObject * obj0 = 0 ;
13742 PyObject * obj1 = 0 ;
13743 PyObject * obj2 = 0 ;
13744 PyObject * obj3 = 0 ;
13745 PyObject * obj4 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13753 arg2 = (double) SWIG_AsDouble(obj1);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 arg3 = (double) SWIG_AsDouble(obj2);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 if (obj3) {
13758 arg4 = (int) SWIG_AsInt(obj3);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 if (obj4) {
13762 arg5 = (int) SWIG_AsInt(obj4);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13782 double arg2 ;
13783 double arg3 ;
13784 int arg4 = (int) 0 ;
13785 int arg5 = (int) 0 ;
13786 PyObject * obj0 = 0 ;
13787 PyObject * obj1 = 0 ;
13788 PyObject * obj2 = 0 ;
13789 PyObject * obj3 = 0 ;
13790 PyObject * obj4 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13798 arg2 = (double) SWIG_AsDouble(obj1);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 arg3 = (double) SWIG_AsDouble(obj2);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 if (obj3) {
13803 arg4 = (int) SWIG_AsInt(obj3);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 if (obj4) {
13807 arg5 = (int) SWIG_AsInt(obj4);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 Py_INCREF(Py_None); resultobj = Py_None;
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13827 double arg2 ;
13828 double arg3 ;
13829 PyObject * obj0 = 0 ;
13830 PyObject * obj1 = 0 ;
13831 PyObject * obj2 = 0 ;
13832 char *kwnames[] = {
13833 (char *) "self",(char *) "x",(char *) "y", NULL
13834 };
13835
13836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13839 arg2 = (double) SWIG_AsDouble(obj1);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 arg3 = (double) SWIG_AsDouble(obj2);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 (arg1)->base_OnSize(arg2,arg3);
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 Py_INCREF(Py_None); resultobj = Py_None;
13851 return resultobj;
13852 fail:
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13860 wxDC *arg2 = 0 ;
13861 double arg3 ;
13862 double arg4 ;
13863 double arg5 ;
13864 double arg6 ;
13865 bool arg7 = (bool) True ;
13866 bool result;
13867 PyObject * obj0 = 0 ;
13868 PyObject * obj1 = 0 ;
13869 PyObject * obj2 = 0 ;
13870 PyObject * obj3 = 0 ;
13871 PyObject * obj4 = 0 ;
13872 PyObject * obj5 = 0 ;
13873 PyObject * obj6 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13882 SWIG_POINTER_EXCEPTION | 0)) == -1)
13883 SWIG_fail;
13884 if (arg2 == NULL) {
13885 PyErr_SetString(PyExc_TypeError,"null reference");
13886 SWIG_fail;
13887 }
13888 arg3 = (double) SWIG_AsDouble(obj2);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 arg4 = (double) SWIG_AsDouble(obj3);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 arg5 = (double) SWIG_AsDouble(obj4);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 arg6 = (double) SWIG_AsDouble(obj5);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 if (obj6) {
13897 arg7 = (bool) SWIG_AsBool(obj6);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13908 return resultobj;
13909 fail:
13910 return NULL;
13911 }
13912
13913
13914 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13917 wxDC *arg2 = 0 ;
13918 double arg3 ;
13919 double arg4 ;
13920 double arg5 ;
13921 double arg6 ;
13922 bool arg7 = (bool) True ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 PyObject * obj2 = 0 ;
13926 PyObject * obj3 = 0 ;
13927 PyObject * obj4 = 0 ;
13928 PyObject * obj5 = 0 ;
13929 PyObject * obj6 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13938 SWIG_POINTER_EXCEPTION | 0)) == -1)
13939 SWIG_fail;
13940 if (arg2 == NULL) {
13941 PyErr_SetString(PyExc_TypeError,"null reference");
13942 SWIG_fail;
13943 }
13944 arg3 = (double) SWIG_AsDouble(obj2);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 arg4 = (double) SWIG_AsDouble(obj3);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 arg5 = (double) SWIG_AsDouble(obj4);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 arg6 = (double) SWIG_AsDouble(obj5);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 if (obj6) {
13953 arg7 = (bool) SWIG_AsBool(obj6);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 Py_INCREF(Py_None); resultobj = Py_None;
13964 return resultobj;
13965 fail:
13966 return NULL;
13967 }
13968
13969
13970 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj;
13972 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13973 bool arg2 ;
13974 double arg3 ;
13975 double arg4 ;
13976 int arg5 = (int) 0 ;
13977 int arg6 = (int) 0 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 PyObject * obj3 = 0 ;
13982 PyObject * obj4 = 0 ;
13983 PyObject * obj5 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13991 arg2 = (bool) SWIG_AsBool(obj1);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 arg3 = (double) SWIG_AsDouble(obj2);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 arg4 = (double) SWIG_AsDouble(obj3);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 if (obj4) {
13998 arg5 = (int) SWIG_AsInt(obj4);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 if (obj5) {
14002 arg6 = (int) SWIG_AsInt(obj5);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14022 double arg2 ;
14023 double arg3 ;
14024 int arg4 = (int) 0 ;
14025 int arg5 = (int) 0 ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 PyObject * obj3 = 0 ;
14030 PyObject * obj4 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14038 arg2 = (double) SWIG_AsDouble(obj1);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 arg3 = (double) SWIG_AsDouble(obj2);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 if (obj3) {
14043 arg4 = (int) SWIG_AsInt(obj3);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 if (obj4) {
14047 arg5 = (int) SWIG_AsInt(obj4);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14053
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 Py_INCREF(Py_None); resultobj = Py_None;
14058 return resultobj;
14059 fail:
14060 return NULL;
14061 }
14062
14063
14064 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14067 double arg2 ;
14068 double arg3 ;
14069 int arg4 = (int) 0 ;
14070 int arg5 = (int) 0 ;
14071 PyObject * obj0 = 0 ;
14072 PyObject * obj1 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 PyObject * obj3 = 0 ;
14075 PyObject * obj4 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14083 arg2 = (double) SWIG_AsDouble(obj1);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 arg3 = (double) SWIG_AsDouble(obj2);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 if (obj3) {
14088 arg4 = (int) SWIG_AsInt(obj3);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 if (obj4) {
14092 arg5 = (int) SWIG_AsInt(obj4);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 {
14096 PyThreadState* __tstate = wxPyBeginAllowThreads();
14097 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14098
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 Py_INCREF(Py_None); resultobj = Py_None;
14103 return resultobj;
14104 fail:
14105 return NULL;
14106 }
14107
14108
14109 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14110 PyObject *resultobj;
14111 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14112 bool arg2 ;
14113 double arg3 ;
14114 double arg4 ;
14115 int arg5 = (int) 0 ;
14116 int arg6 = (int) 0 ;
14117 PyObject * obj0 = 0 ;
14118 PyObject * obj1 = 0 ;
14119 PyObject * obj2 = 0 ;
14120 PyObject * obj3 = 0 ;
14121 PyObject * obj4 = 0 ;
14122 PyObject * obj5 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14125 };
14126
14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14130 arg2 = (bool) SWIG_AsBool(obj1);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 arg3 = (double) SWIG_AsDouble(obj2);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 arg4 = (double) SWIG_AsDouble(obj3);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 if (obj4) {
14137 arg5 = (int) SWIG_AsInt(obj4);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 if (obj5) {
14141 arg6 = (int) SWIG_AsInt(obj5);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 Py_INCREF(Py_None); resultobj = Py_None;
14152 return resultobj;
14153 fail:
14154 return NULL;
14155 }
14156
14157
14158 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14161 double arg2 ;
14162 double arg3 ;
14163 int arg4 = (int) 0 ;
14164 int arg5 = (int) 0 ;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 PyObject * obj3 = 0 ;
14169 PyObject * obj4 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14177 arg2 = (double) SWIG_AsDouble(obj1);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 arg3 = (double) SWIG_AsDouble(obj2);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 if (obj3) {
14182 arg4 = (int) SWIG_AsInt(obj3);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 if (obj4) {
14186 arg5 = (int) SWIG_AsInt(obj4);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14206 double arg2 ;
14207 double arg3 ;
14208 int arg4 = (int) 0 ;
14209 int arg5 = (int) 0 ;
14210 PyObject * obj0 = 0 ;
14211 PyObject * obj1 = 0 ;
14212 PyObject * obj2 = 0 ;
14213 PyObject * obj3 = 0 ;
14214 PyObject * obj4 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14222 arg2 = (double) SWIG_AsDouble(obj1);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 arg3 = (double) SWIG_AsDouble(obj2);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 if (obj3) {
14227 arg4 = (int) SWIG_AsInt(obj3);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 if (obj4) {
14231 arg5 = (int) SWIG_AsInt(obj4);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 Py_INCREF(Py_None); resultobj = Py_None;
14242 return resultobj;
14243 fail:
14244 return NULL;
14245 }
14246
14247
14248 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14251 wxDC *arg2 = 0 ;
14252 double arg3 ;
14253 double arg4 ;
14254 double arg5 ;
14255 double arg6 ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 PyObject * obj2 = 0 ;
14259 PyObject * obj3 = 0 ;
14260 PyObject * obj4 = 0 ;
14261 PyObject * obj5 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1)
14271 SWIG_fail;
14272 if (arg2 == NULL) {
14273 PyErr_SetString(PyExc_TypeError,"null reference");
14274 SWIG_fail;
14275 }
14276 arg3 = (double) SWIG_AsDouble(obj2);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 arg4 = (double) SWIG_AsDouble(obj3);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 arg5 = (double) SWIG_AsDouble(obj4);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 arg6 = (double) SWIG_AsDouble(obj5);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 {
14285 PyThreadState* __tstate = wxPyBeginAllowThreads();
14286 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14287
14288 wxPyEndAllowThreads(__tstate);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 Py_INCREF(Py_None); resultobj = Py_None;
14292 return resultobj;
14293 fail:
14294 return NULL;
14295 }
14296
14297
14298 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14299 PyObject *resultobj;
14300 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14301 wxDC *arg2 = 0 ;
14302 PyObject * obj0 = 0 ;
14303 PyObject * obj1 = 0 ;
14304 char *kwnames[] = {
14305 (char *) "self",(char *) "dc", NULL
14306 };
14307
14308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14312 SWIG_POINTER_EXCEPTION | 0)) == -1)
14313 SWIG_fail;
14314 if (arg2 == NULL) {
14315 PyErr_SetString(PyExc_TypeError,"null reference");
14316 SWIG_fail;
14317 }
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 (arg1)->base_OnDrawControlPoints(*arg2);
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 Py_INCREF(Py_None); resultobj = Py_None;
14326 return resultobj;
14327 fail:
14328 return NULL;
14329 }
14330
14331
14332 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj;
14334 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14335 wxDC *arg2 = 0 ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self",(char *) "dc", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14346 SWIG_POINTER_EXCEPTION | 0)) == -1)
14347 SWIG_fail;
14348 if (arg2 == NULL) {
14349 PyErr_SetString(PyExc_TypeError,"null reference");
14350 SWIG_fail;
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->base_OnEraseControlPoints(*arg2);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14369 wxDC *arg2 = 0 ;
14370 bool arg3 = (bool) True ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1)
14383 SWIG_fail;
14384 if (arg2 == NULL) {
14385 PyErr_SetString(PyExc_TypeError,"null reference");
14386 SWIG_fail;
14387 }
14388 if (obj2) {
14389 arg3 = (bool) SWIG_AsBool(obj2);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 (arg1)->base_OnMoveLink(*arg2,arg3);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 Py_INCREF(Py_None); resultobj = Py_None;
14400 return resultobj;
14401 fail:
14402 return NULL;
14403 }
14404
14405
14406 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj;
14408 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14409 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14410 bool arg3 ;
14411 double arg4 ;
14412 double arg5 ;
14413 int arg6 = (int) 0 ;
14414 int arg7 = (int) 0 ;
14415 PyObject * obj0 = 0 ;
14416 PyObject * obj1 = 0 ;
14417 PyObject * obj2 = 0 ;
14418 PyObject * obj3 = 0 ;
14419 PyObject * obj4 = 0 ;
14420 PyObject * obj5 = 0 ;
14421 PyObject * obj6 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14431 arg3 = (bool) SWIG_AsBool(obj2);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 arg4 = (double) SWIG_AsDouble(obj3);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 arg5 = (double) SWIG_AsDouble(obj4);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 if (obj5) {
14438 arg6 = (int) SWIG_AsInt(obj5);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 if (obj6) {
14442 arg7 = (int) SWIG_AsInt(obj6);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 Py_INCREF(Py_None); resultobj = Py_None;
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14462 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14463 double arg3 ;
14464 double arg4 ;
14465 int arg5 = (int) 0 ;
14466 int arg6 = (int) 0 ;
14467 PyObject * obj0 = 0 ;
14468 PyObject * obj1 = 0 ;
14469 PyObject * obj2 = 0 ;
14470 PyObject * obj3 = 0 ;
14471 PyObject * obj4 = 0 ;
14472 PyObject * obj5 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14482 arg3 = (double) SWIG_AsDouble(obj2);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 arg4 = (double) SWIG_AsDouble(obj3);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 if (obj4) {
14487 arg5 = (int) SWIG_AsInt(obj4);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 if (obj5) {
14491 arg6 = (int) SWIG_AsInt(obj5);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 Py_INCREF(Py_None); resultobj = Py_None;
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14511 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14512 double arg3 ;
14513 double arg4 ;
14514 int arg5 = (int) 0 ;
14515 int arg6 = (int) 0 ;
14516 PyObject * obj0 = 0 ;
14517 PyObject * obj1 = 0 ;
14518 PyObject * obj2 = 0 ;
14519 PyObject * obj3 = 0 ;
14520 PyObject * obj4 = 0 ;
14521 PyObject * obj5 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14531 arg3 = (double) SWIG_AsDouble(obj2);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 arg4 = (double) SWIG_AsDouble(obj3);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 if (obj4) {
14536 arg5 = (int) SWIG_AsInt(obj4);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 if (obj5) {
14540 arg6 = (int) SWIG_AsInt(obj5);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 Py_INCREF(Py_None); resultobj = Py_None;
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14560 double arg2 ;
14561 double arg3 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
14564 PyObject * obj2 = 0 ;
14565 char *kwnames[] = {
14566 (char *) "self",(char *) "w",(char *) "h", NULL
14567 };
14568
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 arg2 = (double) SWIG_AsDouble(obj1);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 arg3 = (double) SWIG_AsDouble(obj2);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 (arg1)->base_OnBeginSize(arg2,arg3);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 Py_INCREF(Py_None); resultobj = Py_None;
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14593 double arg2 ;
14594 double arg3 ;
14595 PyObject * obj0 = 0 ;
14596 PyObject * obj1 = 0 ;
14597 PyObject * obj2 = 0 ;
14598 char *kwnames[] = {
14599 (char *) "self",(char *) "w",(char *) "h", NULL
14600 };
14601
14602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14605 arg2 = (double) SWIG_AsDouble(obj1);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 arg3 = (double) SWIG_AsDouble(obj2);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 (arg1)->base_OnEndSize(arg2,arg3);
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 Py_INCREF(Py_None); resultobj = Py_None;
14617 return resultobj;
14618 fail:
14619 return NULL;
14620 }
14621
14622
14623 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14624 PyObject *obj;
14625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14627 Py_INCREF(obj);
14628 return Py_BuildValue((char *)"");
14629 }
14630 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxPyDrawnShape *result;
14633 char *kwnames[] = {
14634 NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14655 PyObject *arg2 = (PyObject *) 0 ;
14656 PyObject *arg3 = (PyObject *) 0 ;
14657 PyObject * obj0 = 0 ;
14658 PyObject * obj1 = 0 ;
14659 PyObject * obj2 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self",(char *) "self",(char *) "_class", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 arg2 = obj1;
14668 arg3 = obj2;
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 (arg1)->_setCallbackInfo(arg2,arg3);
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
14676 Py_INCREF(Py_None); resultobj = Py_None;
14677 return resultobj;
14678 fail:
14679 return NULL;
14680 }
14681
14682
14683 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14686 PyObject * obj0 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 (arg1)->CalculateSize();
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 Py_INCREF(Py_None); resultobj = Py_None;
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14711 PyObject * obj0 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->DestroyClippingRect();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14736 wxPoint *arg2 = 0 ;
14737 wxPoint *arg3 = 0 ;
14738 wxPoint *arg4 = 0 ;
14739 wxPoint temp2 ;
14740 wxPoint temp3 ;
14741 wxPoint temp4 ;
14742 PyObject * obj0 = 0 ;
14743 PyObject * obj1 = 0 ;
14744 PyObject * obj2 = 0 ;
14745 PyObject * obj3 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14753 {
14754 arg2 = &temp2;
14755 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14756 }
14757 {
14758 arg3 = &temp3;
14759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14760 }
14761 {
14762 arg4 = &temp4;
14763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14764 }
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 Py_INCREF(Py_None); resultobj = Py_None;
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14782 int arg2 ;
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self",(char *) "angle", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
14790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14792 arg2 = (int) SWIG_AsInt(obj1);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 (arg1)->DrawAtAngle(arg2);
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 Py_INCREF(Py_None); resultobj = Py_None;
14802 return resultobj;
14803 fail:
14804 return NULL;
14805 }
14806
14807
14808 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14811 wxRect *arg2 = 0 ;
14812 double arg3 ;
14813 double arg4 ;
14814 wxRect temp2 ;
14815 PyObject * obj0 = 0 ;
14816 PyObject * obj1 = 0 ;
14817 PyObject * obj2 = 0 ;
14818 PyObject * obj3 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14826 {
14827 arg2 = &temp2;
14828 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14829 }
14830 arg3 = (double) SWIG_AsDouble(obj2);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 arg4 = (double) SWIG_AsDouble(obj3);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 Py_INCREF(Py_None); resultobj = Py_None;
14842 return resultobj;
14843 fail:
14844 return NULL;
14845 }
14846
14847
14848 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14851 wxPoint *arg2 = 0 ;
14852 wxPoint *arg3 = 0 ;
14853 wxPoint temp2 ;
14854 wxPoint temp3 ;
14855 PyObject * obj0 = 0 ;
14856 PyObject * obj1 = 0 ;
14857 PyObject * obj2 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self",(char *) "point1",(char *) "point2", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14865 {
14866 arg2 = &temp2;
14867 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14868 }
14869 {
14870 arg3 = &temp3;
14871 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14872 }
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 Py_INCREF(Py_None); resultobj = Py_None;
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14890 int arg2 ;
14891 wxPoint *arg3 = (wxPoint *) 0 ;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 PyObject * obj2 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
14900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14902 arg2 = (int) SWIG_AsInt(obj1);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 (arg1)->DrawLines(arg2,arg3);
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 Py_INCREF(Py_None); resultobj = Py_None;
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14923 wxPoint *arg2 = 0 ;
14924 wxPoint temp2 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self",(char *) "point", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14934 {
14935 arg2 = &temp2;
14936 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14937 }
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 (arg1)->DrawPoint((wxPoint const &)*arg2);
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 Py_INCREF(Py_None); resultobj = Py_None;
14946 return resultobj;
14947 fail:
14948 return NULL;
14949 }
14950
14951
14952 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14955 int arg2 ;
14956 wxPoint *arg3 = (wxPoint *) 0 ;
14957 int arg4 = (int) 0 ;
14958 PyObject * obj0 = 0 ;
14959 PyObject * obj1 = 0 ;
14960 PyObject * obj2 = 0 ;
14961 PyObject * obj3 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14969 arg2 = (int) SWIG_AsInt(obj1);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
14972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14973 if (obj3) {
14974 arg4 = (int) SWIG_AsInt(obj3);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 (arg1)->DrawPolygon(arg2,arg3,arg4);
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 Py_INCREF(Py_None); resultobj = Py_None;
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14994 wxRect *arg2 = 0 ;
14995 wxRect temp2 ;
14996 PyObject * obj0 = 0 ;
14997 PyObject * obj1 = 0 ;
14998 char *kwnames[] = {
14999 (char *) "self",(char *) "rect", NULL
15000 };
15001
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15005 {
15006 arg2 = &temp2;
15007 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15008 }
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 (arg1)->DrawRectangle((wxRect const &)*arg2);
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 Py_INCREF(Py_None); resultobj = Py_None;
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15026 wxRect *arg2 = 0 ;
15027 double arg3 ;
15028 wxRect temp2 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 PyObject * obj2 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "rect",(char *) "radius", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15039 {
15040 arg2 = &temp2;
15041 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15042 }
15043 arg3 = (double) SWIG_AsDouble(obj2);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 Py_INCREF(Py_None); resultobj = Py_None;
15053 return resultobj;
15054 fail:
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15062 int arg2 ;
15063 wxPoint *arg3 = (wxPoint *) 0 ;
15064 PyObject * obj0 = 0 ;
15065 PyObject * obj1 = 0 ;
15066 PyObject * obj2 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
15072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15074 arg2 = (int) SWIG_AsInt(obj1);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
15077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->DrawSpline(arg2,arg3);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15095 wxString *arg2 = 0 ;
15096 wxPoint *arg3 = 0 ;
15097 bool temp2 = False ;
15098 wxPoint temp3 ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 PyObject * obj2 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self",(char *) "text",(char *) "point", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15109 {
15110 arg2 = wxString_in_helper(obj1);
15111 if (arg2 == NULL) SWIG_fail;
15112 temp2 = True;
15113 }
15114 {
15115 arg3 = &temp3;
15116 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15117 }
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 Py_INCREF(Py_None); resultobj = Py_None;
15126 {
15127 if (temp2)
15128 delete arg2;
15129 }
15130 return resultobj;
15131 fail:
15132 {
15133 if (temp2)
15134 delete arg2;
15135 }
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15143 int result;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (int)(arg1)->GetAngle();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 resultobj = SWIG_FromInt((int)result);
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15169 wxPseudoMetaFile *result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 {
15181 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15182 result = (wxPseudoMetaFile *) &_result_ref;
15183 }
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15198 double result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (double)(arg1)->GetRotation();
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 resultobj = SWIG_FromDouble((double)result);
15215 return resultobj;
15216 fail:
15217 return NULL;
15218 }
15219
15220
15221 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15224 wxString *arg2 = 0 ;
15225 bool result;
15226 bool temp2 = False ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self",(char *) "filename", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 {
15237 arg2 = wxString_in_helper(obj1);
15238 if (arg2 == NULL) SWIG_fail;
15239 temp2 = True;
15240 }
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15249 {
15250 if (temp2)
15251 delete arg2;
15252 }
15253 return resultobj;
15254 fail:
15255 {
15256 if (temp2)
15257 delete arg2;
15258 }
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15266 double arg2 ;
15267 double arg3 ;
15268 double arg4 ;
15269 PyObject * obj0 = 0 ;
15270 PyObject * obj1 = 0 ;
15271 PyObject * obj2 = 0 ;
15272 PyObject * obj3 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15280 arg2 = (double) SWIG_AsDouble(obj1);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 arg3 = (double) SWIG_AsDouble(obj2);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 arg4 = (double) SWIG_AsDouble(obj3);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 (arg1)->Rotate(arg2,arg3,arg4);
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 Py_INCREF(Py_None); resultobj = Py_None;
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15303 wxRect *arg2 = 0 ;
15304 wxRect temp2 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self",(char *) "rect", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 {
15315 arg2 = &temp2;
15316 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15317 }
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 (arg1)->SetClippingRect((wxRect const &)*arg2);
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 Py_INCREF(Py_None); resultobj = Py_None;
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15335 wxColour *arg2 = 0 ;
15336 wxColour temp2 ;
15337 PyObject * obj0 = 0 ;
15338 PyObject * obj1 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "colour", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15346 {
15347 arg2 = &temp2;
15348 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15367 int arg2 ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "mode", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 arg2 = (int) SWIG_AsInt(obj1);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->SetDrawnBackgroundMode(arg2);
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 Py_INCREF(Py_None); resultobj = Py_None;
15387 return resultobj;
15388 fail:
15389 return NULL;
15390 }
15391
15392
15393 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15396 wxBrush *arg2 = (wxBrush *) 0 ;
15397 bool arg3 = (bool) FALSE ;
15398 PyObject * obj0 = 0 ;
15399 PyObject * obj1 = 0 ;
15400 PyObject * obj2 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 {
15409 wxBrush* temp;
15410 if (obj1) {
15411 if (obj1 == Py_None) {
15412 temp = NULL;
15413 }
15414 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15415 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15416 return NULL;
15417 }
15418 }
15419 if (temp)
15420 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15421 else
15422 arg2 = NULL;
15423 }
15424 if (obj2) {
15425 arg3 = (bool) SWIG_AsBool(obj2);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->SetDrawnBrush(arg2,arg3);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15445 wxFont *arg2 = (wxFont *) 0 ;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self",(char *) "font", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15455 {
15456 wxFont* temp;
15457 if (obj1) {
15458 if (obj1 == Py_None) {
15459 temp = NULL;
15460 }
15461 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15462 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15463 return NULL;
15464 }
15465 }
15466 if (temp)
15467 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15468 temp->GetFamily(),
15469 temp->GetStyle(),
15470 temp->GetWeight(),
15471 temp->GetUnderlined(),
15472 temp->GetFaceName(),
15473 temp->GetEncoding());
15474 else
15475 arg2 = NULL;
15476 }
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->SetDrawnFont(arg2);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15494 wxPen *arg2 = (wxPen *) 0 ;
15495 bool arg3 = (bool) FALSE ;
15496 PyObject * obj0 = 0 ;
15497 PyObject * obj1 = 0 ;
15498 PyObject * obj2 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15506 {
15507 wxPen* temp;
15508 if (obj1) {
15509 if (obj1 == Py_None) {
15510 temp = NULL;
15511 }
15512 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15513 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15514 return NULL;
15515 }
15516 }
15517 if (temp)
15518 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15519 temp->GetWidth(),
15520 temp->GetStyle());
15521 else
15522 arg2 = NULL;
15523 }
15524 if (obj2) {
15525 arg3 = (bool) SWIG_AsBool(obj2);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 (arg1)->SetDrawnPen(arg2,arg3);
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 Py_INCREF(Py_None); resultobj = Py_None;
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15545 wxColour *arg2 = 0 ;
15546 wxColour temp2 ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "colour", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 {
15557 arg2 = &temp2;
15558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15577 double arg2 ;
15578 double arg3 ;
15579 PyObject * obj0 = 0 ;
15580 PyObject * obj1 = 0 ;
15581 PyObject * obj2 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self",(char *) "sx",(char *) "sy", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15589 arg2 = (double) SWIG_AsDouble(obj1);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 arg3 = (double) SWIG_AsDouble(obj2);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 (arg1)->Scale(arg2,arg3);
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 Py_INCREF(Py_None); resultobj = Py_None;
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15610 bool arg2 ;
15611 PyObject * obj0 = 0 ;
15612 PyObject * obj1 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self",(char *) "save", NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15620 arg2 = (bool) SWIG_AsBool(obj1);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 (arg1)->SetSaveToFile(arg2);
15625
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 Py_INCREF(Py_None); resultobj = Py_None;
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15639 double arg2 ;
15640 double arg3 ;
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 PyObject * obj2 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self",(char *) "x",(char *) "y", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15651 arg2 = (double) SWIG_AsDouble(obj1);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 arg3 = (double) SWIG_AsDouble(obj2);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->Translate(arg2,arg3);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->base_OnDelete();
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 Py_INCREF(Py_None); resultobj = Py_None;
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15697 wxDC *arg2 = 0 ;
15698 PyObject * obj0 = 0 ;
15699 PyObject * obj1 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self",(char *) "dc", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1)
15709 SWIG_fail;
15710 if (arg2 == NULL) {
15711 PyErr_SetString(PyExc_TypeError,"null reference");
15712 SWIG_fail;
15713 }
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 (arg1)->base_OnDraw(*arg2);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 Py_INCREF(Py_None); resultobj = Py_None;
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15731 wxDC *arg2 = 0 ;
15732 PyObject * obj0 = 0 ;
15733 PyObject * obj1 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self",(char *) "dc", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1)
15743 SWIG_fail;
15744 if (arg2 == NULL) {
15745 PyErr_SetString(PyExc_TypeError,"null reference");
15746 SWIG_fail;
15747 }
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->base_OnDrawContents(*arg2);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 Py_INCREF(Py_None); resultobj = Py_None;
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15765 wxDC *arg2 = 0 ;
15766 bool arg3 = (bool) FALSE ;
15767 PyObject * obj0 = 0 ;
15768 PyObject * obj1 = 0 ;
15769 PyObject * obj2 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "dc",(char *) "erase", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15778 SWIG_POINTER_EXCEPTION | 0)) == -1)
15779 SWIG_fail;
15780 if (arg2 == NULL) {
15781 PyErr_SetString(PyExc_TypeError,"null reference");
15782 SWIG_fail;
15783 }
15784 if (obj2) {
15785 arg3 = (bool) SWIG_AsBool(obj2);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 (arg1)->base_OnDrawBranches(*arg2,arg3);
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 Py_INCREF(Py_None); resultobj = Py_None;
15796 return resultobj;
15797 fail:
15798 return NULL;
15799 }
15800
15801
15802 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15803 PyObject *resultobj;
15804 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15805 wxDC *arg2 = 0 ;
15806 PyObject * obj0 = 0 ;
15807 PyObject * obj1 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "dc", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15816 SWIG_POINTER_EXCEPTION | 0)) == -1)
15817 SWIG_fail;
15818 if (arg2 == NULL) {
15819 PyErr_SetString(PyExc_TypeError,"null reference");
15820 SWIG_fail;
15821 }
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 (arg1)->base_OnMoveLinks(*arg2);
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 Py_INCREF(Py_None); resultobj = Py_None;
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15839 wxDC *arg2 = 0 ;
15840 PyObject * obj0 = 0 ;
15841 PyObject * obj1 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self",(char *) "dc", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1)
15851 SWIG_fail;
15852 if (arg2 == NULL) {
15853 PyErr_SetString(PyExc_TypeError,"null reference");
15854 SWIG_fail;
15855 }
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->base_OnErase(*arg2);
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 Py_INCREF(Py_None); resultobj = Py_None;
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15873 wxDC *arg2 = 0 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "dc", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1)
15885 SWIG_fail;
15886 if (arg2 == NULL) {
15887 PyErr_SetString(PyExc_TypeError,"null reference");
15888 SWIG_fail;
15889 }
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->base_OnEraseContents(*arg2);
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15907 wxDC *arg2 = 0 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "dc", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15918 SWIG_POINTER_EXCEPTION | 0)) == -1)
15919 SWIG_fail;
15920 if (arg2 == NULL) {
15921 PyErr_SetString(PyExc_TypeError,"null reference");
15922 SWIG_fail;
15923 }
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->base_OnHighlight(*arg2);
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15941 double arg2 ;
15942 double arg3 ;
15943 int arg4 = (int) 0 ;
15944 int arg5 = (int) 0 ;
15945 PyObject * obj0 = 0 ;
15946 PyObject * obj1 = 0 ;
15947 PyObject * obj2 = 0 ;
15948 PyObject * obj3 = 0 ;
15949 PyObject * obj4 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 arg2 = (double) SWIG_AsDouble(obj1);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 arg3 = (double) SWIG_AsDouble(obj2);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 if (obj3) {
15962 arg4 = (int) SWIG_AsInt(obj3);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 if (obj4) {
15966 arg5 = (int) SWIG_AsInt(obj4);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15986 double arg2 ;
15987 double arg3 ;
15988 int arg4 = (int) 0 ;
15989 int arg5 = (int) 0 ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 PyObject * obj2 = 0 ;
15993 PyObject * obj3 = 0 ;
15994 PyObject * obj4 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16002 arg2 = (double) SWIG_AsDouble(obj1);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 arg3 = (double) SWIG_AsDouble(obj2);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 if (obj3) {
16007 arg4 = (int) SWIG_AsInt(obj3);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 if (obj4) {
16011 arg5 = (int) SWIG_AsInt(obj4);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
16021 Py_INCREF(Py_None); resultobj = Py_None;
16022 return resultobj;
16023 fail:
16024 return NULL;
16025 }
16026
16027
16028 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16031 double arg2 ;
16032 double arg3 ;
16033 int arg4 = (int) 0 ;
16034 int arg5 = (int) 0 ;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 PyObject * obj2 = 0 ;
16038 PyObject * obj3 = 0 ;
16039 PyObject * obj4 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16047 arg2 = (double) SWIG_AsDouble(obj1);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 arg3 = (double) SWIG_AsDouble(obj2);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 if (obj3) {
16052 arg4 = (int) SWIG_AsInt(obj3);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 if (obj4) {
16056 arg5 = (int) SWIG_AsInt(obj4);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 Py_INCREF(Py_None); resultobj = Py_None;
16067 return resultobj;
16068 fail:
16069 return NULL;
16070 }
16071
16072
16073 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16076 double arg2 ;
16077 double arg3 ;
16078 PyObject * obj0 = 0 ;
16079 PyObject * obj1 = 0 ;
16080 PyObject * obj2 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self",(char *) "x",(char *) "y", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16088 arg2 = (double) SWIG_AsDouble(obj1);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 arg3 = (double) SWIG_AsDouble(obj2);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 (arg1)->base_OnSize(arg2,arg3);
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 Py_INCREF(Py_None); resultobj = Py_None;
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16109 wxDC *arg2 = 0 ;
16110 double arg3 ;
16111 double arg4 ;
16112 double arg5 ;
16113 double arg6 ;
16114 bool arg7 = (bool) True ;
16115 bool result;
16116 PyObject * obj0 = 0 ;
16117 PyObject * obj1 = 0 ;
16118 PyObject * obj2 = 0 ;
16119 PyObject * obj3 = 0 ;
16120 PyObject * obj4 = 0 ;
16121 PyObject * obj5 = 0 ;
16122 PyObject * obj6 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1)
16132 SWIG_fail;
16133 if (arg2 == NULL) {
16134 PyErr_SetString(PyExc_TypeError,"null reference");
16135 SWIG_fail;
16136 }
16137 arg3 = (double) SWIG_AsDouble(obj2);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 arg4 = (double) SWIG_AsDouble(obj3);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 arg5 = (double) SWIG_AsDouble(obj4);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 arg6 = (double) SWIG_AsDouble(obj5);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 if (obj6) {
16146 arg7 = (bool) SWIG_AsBool(obj6);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16157 return resultobj;
16158 fail:
16159 return NULL;
16160 }
16161
16162
16163 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16164 PyObject *resultobj;
16165 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16166 wxDC *arg2 = 0 ;
16167 double arg3 ;
16168 double arg4 ;
16169 double arg5 ;
16170 double arg6 ;
16171 bool arg7 = (bool) True ;
16172 PyObject * obj0 = 0 ;
16173 PyObject * obj1 = 0 ;
16174 PyObject * obj2 = 0 ;
16175 PyObject * obj3 = 0 ;
16176 PyObject * obj4 = 0 ;
16177 PyObject * obj5 = 0 ;
16178 PyObject * obj6 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16187 SWIG_POINTER_EXCEPTION | 0)) == -1)
16188 SWIG_fail;
16189 if (arg2 == NULL) {
16190 PyErr_SetString(PyExc_TypeError,"null reference");
16191 SWIG_fail;
16192 }
16193 arg3 = (double) SWIG_AsDouble(obj2);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 arg4 = (double) SWIG_AsDouble(obj3);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 arg5 = (double) SWIG_AsDouble(obj4);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 arg6 = (double) SWIG_AsDouble(obj5);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 if (obj6) {
16202 arg7 = (bool) SWIG_AsBool(obj6);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 Py_INCREF(Py_None); resultobj = Py_None;
16213 return resultobj;
16214 fail:
16215 return NULL;
16216 }
16217
16218
16219 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16222 bool arg2 ;
16223 double arg3 ;
16224 double arg4 ;
16225 int arg5 = (int) 0 ;
16226 int arg6 = (int) 0 ;
16227 PyObject * obj0 = 0 ;
16228 PyObject * obj1 = 0 ;
16229 PyObject * obj2 = 0 ;
16230 PyObject * obj3 = 0 ;
16231 PyObject * obj4 = 0 ;
16232 PyObject * obj5 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16240 arg2 = (bool) SWIG_AsBool(obj1);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 arg3 = (double) SWIG_AsDouble(obj2);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 arg4 = (double) SWIG_AsDouble(obj3);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 if (obj4) {
16247 arg5 = (int) SWIG_AsInt(obj4);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 if (obj5) {
16251 arg6 = (int) SWIG_AsInt(obj5);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16271 double arg2 ;
16272 double arg3 ;
16273 int arg4 = (int) 0 ;
16274 int arg5 = (int) 0 ;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 PyObject * obj2 = 0 ;
16278 PyObject * obj3 = 0 ;
16279 PyObject * obj4 = 0 ;
16280 char *kwnames[] = {
16281 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16282 };
16283
16284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16287 arg2 = (double) SWIG_AsDouble(obj1);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 arg3 = (double) SWIG_AsDouble(obj2);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 if (obj3) {
16292 arg4 = (int) SWIG_AsInt(obj3);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 if (obj4) {
16296 arg5 = (int) SWIG_AsInt(obj4);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16316 double arg2 ;
16317 double arg3 ;
16318 int arg4 = (int) 0 ;
16319 int arg5 = (int) 0 ;
16320 PyObject * obj0 = 0 ;
16321 PyObject * obj1 = 0 ;
16322 PyObject * obj2 = 0 ;
16323 PyObject * obj3 = 0 ;
16324 PyObject * obj4 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16332 arg2 = (double) SWIG_AsDouble(obj1);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 arg3 = (double) SWIG_AsDouble(obj2);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 if (obj3) {
16337 arg4 = (int) SWIG_AsInt(obj3);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 if (obj4) {
16341 arg5 = (int) SWIG_AsInt(obj4);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 Py_INCREF(Py_None); resultobj = Py_None;
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16361 bool arg2 ;
16362 double arg3 ;
16363 double arg4 ;
16364 int arg5 = (int) 0 ;
16365 int arg6 = (int) 0 ;
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 PyObject * obj2 = 0 ;
16369 PyObject * obj3 = 0 ;
16370 PyObject * obj4 = 0 ;
16371 PyObject * obj5 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16379 arg2 = (bool) SWIG_AsBool(obj1);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 arg3 = (double) SWIG_AsDouble(obj2);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 arg4 = (double) SWIG_AsDouble(obj3);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 if (obj4) {
16386 arg5 = (int) SWIG_AsInt(obj4);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 if (obj5) {
16390 arg6 = (int) SWIG_AsInt(obj5);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 {
16394 PyThreadState* __tstate = wxPyBeginAllowThreads();
16395 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16396
16397 wxPyEndAllowThreads(__tstate);
16398 if (PyErr_Occurred()) SWIG_fail;
16399 }
16400 Py_INCREF(Py_None); resultobj = Py_None;
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16410 double arg2 ;
16411 double arg3 ;
16412 int arg4 = (int) 0 ;
16413 int arg5 = (int) 0 ;
16414 PyObject * obj0 = 0 ;
16415 PyObject * obj1 = 0 ;
16416 PyObject * obj2 = 0 ;
16417 PyObject * obj3 = 0 ;
16418 PyObject * obj4 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16426 arg2 = (double) SWIG_AsDouble(obj1);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 arg3 = (double) SWIG_AsDouble(obj2);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 if (obj3) {
16431 arg4 = (int) SWIG_AsInt(obj3);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 if (obj4) {
16435 arg5 = (int) SWIG_AsInt(obj4);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 Py_INCREF(Py_None); resultobj = Py_None;
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16455 double arg2 ;
16456 double arg3 ;
16457 int arg4 = (int) 0 ;
16458 int arg5 = (int) 0 ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 PyObject * obj2 = 0 ;
16462 PyObject * obj3 = 0 ;
16463 PyObject * obj4 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16471 arg2 = (double) SWIG_AsDouble(obj1);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 arg3 = (double) SWIG_AsDouble(obj2);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 if (obj3) {
16476 arg4 = (int) SWIG_AsInt(obj3);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 if (obj4) {
16480 arg5 = (int) SWIG_AsInt(obj4);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 Py_INCREF(Py_None); resultobj = Py_None;
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16500 wxDC *arg2 = 0 ;
16501 double arg3 ;
16502 double arg4 ;
16503 double arg5 ;
16504 double arg6 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 PyObject * obj2 = 0 ;
16508 PyObject * obj3 = 0 ;
16509 PyObject * obj4 = 0 ;
16510 PyObject * obj5 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16519 SWIG_POINTER_EXCEPTION | 0)) == -1)
16520 SWIG_fail;
16521 if (arg2 == NULL) {
16522 PyErr_SetString(PyExc_TypeError,"null reference");
16523 SWIG_fail;
16524 }
16525 arg3 = (double) SWIG_AsDouble(obj2);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 arg4 = (double) SWIG_AsDouble(obj3);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 arg5 = (double) SWIG_AsDouble(obj4);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 arg6 = (double) SWIG_AsDouble(obj5);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16550 wxDC *arg2 = 0 ;
16551 PyObject * obj0 = 0 ;
16552 PyObject * obj1 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self",(char *) "dc", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16561 SWIG_POINTER_EXCEPTION | 0)) == -1)
16562 SWIG_fail;
16563 if (arg2 == NULL) {
16564 PyErr_SetString(PyExc_TypeError,"null reference");
16565 SWIG_fail;
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->base_OnDrawControlPoints(*arg2);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16584 wxDC *arg2 = 0 ;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "dc", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1)
16596 SWIG_fail;
16597 if (arg2 == NULL) {
16598 PyErr_SetString(PyExc_TypeError,"null reference");
16599 SWIG_fail;
16600 }
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 (arg1)->base_OnEraseControlPoints(*arg2);
16604
16605 wxPyEndAllowThreads(__tstate);
16606 if (PyErr_Occurred()) SWIG_fail;
16607 }
16608 Py_INCREF(Py_None); resultobj = Py_None;
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16618 wxDC *arg2 = 0 ;
16619 bool arg3 = (bool) True ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1)
16632 SWIG_fail;
16633 if (arg2 == NULL) {
16634 PyErr_SetString(PyExc_TypeError,"null reference");
16635 SWIG_fail;
16636 }
16637 if (obj2) {
16638 arg3 = (bool) SWIG_AsBool(obj2);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 (arg1)->base_OnMoveLink(*arg2,arg3);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 Py_INCREF(Py_None); resultobj = Py_None;
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj;
16657 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16658 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16659 bool arg3 ;
16660 double arg4 ;
16661 double arg5 ;
16662 int arg6 = (int) 0 ;
16663 int arg7 = (int) 0 ;
16664 PyObject * obj0 = 0 ;
16665 PyObject * obj1 = 0 ;
16666 PyObject * obj2 = 0 ;
16667 PyObject * obj3 = 0 ;
16668 PyObject * obj4 = 0 ;
16669 PyObject * obj5 = 0 ;
16670 PyObject * obj6 = 0 ;
16671 char *kwnames[] = {
16672 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16673 };
16674
16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16680 arg3 = (bool) SWIG_AsBool(obj2);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 arg4 = (double) SWIG_AsDouble(obj3);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 arg5 = (double) SWIG_AsDouble(obj4);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 if (obj5) {
16687 arg6 = (int) SWIG_AsInt(obj5);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 if (obj6) {
16691 arg7 = (int) SWIG_AsInt(obj6);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16711 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16712 double arg3 ;
16713 double arg4 ;
16714 int arg5 = (int) 0 ;
16715 int arg6 = (int) 0 ;
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 PyObject * obj2 = 0 ;
16719 PyObject * obj3 = 0 ;
16720 PyObject * obj4 = 0 ;
16721 PyObject * obj5 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16731 arg3 = (double) SWIG_AsDouble(obj2);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 arg4 = (double) SWIG_AsDouble(obj3);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 if (obj4) {
16736 arg5 = (int) SWIG_AsInt(obj4);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 if (obj5) {
16740 arg6 = (int) SWIG_AsInt(obj5);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16760 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16761 double arg3 ;
16762 double arg4 ;
16763 int arg5 = (int) 0 ;
16764 int arg6 = (int) 0 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 PyObject * obj2 = 0 ;
16768 PyObject * obj3 = 0 ;
16769 PyObject * obj4 = 0 ;
16770 PyObject * obj5 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16780 arg3 = (double) SWIG_AsDouble(obj2);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 arg4 = (double) SWIG_AsDouble(obj3);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 if (obj4) {
16785 arg5 = (int) SWIG_AsInt(obj4);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 if (obj5) {
16789 arg6 = (int) SWIG_AsInt(obj5);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16809 double arg2 ;
16810 double arg3 ;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 PyObject * obj2 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self",(char *) "w",(char *) "h", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16821 arg2 = (double) SWIG_AsDouble(obj1);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 arg3 = (double) SWIG_AsDouble(obj2);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 {
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 (arg1)->base_OnBeginSize(arg2,arg3);
16828
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 Py_INCREF(Py_None); resultobj = Py_None;
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16842 double arg2 ;
16843 double arg3 ;
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 PyObject * obj2 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self",(char *) "w",(char *) "h", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 arg2 = (double) SWIG_AsDouble(obj1);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 arg3 = (double) SWIG_AsDouble(obj2);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 (arg1)->base_OnEndSize(arg2,arg3);
16861
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 Py_INCREF(Py_None); resultobj = Py_None;
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
16873 PyObject *obj;
16874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16875 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
16876 Py_INCREF(obj);
16877 return Py_BuildValue((char *)"");
16878 }
16879 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 int arg1 ;
16882 wxPyShape *arg2 = (wxPyShape *) 0 ;
16883 PyObject *arg3 = (PyObject *) 0 ;
16884 wxOGLConstraint *result;
16885 PyObject * obj0 = 0 ;
16886 PyObject * obj1 = 0 ;
16887 PyObject * obj2 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
16893 arg1 = (int) SWIG_AsInt(obj0);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
16896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16897 arg3 = obj2;
16898 {
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
16901
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 {
16906 resultobj = wxPyMake_wxObject(result);
16907 }
16908 return resultobj;
16909 fail:
16910 return NULL;
16911 }
16912
16913
16914 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16917 bool result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (bool)(arg1)->Evaluate();
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj;
16942 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16943 double arg2 ;
16944 double arg3 ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 PyObject * obj2 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self",(char *) "x",(char *) "y", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16955 arg2 = (double) SWIG_AsDouble(obj1);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 arg3 = (double) SWIG_AsDouble(obj2);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 (arg1)->SetSpacing(arg2,arg3);
16962
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 Py_INCREF(Py_None); resultobj = Py_None;
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
16976 double arg2 ;
16977 double arg3 ;
16978 bool result;
16979 PyObject * obj0 = 0 ;
16980 PyObject * obj1 = 0 ;
16981 PyObject * obj2 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "a",(char *) "b", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
16987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
16988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16989 arg2 = (double) SWIG_AsDouble(obj1);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 arg3 = (double) SWIG_AsDouble(obj2);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (bool)(arg1)->Equals(arg2,arg3);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17008 PyObject *obj;
17009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17011 Py_INCREF(obj);
17012 return Py_BuildValue((char *)"");
17013 }
17014 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPyCompositeShape *result;
17017 char *kwnames[] = {
17018 NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17039 PyObject *arg2 = (PyObject *) 0 ;
17040 PyObject *arg3 = (PyObject *) 0 ;
17041 PyObject * obj0 = 0 ;
17042 PyObject * obj1 = 0 ;
17043 PyObject * obj2 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "self",(char *) "_class", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 arg2 = obj1;
17052 arg3 = obj2;
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 (arg1)->_setCallbackInfo(arg2,arg3);
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 Py_INCREF(Py_None); resultobj = Py_None;
17061 return resultobj;
17062 fail:
17063 return NULL;
17064 }
17065
17066
17067 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17070 wxPyShape *arg2 = (wxPyShape *) 0 ;
17071 wxPyShape *arg3 = (wxPyShape *) NULL ;
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17084 if (obj2) {
17085 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17087 }
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 (arg1)->AddChild(arg2,arg3);
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 Py_INCREF(Py_None); resultobj = Py_None;
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17105 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17106 wxOGLConstraint *result;
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self",(char *) "constraint", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 {
17126 resultobj = wxPyMake_wxObject(result);
17127 }
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj;
17136 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17137 int arg2 ;
17138 wxPyShape *arg3 = (wxPyShape *) 0 ;
17139 PyObject *arg4 = (PyObject *) 0 ;
17140 wxOGLConstraint *result;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 PyObject * obj2 = 0 ;
17144 PyObject * obj3 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 arg2 = (int) SWIG_AsInt(obj1);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17156 arg4 = obj3;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 {
17165 resultobj = wxPyMake_wxObject(result);
17166 }
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17176 int arg2 ;
17177 wxPyShape *arg3 = (wxPyShape *) 0 ;
17178 wxPyShape *arg4 = (wxPyShape *) 0 ;
17179 wxOGLConstraint *result;
17180 PyObject * obj0 = 0 ;
17181 PyObject * obj1 = 0 ;
17182 PyObject * obj2 = 0 ;
17183 PyObject * obj3 = 0 ;
17184 char *kwnames[] = {
17185 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17186 };
17187
17188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17191 arg2 = (int) SWIG_AsInt(obj1);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17195 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 {
17205 resultobj = wxPyMake_wxObject(result);
17206 }
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17216 PyObject * obj0 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 (arg1)->CalculateSize();
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 Py_INCREF(Py_None); resultobj = Py_None;
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17241 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17242 bool result;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "self",(char *) "division", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (bool)(arg1)->ContainsDivision(arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17271 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj1 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "constraint", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 (arg1)->DeleteConstraint(arg2);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17300 wxPyShape *arg2 = (wxPyShape *) 0 ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "child", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 Py_INCREF(Py_None); resultobj = Py_None;
17320 return resultobj;
17321 fail:
17322 return NULL;
17323 }
17324
17325
17326 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17327 PyObject *resultobj;
17328 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17329 wxPyShape *result;
17330 PyObject * obj0 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 result = (wxPyShape *)(arg1)->FindContainerImage();
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 {
17346 resultobj = wxPyMake_wxShapeEvtHandler(result);
17347 }
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17357 PyObject *result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = result;
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17383 PyObject *result;
17384 PyObject * obj0 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = result;
17400 return resultobj;
17401 fail:
17402 return NULL;
17403 }
17404
17405
17406 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17409 PyObject * obj0 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->MakeContainer();
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
17428 }
17429
17430
17431 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17434 bool result;
17435 PyObject * obj0 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 result = (bool)(arg1)->Recompute();
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17451 return resultobj;
17452 fail:
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17460 wxPyShape *arg2 = (wxPyShape *) 0 ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "child", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 (arg1)->RemoveChild(arg2);
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 Py_INCREF(Py_None); resultobj = Py_None;
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 (arg1)->base_OnDelete();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 Py_INCREF(Py_None); resultobj = Py_None;
17505 return resultobj;
17506 fail:
17507 return NULL;
17508 }
17509
17510
17511 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17514 wxDC *arg2 = 0 ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self",(char *) "dc", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17525 SWIG_POINTER_EXCEPTION | 0)) == -1)
17526 SWIG_fail;
17527 if (arg2 == NULL) {
17528 PyErr_SetString(PyExc_TypeError,"null reference");
17529 SWIG_fail;
17530 }
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 (arg1)->base_OnDraw(*arg2);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 Py_INCREF(Py_None); resultobj = Py_None;
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17548 wxDC *arg2 = 0 ;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "dc", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1)
17560 SWIG_fail;
17561 if (arg2 == NULL) {
17562 PyErr_SetString(PyExc_TypeError,"null reference");
17563 SWIG_fail;
17564 }
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 (arg1)->base_OnDrawContents(*arg2);
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 Py_INCREF(Py_None); resultobj = Py_None;
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17582 wxDC *arg2 = 0 ;
17583 bool arg3 = (bool) FALSE ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 PyObject * obj2 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "dc",(char *) "erase", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1)
17596 SWIG_fail;
17597 if (arg2 == NULL) {
17598 PyErr_SetString(PyExc_TypeError,"null reference");
17599 SWIG_fail;
17600 }
17601 if (obj2) {
17602 arg3 = (bool) SWIG_AsBool(obj2);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->base_OnDrawBranches(*arg2,arg3);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17622 wxDC *arg2 = 0 ;
17623 PyObject * obj0 = 0 ;
17624 PyObject * obj1 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "dc", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1)
17634 SWIG_fail;
17635 if (arg2 == NULL) {
17636 PyErr_SetString(PyExc_TypeError,"null reference");
17637 SWIG_fail;
17638 }
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 (arg1)->base_OnMoveLinks(*arg2);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 Py_INCREF(Py_None); resultobj = Py_None;
17647 return resultobj;
17648 fail:
17649 return NULL;
17650 }
17651
17652
17653 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17656 wxDC *arg2 = 0 ;
17657 PyObject * obj0 = 0 ;
17658 PyObject * obj1 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self",(char *) "dc", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17667 SWIG_POINTER_EXCEPTION | 0)) == -1)
17668 SWIG_fail;
17669 if (arg2 == NULL) {
17670 PyErr_SetString(PyExc_TypeError,"null reference");
17671 SWIG_fail;
17672 }
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 (arg1)->base_OnErase(*arg2);
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 Py_INCREF(Py_None); resultobj = Py_None;
17681 return resultobj;
17682 fail:
17683 return NULL;
17684 }
17685
17686
17687 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17690 wxDC *arg2 = 0 ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj1 = 0 ;
17693 char *kwnames[] = {
17694 (char *) "self",(char *) "dc", NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17701 SWIG_POINTER_EXCEPTION | 0)) == -1)
17702 SWIG_fail;
17703 if (arg2 == NULL) {
17704 PyErr_SetString(PyExc_TypeError,"null reference");
17705 SWIG_fail;
17706 }
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->base_OnEraseContents(*arg2);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17722 PyObject *resultobj;
17723 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17724 wxDC *arg2 = 0 ;
17725 PyObject * obj0 = 0 ;
17726 PyObject * obj1 = 0 ;
17727 char *kwnames[] = {
17728 (char *) "self",(char *) "dc", NULL
17729 };
17730
17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17735 SWIG_POINTER_EXCEPTION | 0)) == -1)
17736 SWIG_fail;
17737 if (arg2 == NULL) {
17738 PyErr_SetString(PyExc_TypeError,"null reference");
17739 SWIG_fail;
17740 }
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 (arg1)->base_OnHighlight(*arg2);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 Py_INCREF(Py_None); resultobj = Py_None;
17749 return resultobj;
17750 fail:
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17758 double arg2 ;
17759 double arg3 ;
17760 int arg4 = (int) 0 ;
17761 int arg5 = (int) 0 ;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 PyObject * obj2 = 0 ;
17765 PyObject * obj3 = 0 ;
17766 PyObject * obj4 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 arg2 = (double) SWIG_AsDouble(obj1);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 arg3 = (double) SWIG_AsDouble(obj2);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 if (obj3) {
17779 arg4 = (int) SWIG_AsInt(obj3);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 if (obj4) {
17783 arg5 = (int) SWIG_AsInt(obj4);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 Py_INCREF(Py_None); resultobj = Py_None;
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17803 double arg2 ;
17804 double arg3 ;
17805 int arg4 = (int) 0 ;
17806 int arg5 = (int) 0 ;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 PyObject * obj2 = 0 ;
17810 PyObject * obj3 = 0 ;
17811 PyObject * obj4 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17814 };
17815
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17819 arg2 = (double) SWIG_AsDouble(obj1);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 arg3 = (double) SWIG_AsDouble(obj2);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 if (obj3) {
17824 arg4 = (int) SWIG_AsInt(obj3);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 if (obj4) {
17828 arg5 = (int) SWIG_AsInt(obj4);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 Py_INCREF(Py_None); resultobj = Py_None;
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj;
17847 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17848 double arg2 ;
17849 double arg3 ;
17850 int arg4 = (int) 0 ;
17851 int arg5 = (int) 0 ;
17852 PyObject * obj0 = 0 ;
17853 PyObject * obj1 = 0 ;
17854 PyObject * obj2 = 0 ;
17855 PyObject * obj3 = 0 ;
17856 PyObject * obj4 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17864 arg2 = (double) SWIG_AsDouble(obj1);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 arg3 = (double) SWIG_AsDouble(obj2);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 if (obj3) {
17869 arg4 = (int) SWIG_AsInt(obj3);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 if (obj4) {
17873 arg5 = (int) SWIG_AsInt(obj4);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17893 double arg2 ;
17894 double arg3 ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 PyObject * obj2 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self",(char *) "x",(char *) "y", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 arg2 = (double) SWIG_AsDouble(obj1);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 arg3 = (double) SWIG_AsDouble(obj2);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 (arg1)->base_OnSize(arg2,arg3);
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 Py_INCREF(Py_None); resultobj = Py_None;
17917 return resultobj;
17918 fail:
17919 return NULL;
17920 }
17921
17922
17923 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj;
17925 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17926 wxDC *arg2 = 0 ;
17927 double arg3 ;
17928 double arg4 ;
17929 double arg5 ;
17930 double arg6 ;
17931 bool arg7 = (bool) True ;
17932 bool result;
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 PyObject * obj2 = 0 ;
17936 PyObject * obj3 = 0 ;
17937 PyObject * obj4 = 0 ;
17938 PyObject * obj5 = 0 ;
17939 PyObject * obj6 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1)
17949 SWIG_fail;
17950 if (arg2 == NULL) {
17951 PyErr_SetString(PyExc_TypeError,"null reference");
17952 SWIG_fail;
17953 }
17954 arg3 = (double) SWIG_AsDouble(obj2);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 arg4 = (double) SWIG_AsDouble(obj3);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 arg5 = (double) SWIG_AsDouble(obj4);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 arg6 = (double) SWIG_AsDouble(obj5);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 if (obj6) {
17963 arg7 = (bool) SWIG_AsBool(obj6);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17983 wxDC *arg2 = 0 ;
17984 double arg3 ;
17985 double arg4 ;
17986 double arg5 ;
17987 double arg6 ;
17988 bool arg7 = (bool) True ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 PyObject * obj2 = 0 ;
17992 PyObject * obj3 = 0 ;
17993 PyObject * obj4 = 0 ;
17994 PyObject * obj5 = 0 ;
17995 PyObject * obj6 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18004 SWIG_POINTER_EXCEPTION | 0)) == -1)
18005 SWIG_fail;
18006 if (arg2 == NULL) {
18007 PyErr_SetString(PyExc_TypeError,"null reference");
18008 SWIG_fail;
18009 }
18010 arg3 = (double) SWIG_AsDouble(obj2);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 arg4 = (double) SWIG_AsDouble(obj3);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 arg5 = (double) SWIG_AsDouble(obj4);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 arg6 = (double) SWIG_AsDouble(obj5);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 if (obj6) {
18019 arg7 = (bool) SWIG_AsBool(obj6);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 Py_INCREF(Py_None); resultobj = Py_None;
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18039 bool arg2 ;
18040 double arg3 ;
18041 double arg4 ;
18042 int arg5 = (int) 0 ;
18043 int arg6 = (int) 0 ;
18044 PyObject * obj0 = 0 ;
18045 PyObject * obj1 = 0 ;
18046 PyObject * obj2 = 0 ;
18047 PyObject * obj3 = 0 ;
18048 PyObject * obj4 = 0 ;
18049 PyObject * obj5 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18057 arg2 = (bool) SWIG_AsBool(obj1);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 arg3 = (double) SWIG_AsDouble(obj2);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 arg4 = (double) SWIG_AsDouble(obj3);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 if (obj4) {
18064 arg5 = (int) SWIG_AsInt(obj4);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 if (obj5) {
18068 arg6 = (int) SWIG_AsInt(obj5);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18088 double arg2 ;
18089 double arg3 ;
18090 int arg4 = (int) 0 ;
18091 int arg5 = (int) 0 ;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 PyObject * obj2 = 0 ;
18095 PyObject * obj3 = 0 ;
18096 PyObject * obj4 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18104 arg2 = (double) SWIG_AsDouble(obj1);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 arg3 = (double) SWIG_AsDouble(obj2);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 if (obj3) {
18109 arg4 = (int) SWIG_AsInt(obj3);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 if (obj4) {
18113 arg5 = (int) SWIG_AsInt(obj4);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 Py_INCREF(Py_None); resultobj = Py_None;
18124 return resultobj;
18125 fail:
18126 return NULL;
18127 }
18128
18129
18130 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18133 double arg2 ;
18134 double arg3 ;
18135 int arg4 = (int) 0 ;
18136 int arg5 = (int) 0 ;
18137 PyObject * obj0 = 0 ;
18138 PyObject * obj1 = 0 ;
18139 PyObject * obj2 = 0 ;
18140 PyObject * obj3 = 0 ;
18141 PyObject * obj4 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18149 arg2 = (double) SWIG_AsDouble(obj1);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 arg3 = (double) SWIG_AsDouble(obj2);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 if (obj3) {
18154 arg4 = (int) SWIG_AsInt(obj3);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 if (obj4) {
18158 arg5 = (int) SWIG_AsInt(obj4);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 Py_INCREF(Py_None); resultobj = Py_None;
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18178 bool arg2 ;
18179 double arg3 ;
18180 double arg4 ;
18181 int arg5 = (int) 0 ;
18182 int arg6 = (int) 0 ;
18183 PyObject * obj0 = 0 ;
18184 PyObject * obj1 = 0 ;
18185 PyObject * obj2 = 0 ;
18186 PyObject * obj3 = 0 ;
18187 PyObject * obj4 = 0 ;
18188 PyObject * obj5 = 0 ;
18189 char *kwnames[] = {
18190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18191 };
18192
18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18196 arg2 = (bool) SWIG_AsBool(obj1);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 arg3 = (double) SWIG_AsDouble(obj2);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 arg4 = (double) SWIG_AsDouble(obj3);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 if (obj4) {
18203 arg5 = (int) SWIG_AsInt(obj4);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 if (obj5) {
18207 arg6 = (int) SWIG_AsInt(obj5);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18227 double arg2 ;
18228 double arg3 ;
18229 int arg4 = (int) 0 ;
18230 int arg5 = (int) 0 ;
18231 PyObject * obj0 = 0 ;
18232 PyObject * obj1 = 0 ;
18233 PyObject * obj2 = 0 ;
18234 PyObject * obj3 = 0 ;
18235 PyObject * obj4 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18243 arg2 = (double) SWIG_AsDouble(obj1);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 arg3 = (double) SWIG_AsDouble(obj2);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 if (obj3) {
18248 arg4 = (int) SWIG_AsInt(obj3);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 if (obj4) {
18252 arg5 = (int) SWIG_AsInt(obj4);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 Py_INCREF(Py_None); resultobj = Py_None;
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18272 double arg2 ;
18273 double arg3 ;
18274 int arg4 = (int) 0 ;
18275 int arg5 = (int) 0 ;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278 PyObject * obj2 = 0 ;
18279 PyObject * obj3 = 0 ;
18280 PyObject * obj4 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18288 arg2 = (double) SWIG_AsDouble(obj1);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 arg3 = (double) SWIG_AsDouble(obj2);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 if (obj3) {
18293 arg4 = (int) SWIG_AsInt(obj3);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 if (obj4) {
18297 arg5 = (int) SWIG_AsInt(obj4);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 Py_INCREF(Py_None); resultobj = Py_None;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18317 wxDC *arg2 = 0 ;
18318 double arg3 ;
18319 double arg4 ;
18320 double arg5 ;
18321 double arg6 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 PyObject * obj2 = 0 ;
18325 PyObject * obj3 = 0 ;
18326 PyObject * obj4 = 0 ;
18327 PyObject * obj5 = 0 ;
18328 char *kwnames[] = {
18329 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18330 };
18331
18332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18336 SWIG_POINTER_EXCEPTION | 0)) == -1)
18337 SWIG_fail;
18338 if (arg2 == NULL) {
18339 PyErr_SetString(PyExc_TypeError,"null reference");
18340 SWIG_fail;
18341 }
18342 arg3 = (double) SWIG_AsDouble(obj2);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 arg4 = (double) SWIG_AsDouble(obj3);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 arg5 = (double) SWIG_AsDouble(obj4);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 arg6 = (double) SWIG_AsDouble(obj5);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 Py_INCREF(Py_None); resultobj = Py_None;
18358 return resultobj;
18359 fail:
18360 return NULL;
18361 }
18362
18363
18364 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18365 PyObject *resultobj;
18366 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18367 wxDC *arg2 = 0 ;
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self",(char *) "dc", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18378 SWIG_POINTER_EXCEPTION | 0)) == -1)
18379 SWIG_fail;
18380 if (arg2 == NULL) {
18381 PyErr_SetString(PyExc_TypeError,"null reference");
18382 SWIG_fail;
18383 }
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 (arg1)->base_OnDrawControlPoints(*arg2);
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 Py_INCREF(Py_None); resultobj = Py_None;
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18401 wxDC *arg2 = 0 ;
18402 PyObject * obj0 = 0 ;
18403 PyObject * obj1 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self",(char *) "dc", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1)
18413 SWIG_fail;
18414 if (arg2 == NULL) {
18415 PyErr_SetString(PyExc_TypeError,"null reference");
18416 SWIG_fail;
18417 }
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 (arg1)->base_OnEraseControlPoints(*arg2);
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 Py_INCREF(Py_None); resultobj = Py_None;
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj;
18434 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18435 wxDC *arg2 = 0 ;
18436 bool arg3 = (bool) True ;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18448 SWIG_POINTER_EXCEPTION | 0)) == -1)
18449 SWIG_fail;
18450 if (arg2 == NULL) {
18451 PyErr_SetString(PyExc_TypeError,"null reference");
18452 SWIG_fail;
18453 }
18454 if (obj2) {
18455 arg3 = (bool) SWIG_AsBool(obj2);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 (arg1)->base_OnMoveLink(*arg2,arg3);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 Py_INCREF(Py_None); resultobj = Py_None;
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18475 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18476 bool arg3 ;
18477 double arg4 ;
18478 double arg5 ;
18479 int arg6 = (int) 0 ;
18480 int arg7 = (int) 0 ;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 PyObject * obj2 = 0 ;
18484 PyObject * obj3 = 0 ;
18485 PyObject * obj4 = 0 ;
18486 PyObject * obj5 = 0 ;
18487 PyObject * obj6 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18497 arg3 = (bool) SWIG_AsBool(obj2);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 arg4 = (double) SWIG_AsDouble(obj3);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 arg5 = (double) SWIG_AsDouble(obj4);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 if (obj5) {
18504 arg6 = (int) SWIG_AsInt(obj5);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 if (obj6) {
18508 arg7 = (int) SWIG_AsInt(obj6);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 Py_INCREF(Py_None); resultobj = Py_None;
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18528 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18529 double arg3 ;
18530 double arg4 ;
18531 int arg5 = (int) 0 ;
18532 int arg6 = (int) 0 ;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535 PyObject * obj2 = 0 ;
18536 PyObject * obj3 = 0 ;
18537 PyObject * obj4 = 0 ;
18538 PyObject * obj5 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18548 arg3 = (double) SWIG_AsDouble(obj2);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 arg4 = (double) SWIG_AsDouble(obj3);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 if (obj4) {
18553 arg5 = (int) SWIG_AsInt(obj4);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 if (obj5) {
18557 arg6 = (int) SWIG_AsInt(obj5);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 Py_INCREF(Py_None); resultobj = Py_None;
18568 return resultobj;
18569 fail:
18570 return NULL;
18571 }
18572
18573
18574 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18575 PyObject *resultobj;
18576 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18577 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18578 double arg3 ;
18579 double arg4 ;
18580 int arg5 = (int) 0 ;
18581 int arg6 = (int) 0 ;
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj1 = 0 ;
18584 PyObject * obj2 = 0 ;
18585 PyObject * obj3 = 0 ;
18586 PyObject * obj4 = 0 ;
18587 PyObject * obj5 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18597 arg3 = (double) SWIG_AsDouble(obj2);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 arg4 = (double) SWIG_AsDouble(obj3);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 if (obj4) {
18602 arg5 = (int) SWIG_AsInt(obj4);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 if (obj5) {
18606 arg6 = (int) SWIG_AsInt(obj5);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18626 double arg2 ;
18627 double arg3 ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 PyObject * obj2 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self",(char *) "w",(char *) "h", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18638 arg2 = (double) SWIG_AsDouble(obj1);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 arg3 = (double) SWIG_AsDouble(obj2);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 (arg1)->base_OnBeginSize(arg2,arg3);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 Py_INCREF(Py_None); resultobj = Py_None;
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18659 double arg2 ;
18660 double arg3 ;
18661 PyObject * obj0 = 0 ;
18662 PyObject * obj1 = 0 ;
18663 PyObject * obj2 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "w",(char *) "h", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18671 arg2 = (double) SWIG_AsDouble(obj1);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 arg3 = (double) SWIG_AsDouble(obj2);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->base_OnEndSize(arg2,arg3);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 Py_INCREF(Py_None); resultobj = Py_None;
18683 return resultobj;
18684 fail:
18685 return NULL;
18686 }
18687
18688
18689 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
18690 PyObject *obj;
18691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18692 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18693 Py_INCREF(obj);
18694 return Py_BuildValue((char *)"");
18695 }
18696 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 double arg1 = (double) 0.0 ;
18699 double arg2 = (double) 0.0 ;
18700 wxPyDividedShape *result;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "width",(char *) "height", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18708 if (obj0) {
18709 arg1 = (double) SWIG_AsDouble(obj0);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 if (obj1) {
18713 arg2 = (double) SWIG_AsDouble(obj1);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18733 PyObject *arg2 = (PyObject *) 0 ;
18734 PyObject *arg3 = (PyObject *) 0 ;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 PyObject * obj2 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self",(char *) "self",(char *) "_class", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18745 arg2 = obj1;
18746 arg3 = obj2;
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 (arg1)->_setCallbackInfo(arg2,arg3);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 Py_INCREF(Py_None); resultobj = Py_None;
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 (arg1)->EditRegions();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 Py_INCREF(Py_None); resultobj = Py_None;
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18789 PyObject * obj0 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self", NULL
18792 };
18793
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
18795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 (arg1)->SetRegionSizes();
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 Py_INCREF(Py_None); resultobj = Py_None;
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18814 PyObject * obj0 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 (arg1)->base_OnDelete();
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 Py_INCREF(Py_None); resultobj = Py_None;
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18839 wxDC *arg2 = 0 ;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "dc", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18850 SWIG_POINTER_EXCEPTION | 0)) == -1)
18851 SWIG_fail;
18852 if (arg2 == NULL) {
18853 PyErr_SetString(PyExc_TypeError,"null reference");
18854 SWIG_fail;
18855 }
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->base_OnDraw(*arg2);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18873 wxDC *arg2 = 0 ;
18874 PyObject * obj0 = 0 ;
18875 PyObject * obj1 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self",(char *) "dc", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1)
18885 SWIG_fail;
18886 if (arg2 == NULL) {
18887 PyErr_SetString(PyExc_TypeError,"null reference");
18888 SWIG_fail;
18889 }
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 (arg1)->base_OnDrawContents(*arg2);
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 Py_INCREF(Py_None); resultobj = Py_None;
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18907 wxDC *arg2 = 0 ;
18908 bool arg3 = (bool) FALSE ;
18909 PyObject * obj0 = 0 ;
18910 PyObject * obj1 = 0 ;
18911 PyObject * obj2 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "dc",(char *) "erase", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18920 SWIG_POINTER_EXCEPTION | 0)) == -1)
18921 SWIG_fail;
18922 if (arg2 == NULL) {
18923 PyErr_SetString(PyExc_TypeError,"null reference");
18924 SWIG_fail;
18925 }
18926 if (obj2) {
18927 arg3 = (bool) SWIG_AsBool(obj2);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->base_OnDrawBranches(*arg2,arg3);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18947 wxDC *arg2 = 0 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "dc", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18958 SWIG_POINTER_EXCEPTION | 0)) == -1)
18959 SWIG_fail;
18960 if (arg2 == NULL) {
18961 PyErr_SetString(PyExc_TypeError,"null reference");
18962 SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->base_OnMoveLinks(*arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18981 wxDC *arg2 = 0 ;
18982 PyObject * obj0 = 0 ;
18983 PyObject * obj1 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self",(char *) "dc", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18992 SWIG_POINTER_EXCEPTION | 0)) == -1)
18993 SWIG_fail;
18994 if (arg2 == NULL) {
18995 PyErr_SetString(PyExc_TypeError,"null reference");
18996 SWIG_fail;
18997 }
18998 {
18999 PyThreadState* __tstate = wxPyBeginAllowThreads();
19000 (arg1)->base_OnErase(*arg2);
19001
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 Py_INCREF(Py_None); resultobj = Py_None;
19006 return resultobj;
19007 fail:
19008 return NULL;
19009 }
19010
19011
19012 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19015 wxDC *arg2 = 0 ;
19016 PyObject * obj0 = 0 ;
19017 PyObject * obj1 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self",(char *) "dc", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19026 SWIG_POINTER_EXCEPTION | 0)) == -1)
19027 SWIG_fail;
19028 if (arg2 == NULL) {
19029 PyErr_SetString(PyExc_TypeError,"null reference");
19030 SWIG_fail;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->base_OnEraseContents(*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19049 wxDC *arg2 = 0 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "dc", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19060 SWIG_POINTER_EXCEPTION | 0)) == -1)
19061 SWIG_fail;
19062 if (arg2 == NULL) {
19063 PyErr_SetString(PyExc_TypeError,"null reference");
19064 SWIG_fail;
19065 }
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 (arg1)->base_OnHighlight(*arg2);
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 Py_INCREF(Py_None); resultobj = Py_None;
19074 return resultobj;
19075 fail:
19076 return NULL;
19077 }
19078
19079
19080 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19083 double arg2 ;
19084 double arg3 ;
19085 int arg4 = (int) 0 ;
19086 int arg5 = (int) 0 ;
19087 PyObject * obj0 = 0 ;
19088 PyObject * obj1 = 0 ;
19089 PyObject * obj2 = 0 ;
19090 PyObject * obj3 = 0 ;
19091 PyObject * obj4 = 0 ;
19092 char *kwnames[] = {
19093 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19099 arg2 = (double) SWIG_AsDouble(obj1);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 arg3 = (double) SWIG_AsDouble(obj2);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 if (obj3) {
19104 arg4 = (int) SWIG_AsInt(obj3);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 if (obj4) {
19108 arg5 = (int) SWIG_AsInt(obj4);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
19113 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19114
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 Py_INCREF(Py_None); resultobj = Py_None;
19119 return resultobj;
19120 fail:
19121 return NULL;
19122 }
19123
19124
19125 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19128 double arg2 ;
19129 double arg3 ;
19130 int arg4 = (int) 0 ;
19131 int arg5 = (int) 0 ;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 PyObject * obj2 = 0 ;
19135 PyObject * obj3 = 0 ;
19136 PyObject * obj4 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19144 arg2 = (double) SWIG_AsDouble(obj1);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 arg3 = (double) SWIG_AsDouble(obj2);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 if (obj3) {
19149 arg4 = (int) SWIG_AsInt(obj3);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 if (obj4) {
19153 arg5 = (int) SWIG_AsInt(obj4);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 Py_INCREF(Py_None); resultobj = Py_None;
19164 return resultobj;
19165 fail:
19166 return NULL;
19167 }
19168
19169
19170 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj;
19172 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19173 double arg2 ;
19174 double arg3 ;
19175 int arg4 = (int) 0 ;
19176 int arg5 = (int) 0 ;
19177 PyObject * obj0 = 0 ;
19178 PyObject * obj1 = 0 ;
19179 PyObject * obj2 = 0 ;
19180 PyObject * obj3 = 0 ;
19181 PyObject * obj4 = 0 ;
19182 char *kwnames[] = {
19183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19184 };
19185
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19189 arg2 = (double) SWIG_AsDouble(obj1);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 arg3 = (double) SWIG_AsDouble(obj2);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 if (obj3) {
19194 arg4 = (int) SWIG_AsInt(obj3);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 if (obj4) {
19198 arg5 = (int) SWIG_AsInt(obj4);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19218 double arg2 ;
19219 double arg3 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 PyObject * obj2 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "x",(char *) "y", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 arg2 = (double) SWIG_AsDouble(obj1);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 arg3 = (double) SWIG_AsDouble(obj2);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 (arg1)->base_OnSize(arg2,arg3);
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 Py_INCREF(Py_None); resultobj = Py_None;
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19251 wxDC *arg2 = 0 ;
19252 double arg3 ;
19253 double arg4 ;
19254 double arg5 ;
19255 double arg6 ;
19256 bool arg7 = (bool) True ;
19257 bool result;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 PyObject * obj2 = 0 ;
19261 PyObject * obj3 = 0 ;
19262 PyObject * obj4 = 0 ;
19263 PyObject * obj5 = 0 ;
19264 PyObject * obj6 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19273 SWIG_POINTER_EXCEPTION | 0)) == -1)
19274 SWIG_fail;
19275 if (arg2 == NULL) {
19276 PyErr_SetString(PyExc_TypeError,"null reference");
19277 SWIG_fail;
19278 }
19279 arg3 = (double) SWIG_AsDouble(obj2);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 arg4 = (double) SWIG_AsDouble(obj3);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 arg5 = (double) SWIG_AsDouble(obj4);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 arg6 = (double) SWIG_AsDouble(obj5);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 if (obj6) {
19288 arg7 = (bool) SWIG_AsBool(obj6);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19308 wxDC *arg2 = 0 ;
19309 double arg3 ;
19310 double arg4 ;
19311 double arg5 ;
19312 double arg6 ;
19313 bool arg7 = (bool) True ;
19314 PyObject * obj0 = 0 ;
19315 PyObject * obj1 = 0 ;
19316 PyObject * obj2 = 0 ;
19317 PyObject * obj3 = 0 ;
19318 PyObject * obj4 = 0 ;
19319 PyObject * obj5 = 0 ;
19320 PyObject * obj6 = 0 ;
19321 char *kwnames[] = {
19322 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19323 };
19324
19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19329 SWIG_POINTER_EXCEPTION | 0)) == -1)
19330 SWIG_fail;
19331 if (arg2 == NULL) {
19332 PyErr_SetString(PyExc_TypeError,"null reference");
19333 SWIG_fail;
19334 }
19335 arg3 = (double) SWIG_AsDouble(obj2);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 arg4 = (double) SWIG_AsDouble(obj3);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 arg5 = (double) SWIG_AsDouble(obj4);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 arg6 = (double) SWIG_AsDouble(obj5);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 if (obj6) {
19344 arg7 = (bool) SWIG_AsBool(obj6);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 Py_INCREF(Py_None); resultobj = Py_None;
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19362 PyObject *resultobj;
19363 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19364 bool arg2 ;
19365 double arg3 ;
19366 double arg4 ;
19367 int arg5 = (int) 0 ;
19368 int arg6 = (int) 0 ;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 PyObject * obj2 = 0 ;
19372 PyObject * obj3 = 0 ;
19373 PyObject * obj4 = 0 ;
19374 PyObject * obj5 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19382 arg2 = (bool) SWIG_AsBool(obj1);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 arg3 = (double) SWIG_AsDouble(obj2);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 arg4 = (double) SWIG_AsDouble(obj3);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 if (obj4) {
19389 arg5 = (int) SWIG_AsInt(obj4);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 if (obj5) {
19393 arg6 = (int) SWIG_AsInt(obj5);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 Py_INCREF(Py_None); resultobj = Py_None;
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19413 double arg2 ;
19414 double arg3 ;
19415 int arg4 = (int) 0 ;
19416 int arg5 = (int) 0 ;
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 PyObject * obj2 = 0 ;
19420 PyObject * obj3 = 0 ;
19421 PyObject * obj4 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19429 arg2 = (double) SWIG_AsDouble(obj1);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 arg3 = (double) SWIG_AsDouble(obj2);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 if (obj3) {
19434 arg4 = (int) SWIG_AsInt(obj3);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 if (obj4) {
19438 arg5 = (int) SWIG_AsInt(obj4);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 Py_INCREF(Py_None); resultobj = Py_None;
19449 return resultobj;
19450 fail:
19451 return NULL;
19452 }
19453
19454
19455 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19458 double arg2 ;
19459 double arg3 ;
19460 int arg4 = (int) 0 ;
19461 int arg5 = (int) 0 ;
19462 PyObject * obj0 = 0 ;
19463 PyObject * obj1 = 0 ;
19464 PyObject * obj2 = 0 ;
19465 PyObject * obj3 = 0 ;
19466 PyObject * obj4 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19469 };
19470
19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19474 arg2 = (double) SWIG_AsDouble(obj1);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 arg3 = (double) SWIG_AsDouble(obj2);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 if (obj3) {
19479 arg4 = (int) SWIG_AsInt(obj3);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 if (obj4) {
19483 arg5 = (int) SWIG_AsInt(obj4);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 Py_INCREF(Py_None); resultobj = Py_None;
19494 return resultobj;
19495 fail:
19496 return NULL;
19497 }
19498
19499
19500 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19501 PyObject *resultobj;
19502 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19503 bool arg2 ;
19504 double arg3 ;
19505 double arg4 ;
19506 int arg5 = (int) 0 ;
19507 int arg6 = (int) 0 ;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 PyObject * obj2 = 0 ;
19511 PyObject * obj3 = 0 ;
19512 PyObject * obj4 = 0 ;
19513 PyObject * obj5 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19521 arg2 = (bool) SWIG_AsBool(obj1);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 arg3 = (double) SWIG_AsDouble(obj2);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 arg4 = (double) SWIG_AsDouble(obj3);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 if (obj4) {
19528 arg5 = (int) SWIG_AsInt(obj4);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 if (obj5) {
19532 arg6 = (int) SWIG_AsInt(obj5);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 Py_INCREF(Py_None); resultobj = Py_None;
19543 return resultobj;
19544 fail:
19545 return NULL;
19546 }
19547
19548
19549 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19552 double arg2 ;
19553 double arg3 ;
19554 int arg4 = (int) 0 ;
19555 int arg5 = (int) 0 ;
19556 PyObject * obj0 = 0 ;
19557 PyObject * obj1 = 0 ;
19558 PyObject * obj2 = 0 ;
19559 PyObject * obj3 = 0 ;
19560 PyObject * obj4 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19568 arg2 = (double) SWIG_AsDouble(obj1);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 arg3 = (double) SWIG_AsDouble(obj2);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 if (obj3) {
19573 arg4 = (int) SWIG_AsInt(obj3);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 if (obj4) {
19577 arg5 = (int) SWIG_AsInt(obj4);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19597 double arg2 ;
19598 double arg3 ;
19599 int arg4 = (int) 0 ;
19600 int arg5 = (int) 0 ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 PyObject * obj2 = 0 ;
19604 PyObject * obj3 = 0 ;
19605 PyObject * obj4 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19613 arg2 = (double) SWIG_AsDouble(obj1);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 arg3 = (double) SWIG_AsDouble(obj2);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 if (obj3) {
19618 arg4 = (int) SWIG_AsInt(obj3);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 if (obj4) {
19622 arg5 = (int) SWIG_AsInt(obj4);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 Py_INCREF(Py_None); resultobj = Py_None;
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19642 wxDC *arg2 = 0 ;
19643 double arg3 ;
19644 double arg4 ;
19645 double arg5 ;
19646 double arg6 ;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj1 = 0 ;
19649 PyObject * obj2 = 0 ;
19650 PyObject * obj3 = 0 ;
19651 PyObject * obj4 = 0 ;
19652 PyObject * obj5 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1)
19662 SWIG_fail;
19663 if (arg2 == NULL) {
19664 PyErr_SetString(PyExc_TypeError,"null reference");
19665 SWIG_fail;
19666 }
19667 arg3 = (double) SWIG_AsDouble(obj2);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 arg4 = (double) SWIG_AsDouble(obj3);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 arg5 = (double) SWIG_AsDouble(obj4);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 arg6 = (double) SWIG_AsDouble(obj5);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19692 wxDC *arg2 = 0 ;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "dc", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19703 SWIG_POINTER_EXCEPTION | 0)) == -1)
19704 SWIG_fail;
19705 if (arg2 == NULL) {
19706 PyErr_SetString(PyExc_TypeError,"null reference");
19707 SWIG_fail;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 (arg1)->base_OnDrawControlPoints(*arg2);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19726 wxDC *arg2 = 0 ;
19727 PyObject * obj0 = 0 ;
19728 PyObject * obj1 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "dc", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1)
19738 SWIG_fail;
19739 if (arg2 == NULL) {
19740 PyErr_SetString(PyExc_TypeError,"null reference");
19741 SWIG_fail;
19742 }
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 (arg1)->base_OnEraseControlPoints(*arg2);
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 Py_INCREF(Py_None); resultobj = Py_None;
19751 return resultobj;
19752 fail:
19753 return NULL;
19754 }
19755
19756
19757 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19760 wxDC *arg2 = 0 ;
19761 bool arg3 = (bool) True ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 PyObject * obj2 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19773 SWIG_POINTER_EXCEPTION | 0)) == -1)
19774 SWIG_fail;
19775 if (arg2 == NULL) {
19776 PyErr_SetString(PyExc_TypeError,"null reference");
19777 SWIG_fail;
19778 }
19779 if (obj2) {
19780 arg3 = (bool) SWIG_AsBool(obj2);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 (arg1)->base_OnMoveLink(*arg2,arg3);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19800 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19801 bool arg3 ;
19802 double arg4 ;
19803 double arg5 ;
19804 int arg6 = (int) 0 ;
19805 int arg7 = (int) 0 ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 PyObject * obj2 = 0 ;
19809 PyObject * obj3 = 0 ;
19810 PyObject * obj4 = 0 ;
19811 PyObject * obj5 = 0 ;
19812 PyObject * obj6 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19822 arg3 = (bool) SWIG_AsBool(obj2);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 arg4 = (double) SWIG_AsDouble(obj3);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 arg5 = (double) SWIG_AsDouble(obj4);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 if (obj5) {
19829 arg6 = (int) SWIG_AsInt(obj5);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 if (obj6) {
19833 arg7 = (int) SWIG_AsInt(obj6);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 Py_INCREF(Py_None); resultobj = Py_None;
19844 return resultobj;
19845 fail:
19846 return NULL;
19847 }
19848
19849
19850 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19851 PyObject *resultobj;
19852 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19853 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19854 double arg3 ;
19855 double arg4 ;
19856 int arg5 = (int) 0 ;
19857 int arg6 = (int) 0 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 PyObject * obj2 = 0 ;
19861 PyObject * obj3 = 0 ;
19862 PyObject * obj4 = 0 ;
19863 PyObject * obj5 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 arg3 = (double) SWIG_AsDouble(obj2);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 arg4 = (double) SWIG_AsDouble(obj3);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 if (obj4) {
19878 arg5 = (int) SWIG_AsInt(obj4);
19879 if (PyErr_Occurred()) SWIG_fail;
19880 }
19881 if (obj5) {
19882 arg6 = (int) SWIG_AsInt(obj5);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896 }
19897
19898
19899 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19902 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19903 double arg3 ;
19904 double arg4 ;
19905 int arg5 = (int) 0 ;
19906 int arg6 = (int) 0 ;
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 PyObject * obj2 = 0 ;
19910 PyObject * obj3 = 0 ;
19911 PyObject * obj4 = 0 ;
19912 PyObject * obj5 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19922 arg3 = (double) SWIG_AsDouble(obj2);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 arg4 = (double) SWIG_AsDouble(obj3);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 if (obj4) {
19927 arg5 = (int) SWIG_AsInt(obj4);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 if (obj5) {
19931 arg6 = (int) SWIG_AsInt(obj5);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 Py_INCREF(Py_None); resultobj = Py_None;
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19951 double arg2 ;
19952 double arg3 ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 PyObject * obj2 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "w",(char *) "h", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19963 arg2 = (double) SWIG_AsDouble(obj1);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 arg3 = (double) SWIG_AsDouble(obj2);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 (arg1)->base_OnBeginSize(arg2,arg3);
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 Py_INCREF(Py_None); resultobj = Py_None;
19975 return resultobj;
19976 fail:
19977 return NULL;
19978 }
19979
19980
19981 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj;
19983 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19984 double arg2 ;
19985 double arg3 ;
19986 PyObject * obj0 = 0 ;
19987 PyObject * obj1 = 0 ;
19988 PyObject * obj2 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self",(char *) "w",(char *) "h", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19996 arg2 = (double) SWIG_AsDouble(obj1);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 arg3 = (double) SWIG_AsDouble(obj2);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 (arg1)->base_OnEndSize(arg2,arg3);
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 Py_INCREF(Py_None); resultobj = Py_None;
20008 return resultobj;
20009 fail:
20010 return NULL;
20011 }
20012
20013
20014 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20015 PyObject *obj;
20016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20017 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20018 Py_INCREF(obj);
20019 return Py_BuildValue((char *)"");
20020 }
20021 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxPyDivisionShape *result;
20024 char *kwnames[] = {
20025 NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 {
20037 resultobj = wxPyMake_wxShapeEvtHandler(result);
20038 }
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20048 PyObject *arg2 = (PyObject *) 0 ;
20049 PyObject *arg3 = (PyObject *) 0 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "self",(char *) "_class", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20060 arg2 = obj1;
20061 arg3 = obj2;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 (arg1)->_setCallbackInfo(arg2,arg3);
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 Py_INCREF(Py_None); resultobj = Py_None;
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20079 double arg2 ;
20080 bool arg3 ;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 PyObject * obj2 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "bottom",(char *) "test", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20091 arg2 = (double) SWIG_AsDouble(obj1);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 arg3 = (bool) SWIG_AsBool(obj2);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 (arg1)->AdjustBottom(arg2,arg3);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 Py_INCREF(Py_None); resultobj = Py_None;
20103 return resultobj;
20104 fail:
20105 return NULL;
20106 }
20107
20108
20109 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20110 PyObject *resultobj;
20111 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20112 double arg2 ;
20113 bool arg3 ;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 PyObject * obj2 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "left",(char *) "test", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20124 arg2 = (double) SWIG_AsDouble(obj1);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 arg3 = (bool) SWIG_AsBool(obj2);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 (arg1)->AdjustLeft(arg2,arg3);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 Py_INCREF(Py_None); resultobj = Py_None;
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20145 double arg2 ;
20146 bool arg3 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 PyObject * obj2 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self",(char *) "right",(char *) "test", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20157 arg2 = (double) SWIG_AsDouble(obj1);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 arg3 = (bool) SWIG_AsBool(obj2);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 (arg1)->AdjustRight(arg2,arg3);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 Py_INCREF(Py_None); resultobj = Py_None;
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20178 double arg2 ;
20179 bool arg3 ;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 PyObject * obj2 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self",(char *) "top",(char *) "test", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20190 arg2 = (double) SWIG_AsDouble(obj1);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 arg3 = (bool) SWIG_AsBool(obj2);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 (arg1)->AdjustTop(arg2,arg3);
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 Py_INCREF(Py_None); resultobj = Py_None;
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20211 int arg2 ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "direction", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20221 arg2 = (int) SWIG_AsInt(obj1);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->Divide(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 Py_INCREF(Py_None); resultobj = Py_None;
20231 return resultobj;
20232 fail:
20233 return NULL;
20234 }
20235
20236
20237 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20240 int arg2 ;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self",(char *) "side", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 arg2 = (int) SWIG_AsInt(obj1);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->EditEdge(arg2);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 Py_INCREF(Py_None); resultobj = Py_None;
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20269 wxPyDivisionShape *result;
20270 PyObject * obj0 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 {
20286 resultobj = wxPyMake_wxShapeEvtHandler(result);
20287 }
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20297 int result;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (int)(arg1)->GetHandleSide();
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 resultobj = SWIG_FromInt((int)result);
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20323 wxPyDivisionShape *result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 {
20340 resultobj = wxPyMake_wxShapeEvtHandler(result);
20341 }
20342 return resultobj;
20343 fail:
20344 return NULL;
20345 }
20346
20347
20348 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20351 wxString result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 result = (arg1)->GetLeftSideColour();
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 {
20368 #if wxUSE_UNICODE
20369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20370 #else
20371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20372 #endif
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20383 wxPen *result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (wxPen *)(arg1)->GetLeftSidePen();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20409 wxPyDivisionShape *result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 {
20426 resultobj = wxPyMake_wxShapeEvtHandler(result);
20427 }
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20437 wxPyDivisionShape *result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 resultobj = wxPyMake_wxShapeEvtHandler(result);
20455 }
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20465 wxPen *result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 result = (wxPen *)(arg1)->GetTopSidePen();
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20482 return resultobj;
20483 fail:
20484 return NULL;
20485 }
20486
20487
20488 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20491 int arg2 ;
20492 double arg3 ;
20493 bool arg4 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 PyObject * obj2 = 0 ;
20497 PyObject * obj3 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20505 arg2 = (int) SWIG_AsInt(obj1);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 arg3 = (double) SWIG_AsDouble(obj2);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 arg4 = (bool) SWIG_AsBool(obj3);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 Py_INCREF(Py_None); resultobj = Py_None;
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20528 double arg2 ;
20529 double arg3 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 PyObject * obj2 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self",(char *) "x",(char *) "y", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 arg2 = (double) SWIG_AsDouble(obj1);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 arg3 = (double) SWIG_AsDouble(obj2);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->PopupMenu(arg2,arg3);
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20561 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 PyObject * obj1 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self",(char *) "shape", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
20569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->SetBottomSide(arg2);
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20590 int arg2 ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "side", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 arg2 = (int) SWIG_AsInt(obj1);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 (arg1)->SetHandleSide(arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 Py_INCREF(Py_None); resultobj = Py_None;
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj;
20618 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20619 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20620 PyObject * obj0 = 0 ;
20621 PyObject * obj1 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self",(char *) "shape", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
20627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 (arg1)->SetLeftSide(arg2);
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 Py_INCREF(Py_None); resultobj = Py_None;
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20648 wxString *arg2 = 0 ;
20649 bool temp2 = False ;
20650 PyObject * obj0 = 0 ;
20651 PyObject * obj1 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "self",(char *) "colour", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
20657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20659 {
20660 arg2 = wxString_in_helper(obj1);
20661 if (arg2 == NULL) SWIG_fail;
20662 temp2 = True;
20663 }
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 Py_INCREF(Py_None); resultobj = Py_None;
20672 {
20673 if (temp2)
20674 delete arg2;
20675 }
20676 return resultobj;
20677 fail:
20678 {
20679 if (temp2)
20680 delete arg2;
20681 }
20682 return NULL;
20683 }
20684
20685
20686 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj;
20688 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20689 wxPen *arg2 = (wxPen *) 0 ;
20690 PyObject * obj0 = 0 ;
20691 PyObject * obj1 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self",(char *) "pen", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20699 {
20700 wxPen* temp;
20701 if (obj1) {
20702 if (obj1 == Py_None) {
20703 temp = NULL;
20704 }
20705 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20706 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20707 return NULL;
20708 }
20709 }
20710 if (temp)
20711 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20712 temp->GetWidth(),
20713 temp->GetStyle());
20714 else
20715 arg2 = NULL;
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 (arg1)->SetLeftSidePen(arg2);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20734 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "shape", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
20742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 (arg1)->SetRightSide(arg2);
20749
20750 wxPyEndAllowThreads(__tstate);
20751 if (PyErr_Occurred()) SWIG_fail;
20752 }
20753 Py_INCREF(Py_None); resultobj = Py_None;
20754 return resultobj;
20755 fail:
20756 return NULL;
20757 }
20758
20759
20760 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20763 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self",(char *) "shape", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
20771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 (arg1)->SetTopSide(arg2);
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 Py_INCREF(Py_None); resultobj = Py_None;
20783 return resultobj;
20784 fail:
20785 return NULL;
20786 }
20787
20788
20789 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20792 wxString *arg2 = 0 ;
20793 bool temp2 = False ;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self",(char *) "colour", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20803 {
20804 arg2 = wxString_in_helper(obj1);
20805 if (arg2 == NULL) SWIG_fail;
20806 temp2 = True;
20807 }
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 (arg1)->SetTopSideColour((wxString const &)*arg2);
20811
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 Py_INCREF(Py_None); resultobj = Py_None;
20816 {
20817 if (temp2)
20818 delete arg2;
20819 }
20820 return resultobj;
20821 fail:
20822 {
20823 if (temp2)
20824 delete arg2;
20825 }
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20833 wxPen *arg2 = (wxPen *) 0 ;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self",(char *) "pen", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20843 {
20844 wxPen* temp;
20845 if (obj1) {
20846 if (obj1 == Py_None) {
20847 temp = NULL;
20848 }
20849 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20850 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20851 return NULL;
20852 }
20853 }
20854 if (temp)
20855 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20856 temp->GetWidth(),
20857 temp->GetStyle());
20858 else
20859 arg2 = NULL;
20860 }
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 (arg1)->SetTopSidePen(arg2);
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 Py_INCREF(Py_None); resultobj = Py_None;
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->base_OnDelete();
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 Py_INCREF(Py_None); resultobj = Py_None;
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20903 wxDC *arg2 = 0 ;
20904 PyObject * obj0 = 0 ;
20905 PyObject * obj1 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self",(char *) "dc", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1)
20915 SWIG_fail;
20916 if (arg2 == NULL) {
20917 PyErr_SetString(PyExc_TypeError,"null reference");
20918 SWIG_fail;
20919 }
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->base_OnDraw(*arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
20935 PyObject *resultobj;
20936 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20937 wxDC *arg2 = 0 ;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self",(char *) "dc", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1)
20949 SWIG_fail;
20950 if (arg2 == NULL) {
20951 PyErr_SetString(PyExc_TypeError,"null reference");
20952 SWIG_fail;
20953 }
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 (arg1)->base_OnDrawContents(*arg2);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 Py_INCREF(Py_None); resultobj = Py_None;
20962 return resultobj;
20963 fail:
20964 return NULL;
20965 }
20966
20967
20968 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
20969 PyObject *resultobj;
20970 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20971 wxDC *arg2 = 0 ;
20972 bool arg3 = (bool) FALSE ;
20973 PyObject * obj0 = 0 ;
20974 PyObject * obj1 = 0 ;
20975 PyObject * obj2 = 0 ;
20976 char *kwnames[] = {
20977 (char *) "self",(char *) "dc",(char *) "erase", NULL
20978 };
20979
20980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
20981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
20984 SWIG_POINTER_EXCEPTION | 0)) == -1)
20985 SWIG_fail;
20986 if (arg2 == NULL) {
20987 PyErr_SetString(PyExc_TypeError,"null reference");
20988 SWIG_fail;
20989 }
20990 if (obj2) {
20991 arg3 = (bool) SWIG_AsBool(obj2);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 (arg1)->base_OnDrawBranches(*arg2,arg3);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 Py_INCREF(Py_None); resultobj = Py_None;
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21011 wxDC *arg2 = 0 ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self",(char *) "dc", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21022 SWIG_POINTER_EXCEPTION | 0)) == -1)
21023 SWIG_fail;
21024 if (arg2 == NULL) {
21025 PyErr_SetString(PyExc_TypeError,"null reference");
21026 SWIG_fail;
21027 }
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 (arg1)->base_OnMoveLinks(*arg2);
21031
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 Py_INCREF(Py_None); resultobj = Py_None;
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21045 wxDC *arg2 = 0 ;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "dc", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21056 SWIG_POINTER_EXCEPTION | 0)) == -1)
21057 SWIG_fail;
21058 if (arg2 == NULL) {
21059 PyErr_SetString(PyExc_TypeError,"null reference");
21060 SWIG_fail;
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->base_OnErase(*arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21079 wxDC *arg2 = 0 ;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "dc", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21090 SWIG_POINTER_EXCEPTION | 0)) == -1)
21091 SWIG_fail;
21092 if (arg2 == NULL) {
21093 PyErr_SetString(PyExc_TypeError,"null reference");
21094 SWIG_fail;
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->base_OnEraseContents(*arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 return resultobj;
21105 fail:
21106 return NULL;
21107 }
21108
21109
21110 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21113 wxDC *arg2 = 0 ;
21114 PyObject * obj0 = 0 ;
21115 PyObject * obj1 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "dc", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1)
21125 SWIG_fail;
21126 if (arg2 == NULL) {
21127 PyErr_SetString(PyExc_TypeError,"null reference");
21128 SWIG_fail;
21129 }
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 (arg1)->base_OnHighlight(*arg2);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 Py_INCREF(Py_None); resultobj = Py_None;
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21147 double arg2 ;
21148 double arg3 ;
21149 int arg4 = (int) 0 ;
21150 int arg5 = (int) 0 ;
21151 PyObject * obj0 = 0 ;
21152 PyObject * obj1 = 0 ;
21153 PyObject * obj2 = 0 ;
21154 PyObject * obj3 = 0 ;
21155 PyObject * obj4 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21163 arg2 = (double) SWIG_AsDouble(obj1);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 arg3 = (double) SWIG_AsDouble(obj2);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 if (obj3) {
21168 arg4 = (int) SWIG_AsInt(obj3);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 if (obj4) {
21172 arg5 = (int) SWIG_AsInt(obj4);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21178
21179 wxPyEndAllowThreads(__tstate);
21180 if (PyErr_Occurred()) SWIG_fail;
21181 }
21182 Py_INCREF(Py_None); resultobj = Py_None;
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21192 double arg2 ;
21193 double arg3 ;
21194 int arg4 = (int) 0 ;
21195 int arg5 = (int) 0 ;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 PyObject * obj2 = 0 ;
21199 PyObject * obj3 = 0 ;
21200 PyObject * obj4 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 arg2 = (double) SWIG_AsDouble(obj1);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 arg3 = (double) SWIG_AsDouble(obj2);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 if (obj3) {
21213 arg4 = (int) SWIG_AsInt(obj3);
21214 if (PyErr_Occurred()) SWIG_fail;
21215 }
21216 if (obj4) {
21217 arg5 = (int) SWIG_AsInt(obj4);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 Py_INCREF(Py_None); resultobj = Py_None;
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21237 double arg2 ;
21238 double arg3 ;
21239 int arg4 = (int) 0 ;
21240 int arg5 = (int) 0 ;
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 PyObject * obj2 = 0 ;
21244 PyObject * obj3 = 0 ;
21245 PyObject * obj4 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21248 };
21249
21250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21253 arg2 = (double) SWIG_AsDouble(obj1);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 arg3 = (double) SWIG_AsDouble(obj2);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 if (obj3) {
21258 arg4 = (int) SWIG_AsInt(obj3);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 if (obj4) {
21262 arg5 = (int) SWIG_AsInt(obj4);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 Py_INCREF(Py_None); resultobj = Py_None;
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21282 double arg2 ;
21283 double arg3 ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 PyObject * obj2 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "x",(char *) "y", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 arg2 = (double) SWIG_AsDouble(obj1);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 arg3 = (double) SWIG_AsDouble(obj2);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->base_OnSize(arg2,arg3);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 Py_INCREF(Py_None); resultobj = Py_None;
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21315 wxDC *arg2 = 0 ;
21316 double arg3 ;
21317 double arg4 ;
21318 double arg5 ;
21319 double arg6 ;
21320 bool arg7 = (bool) True ;
21321 bool result;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 PyObject * obj2 = 0 ;
21325 PyObject * obj3 = 0 ;
21326 PyObject * obj4 = 0 ;
21327 PyObject * obj5 = 0 ;
21328 PyObject * obj6 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21337 SWIG_POINTER_EXCEPTION | 0)) == -1)
21338 SWIG_fail;
21339 if (arg2 == NULL) {
21340 PyErr_SetString(PyExc_TypeError,"null reference");
21341 SWIG_fail;
21342 }
21343 arg3 = (double) SWIG_AsDouble(obj2);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 arg4 = (double) SWIG_AsDouble(obj3);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 arg5 = (double) SWIG_AsDouble(obj4);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 arg6 = (double) SWIG_AsDouble(obj5);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 if (obj6) {
21352 arg7 = (bool) SWIG_AsBool(obj6);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21363 return resultobj;
21364 fail:
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21372 wxDC *arg2 = 0 ;
21373 double arg3 ;
21374 double arg4 ;
21375 double arg5 ;
21376 double arg6 ;
21377 bool arg7 = (bool) True ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 PyObject * obj2 = 0 ;
21381 PyObject * obj3 = 0 ;
21382 PyObject * obj4 = 0 ;
21383 PyObject * obj5 = 0 ;
21384 PyObject * obj6 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1)
21394 SWIG_fail;
21395 if (arg2 == NULL) {
21396 PyErr_SetString(PyExc_TypeError,"null reference");
21397 SWIG_fail;
21398 }
21399 arg3 = (double) SWIG_AsDouble(obj2);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 arg4 = (double) SWIG_AsDouble(obj3);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 arg5 = (double) SWIG_AsDouble(obj4);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 arg6 = (double) SWIG_AsDouble(obj5);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 if (obj6) {
21408 arg7 = (bool) SWIG_AsBool(obj6);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21414
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 Py_INCREF(Py_None); resultobj = Py_None;
21419 return resultobj;
21420 fail:
21421 return NULL;
21422 }
21423
21424
21425 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj;
21427 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21428 bool arg2 ;
21429 double arg3 ;
21430 double arg4 ;
21431 int arg5 = (int) 0 ;
21432 int arg6 = (int) 0 ;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
21435 PyObject * obj2 = 0 ;
21436 PyObject * obj3 = 0 ;
21437 PyObject * obj4 = 0 ;
21438 PyObject * obj5 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 arg2 = (bool) SWIG_AsBool(obj1);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 arg3 = (double) SWIG_AsDouble(obj2);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 arg4 = (double) SWIG_AsDouble(obj3);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 if (obj4) {
21453 arg5 = (int) SWIG_AsInt(obj4);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 if (obj5) {
21457 arg6 = (int) SWIG_AsInt(obj5);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 Py_INCREF(Py_None); resultobj = Py_None;
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21477 double arg2 ;
21478 double arg3 ;
21479 int arg4 = (int) 0 ;
21480 int arg5 = (int) 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 PyObject * obj2 = 0 ;
21484 PyObject * obj3 = 0 ;
21485 PyObject * obj4 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 arg2 = (double) SWIG_AsDouble(obj1);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 arg3 = (double) SWIG_AsDouble(obj2);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 if (obj3) {
21498 arg4 = (int) SWIG_AsInt(obj3);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 if (obj4) {
21502 arg5 = (int) SWIG_AsInt(obj4);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 Py_INCREF(Py_None); resultobj = Py_None;
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21522 double arg2 ;
21523 double arg3 ;
21524 int arg4 = (int) 0 ;
21525 int arg5 = (int) 0 ;
21526 PyObject * obj0 = 0 ;
21527 PyObject * obj1 = 0 ;
21528 PyObject * obj2 = 0 ;
21529 PyObject * obj3 = 0 ;
21530 PyObject * obj4 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21538 arg2 = (double) SWIG_AsDouble(obj1);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 arg3 = (double) SWIG_AsDouble(obj2);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 if (obj3) {
21543 arg4 = (int) SWIG_AsInt(obj3);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 if (obj4) {
21547 arg5 = (int) SWIG_AsInt(obj4);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 PyThreadState* __tstate = wxPyBeginAllowThreads();
21552 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21553
21554 wxPyEndAllowThreads(__tstate);
21555 if (PyErr_Occurred()) SWIG_fail;
21556 }
21557 Py_INCREF(Py_None); resultobj = Py_None;
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21567 bool arg2 ;
21568 double arg3 ;
21569 double arg4 ;
21570 int arg5 = (int) 0 ;
21571 int arg6 = (int) 0 ;
21572 PyObject * obj0 = 0 ;
21573 PyObject * obj1 = 0 ;
21574 PyObject * obj2 = 0 ;
21575 PyObject * obj3 = 0 ;
21576 PyObject * obj4 = 0 ;
21577 PyObject * obj5 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21585 arg2 = (bool) SWIG_AsBool(obj1);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 arg3 = (double) SWIG_AsDouble(obj2);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 arg4 = (double) SWIG_AsDouble(obj3);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 if (obj4) {
21592 arg5 = (int) SWIG_AsInt(obj4);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 if (obj5) {
21596 arg6 = (int) SWIG_AsInt(obj5);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 Py_INCREF(Py_None); resultobj = Py_None;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21616 double arg2 ;
21617 double arg3 ;
21618 int arg4 = (int) 0 ;
21619 int arg5 = (int) 0 ;
21620 PyObject * obj0 = 0 ;
21621 PyObject * obj1 = 0 ;
21622 PyObject * obj2 = 0 ;
21623 PyObject * obj3 = 0 ;
21624 PyObject * obj4 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21632 arg2 = (double) SWIG_AsDouble(obj1);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 arg3 = (double) SWIG_AsDouble(obj2);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 if (obj3) {
21637 arg4 = (int) SWIG_AsInt(obj3);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 if (obj4) {
21641 arg5 = (int) SWIG_AsInt(obj4);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21661 double arg2 ;
21662 double arg3 ;
21663 int arg4 = (int) 0 ;
21664 int arg5 = (int) 0 ;
21665 PyObject * obj0 = 0 ;
21666 PyObject * obj1 = 0 ;
21667 PyObject * obj2 = 0 ;
21668 PyObject * obj3 = 0 ;
21669 PyObject * obj4 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 arg2 = (double) SWIG_AsDouble(obj1);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 arg3 = (double) SWIG_AsDouble(obj2);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 if (obj3) {
21682 arg4 = (int) SWIG_AsInt(obj3);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 if (obj4) {
21686 arg5 = (int) SWIG_AsInt(obj4);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 PyThreadState* __tstate = wxPyBeginAllowThreads();
21691 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21692
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 Py_INCREF(Py_None); resultobj = Py_None;
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21706 wxDC *arg2 = 0 ;
21707 double arg3 ;
21708 double arg4 ;
21709 double arg5 ;
21710 double arg6 ;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 PyObject * obj2 = 0 ;
21714 PyObject * obj3 = 0 ;
21715 PyObject * obj4 = 0 ;
21716 PyObject * obj5 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1)
21726 SWIG_fail;
21727 if (arg2 == NULL) {
21728 PyErr_SetString(PyExc_TypeError,"null reference");
21729 SWIG_fail;
21730 }
21731 arg3 = (double) SWIG_AsDouble(obj2);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 arg4 = (double) SWIG_AsDouble(obj3);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 arg5 = (double) SWIG_AsDouble(obj4);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 arg6 = (double) SWIG_AsDouble(obj5);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 Py_INCREF(Py_None); resultobj = Py_None;
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21756 wxDC *arg2 = 0 ;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self",(char *) "dc", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21767 SWIG_POINTER_EXCEPTION | 0)) == -1)
21768 SWIG_fail;
21769 if (arg2 == NULL) {
21770 PyErr_SetString(PyExc_TypeError,"null reference");
21771 SWIG_fail;
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->base_OnDrawControlPoints(*arg2);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 Py_INCREF(Py_None); resultobj = Py_None;
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21790 wxDC *arg2 = 0 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "dc", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1)
21802 SWIG_fail;
21803 if (arg2 == NULL) {
21804 PyErr_SetString(PyExc_TypeError,"null reference");
21805 SWIG_fail;
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->base_OnEraseControlPoints(*arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21824 wxDC *arg2 = 0 ;
21825 bool arg3 = (bool) True ;
21826 PyObject * obj0 = 0 ;
21827 PyObject * obj1 = 0 ;
21828 PyObject * obj2 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
21834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21837 SWIG_POINTER_EXCEPTION | 0)) == -1)
21838 SWIG_fail;
21839 if (arg2 == NULL) {
21840 PyErr_SetString(PyExc_TypeError,"null reference");
21841 SWIG_fail;
21842 }
21843 if (obj2) {
21844 arg3 = (bool) SWIG_AsBool(obj2);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 {
21848 PyThreadState* __tstate = wxPyBeginAllowThreads();
21849 (arg1)->base_OnMoveLink(*arg2,arg3);
21850
21851 wxPyEndAllowThreads(__tstate);
21852 if (PyErr_Occurred()) SWIG_fail;
21853 }
21854 Py_INCREF(Py_None); resultobj = Py_None;
21855 return resultobj;
21856 fail:
21857 return NULL;
21858 }
21859
21860
21861 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21862 PyObject *resultobj;
21863 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21864 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21865 bool arg3 ;
21866 double arg4 ;
21867 double arg5 ;
21868 int arg6 = (int) 0 ;
21869 int arg7 = (int) 0 ;
21870 PyObject * obj0 = 0 ;
21871 PyObject * obj1 = 0 ;
21872 PyObject * obj2 = 0 ;
21873 PyObject * obj3 = 0 ;
21874 PyObject * obj4 = 0 ;
21875 PyObject * obj5 = 0 ;
21876 PyObject * obj6 = 0 ;
21877 char *kwnames[] = {
21878 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21879 };
21880
21881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 arg3 = (bool) SWIG_AsBool(obj2);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 arg4 = (double) SWIG_AsDouble(obj3);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 arg5 = (double) SWIG_AsDouble(obj4);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 if (obj5) {
21893 arg6 = (int) SWIG_AsInt(obj5);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 if (obj6) {
21897 arg7 = (int) SWIG_AsInt(obj6);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 Py_INCREF(Py_None); resultobj = Py_None;
21908 return resultobj;
21909 fail:
21910 return NULL;
21911 }
21912
21913
21914 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21917 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21918 double arg3 ;
21919 double arg4 ;
21920 int arg5 = (int) 0 ;
21921 int arg6 = (int) 0 ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 PyObject * obj2 = 0 ;
21925 PyObject * obj3 = 0 ;
21926 PyObject * obj4 = 0 ;
21927 PyObject * obj5 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21937 arg3 = (double) SWIG_AsDouble(obj2);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 arg4 = (double) SWIG_AsDouble(obj3);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 if (obj4) {
21942 arg5 = (int) SWIG_AsInt(obj4);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 if (obj5) {
21946 arg6 = (int) SWIG_AsInt(obj5);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 Py_INCREF(Py_None); resultobj = Py_None;
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21966 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21967 double arg3 ;
21968 double arg4 ;
21969 int arg5 = (int) 0 ;
21970 int arg6 = (int) 0 ;
21971 PyObject * obj0 = 0 ;
21972 PyObject * obj1 = 0 ;
21973 PyObject * obj2 = 0 ;
21974 PyObject * obj3 = 0 ;
21975 PyObject * obj4 = 0 ;
21976 PyObject * obj5 = 0 ;
21977 char *kwnames[] = {
21978 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21979 };
21980
21981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
21985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21986 arg3 = (double) SWIG_AsDouble(obj2);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 arg4 = (double) SWIG_AsDouble(obj3);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 if (obj4) {
21991 arg5 = (int) SWIG_AsInt(obj4);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 if (obj5) {
21995 arg6 = (int) SWIG_AsInt(obj5);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 Py_INCREF(Py_None); resultobj = Py_None;
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22015 double arg2 ;
22016 double arg3 ;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 PyObject * obj2 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self",(char *) "w",(char *) "h", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22027 arg2 = (double) SWIG_AsDouble(obj1);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 arg3 = (double) SWIG_AsDouble(obj2);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 (arg1)->base_OnBeginSize(arg2,arg3);
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 Py_INCREF(Py_None); resultobj = Py_None;
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22048 double arg2 ;
22049 double arg3 ;
22050 PyObject * obj0 = 0 ;
22051 PyObject * obj1 = 0 ;
22052 PyObject * obj2 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "w",(char *) "h", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22060 arg2 = (double) SWIG_AsDouble(obj1);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 arg3 = (double) SWIG_AsDouble(obj2);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->base_OnEndSize(arg2,arg3);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22079 PyObject *obj;
22080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22081 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22082 Py_INCREF(obj);
22083 return Py_BuildValue((char *)"");
22084 }
22085 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22086 PyObject *resultobj;
22087 double arg1 = (double) 0.0 ;
22088 double arg2 = (double) 0.0 ;
22089 wxPyEllipseShape *result;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "width",(char *) "height", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22097 if (obj0) {
22098 arg1 = (double) SWIG_AsDouble(obj0);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 if (obj1) {
22102 arg2 = (double) SWIG_AsDouble(obj1);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22122 PyObject *arg2 = (PyObject *) 0 ;
22123 PyObject *arg3 = (PyObject *) 0 ;
22124 PyObject * obj0 = 0 ;
22125 PyObject * obj1 = 0 ;
22126 PyObject * obj2 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self",(char *) "self",(char *) "_class", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22134 arg2 = obj1;
22135 arg3 = obj2;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 (arg1)->_setCallbackInfo(arg2,arg3);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 Py_INCREF(Py_None); resultobj = Py_None;
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22153 wxDC *arg2 = 0 ;
22154 PyObject * obj0 = 0 ;
22155 PyObject * obj1 = 0 ;
22156 char *kwnames[] = {
22157 (char *) "self",(char *) "dc", NULL
22158 };
22159
22160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22164 SWIG_POINTER_EXCEPTION | 0)) == -1)
22165 SWIG_fail;
22166 if (arg2 == NULL) {
22167 PyErr_SetString(PyExc_TypeError,"null reference");
22168 SWIG_fail;
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 (arg1)->base_OnDraw(*arg2);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 Py_INCREF(Py_None); resultobj = Py_None;
22178 return resultobj;
22179 fail:
22180 return NULL;
22181 }
22182
22183
22184 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22185 PyObject *resultobj;
22186 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22187 wxDC *arg2 = 0 ;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self",(char *) "dc", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22198 SWIG_POINTER_EXCEPTION | 0)) == -1)
22199 SWIG_fail;
22200 if (arg2 == NULL) {
22201 PyErr_SetString(PyExc_TypeError,"null reference");
22202 SWIG_fail;
22203 }
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 (arg1)->base_OnDrawContents(*arg2);
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 Py_INCREF(Py_None); resultobj = Py_None;
22212 return resultobj;
22213 fail:
22214 return NULL;
22215 }
22216
22217
22218 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22221 wxDC *arg2 = 0 ;
22222 bool arg3 = (bool) FALSE ;
22223 PyObject * obj0 = 0 ;
22224 PyObject * obj1 = 0 ;
22225 PyObject * obj2 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "dc",(char *) "erase", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1)
22235 SWIG_fail;
22236 if (arg2 == NULL) {
22237 PyErr_SetString(PyExc_TypeError,"null reference");
22238 SWIG_fail;
22239 }
22240 if (obj2) {
22241 arg3 = (bool) SWIG_AsBool(obj2);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 (arg1)->base_OnDrawBranches(*arg2,arg3);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 Py_INCREF(Py_None); resultobj = Py_None;
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22261 wxDC *arg2 = 0 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "dc", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22272 SWIG_POINTER_EXCEPTION | 0)) == -1)
22273 SWIG_fail;
22274 if (arg2 == NULL) {
22275 PyErr_SetString(PyExc_TypeError,"null reference");
22276 SWIG_fail;
22277 }
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 (arg1)->base_OnMoveLinks(*arg2);
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 Py_INCREF(Py_None); resultobj = Py_None;
22286 return resultobj;
22287 fail:
22288 return NULL;
22289 }
22290
22291
22292 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj;
22294 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22295 wxDC *arg2 = 0 ;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self",(char *) "dc", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22306 SWIG_POINTER_EXCEPTION | 0)) == -1)
22307 SWIG_fail;
22308 if (arg2 == NULL) {
22309 PyErr_SetString(PyExc_TypeError,"null reference");
22310 SWIG_fail;
22311 }
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->base_OnErase(*arg2);
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 Py_INCREF(Py_None); resultobj = Py_None;
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22329 wxDC *arg2 = 0 ;
22330 PyObject * obj0 = 0 ;
22331 PyObject * obj1 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "dc", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22340 SWIG_POINTER_EXCEPTION | 0)) == -1)
22341 SWIG_fail;
22342 if (arg2 == NULL) {
22343 PyErr_SetString(PyExc_TypeError,"null reference");
22344 SWIG_fail;
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 (arg1)->base_OnEraseContents(*arg2);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 Py_INCREF(Py_None); resultobj = Py_None;
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22363 wxDC *arg2 = 0 ;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self",(char *) "dc", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22374 SWIG_POINTER_EXCEPTION | 0)) == -1)
22375 SWIG_fail;
22376 if (arg2 == NULL) {
22377 PyErr_SetString(PyExc_TypeError,"null reference");
22378 SWIG_fail;
22379 }
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 (arg1)->base_OnHighlight(*arg2);
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 Py_INCREF(Py_None); resultobj = Py_None;
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22397 double arg2 ;
22398 double arg3 ;
22399 int arg4 = (int) 0 ;
22400 int arg5 = (int) 0 ;
22401 PyObject * obj0 = 0 ;
22402 PyObject * obj1 = 0 ;
22403 PyObject * obj2 = 0 ;
22404 PyObject * obj3 = 0 ;
22405 PyObject * obj4 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22413 arg2 = (double) SWIG_AsDouble(obj1);
22414 if (PyErr_Occurred()) SWIG_fail;
22415 arg3 = (double) SWIG_AsDouble(obj2);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 if (obj3) {
22418 arg4 = (int) SWIG_AsInt(obj3);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 if (obj4) {
22422 arg5 = (int) SWIG_AsInt(obj4);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22442 double arg2 ;
22443 double arg3 ;
22444 int arg4 = (int) 0 ;
22445 int arg5 = (int) 0 ;
22446 PyObject * obj0 = 0 ;
22447 PyObject * obj1 = 0 ;
22448 PyObject * obj2 = 0 ;
22449 PyObject * obj3 = 0 ;
22450 PyObject * obj4 = 0 ;
22451 char *kwnames[] = {
22452 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22453 };
22454
22455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22458 arg2 = (double) SWIG_AsDouble(obj1);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 arg3 = (double) SWIG_AsDouble(obj2);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 if (obj3) {
22463 arg4 = (int) SWIG_AsInt(obj3);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 if (obj4) {
22467 arg5 = (int) SWIG_AsInt(obj4);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 Py_INCREF(Py_None); resultobj = Py_None;
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22487 double arg2 ;
22488 double arg3 ;
22489 int arg4 = (int) 0 ;
22490 int arg5 = (int) 0 ;
22491 PyObject * obj0 = 0 ;
22492 PyObject * obj1 = 0 ;
22493 PyObject * obj2 = 0 ;
22494 PyObject * obj3 = 0 ;
22495 PyObject * obj4 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22503 arg2 = (double) SWIG_AsDouble(obj1);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 arg3 = (double) SWIG_AsDouble(obj2);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 if (obj3) {
22508 arg4 = (int) SWIG_AsInt(obj3);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 if (obj4) {
22512 arg5 = (int) SWIG_AsInt(obj4);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 Py_INCREF(Py_None); resultobj = Py_None;
22523 return resultobj;
22524 fail:
22525 return NULL;
22526 }
22527
22528
22529 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22530 PyObject *resultobj;
22531 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22532 double arg2 ;
22533 double arg3 ;
22534 PyObject * obj0 = 0 ;
22535 PyObject * obj1 = 0 ;
22536 PyObject * obj2 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self",(char *) "x",(char *) "y", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22544 arg2 = (double) SWIG_AsDouble(obj1);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 arg3 = (double) SWIG_AsDouble(obj2);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 (arg1)->base_OnSize(arg2,arg3);
22551
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 Py_INCREF(Py_None); resultobj = Py_None;
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22565 wxDC *arg2 = 0 ;
22566 double arg3 ;
22567 double arg4 ;
22568 double arg5 ;
22569 double arg6 ;
22570 bool arg7 = (bool) True ;
22571 bool result;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 PyObject * obj2 = 0 ;
22575 PyObject * obj3 = 0 ;
22576 PyObject * obj4 = 0 ;
22577 PyObject * obj5 = 0 ;
22578 PyObject * obj6 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1)
22588 SWIG_fail;
22589 if (arg2 == NULL) {
22590 PyErr_SetString(PyExc_TypeError,"null reference");
22591 SWIG_fail;
22592 }
22593 arg3 = (double) SWIG_AsDouble(obj2);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 arg4 = (double) SWIG_AsDouble(obj3);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 arg5 = (double) SWIG_AsDouble(obj4);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 arg6 = (double) SWIG_AsDouble(obj5);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 if (obj6) {
22602 arg7 = (bool) SWIG_AsBool(obj6);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22613 return resultobj;
22614 fail:
22615 return NULL;
22616 }
22617
22618
22619 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22620 PyObject *resultobj;
22621 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22622 wxDC *arg2 = 0 ;
22623 double arg3 ;
22624 double arg4 ;
22625 double arg5 ;
22626 double arg6 ;
22627 bool arg7 = (bool) True ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 PyObject * obj3 = 0 ;
22632 PyObject * obj4 = 0 ;
22633 PyObject * obj5 = 0 ;
22634 PyObject * obj6 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1)
22644 SWIG_fail;
22645 if (arg2 == NULL) {
22646 PyErr_SetString(PyExc_TypeError,"null reference");
22647 SWIG_fail;
22648 }
22649 arg3 = (double) SWIG_AsDouble(obj2);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 arg4 = (double) SWIG_AsDouble(obj3);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 arg5 = (double) SWIG_AsDouble(obj4);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 arg6 = (double) SWIG_AsDouble(obj5);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 if (obj6) {
22658 arg7 = (bool) SWIG_AsBool(obj6);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 return resultobj;
22670 fail:
22671 return NULL;
22672 }
22673
22674
22675 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22676 PyObject *resultobj;
22677 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22678 bool arg2 ;
22679 double arg3 ;
22680 double arg4 ;
22681 int arg5 = (int) 0 ;
22682 int arg6 = (int) 0 ;
22683 PyObject * obj0 = 0 ;
22684 PyObject * obj1 = 0 ;
22685 PyObject * obj2 = 0 ;
22686 PyObject * obj3 = 0 ;
22687 PyObject * obj4 = 0 ;
22688 PyObject * obj5 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22696 arg2 = (bool) SWIG_AsBool(obj1);
22697 if (PyErr_Occurred()) SWIG_fail;
22698 arg3 = (double) SWIG_AsDouble(obj2);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 arg4 = (double) SWIG_AsDouble(obj3);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 if (obj4) {
22703 arg5 = (int) SWIG_AsInt(obj4);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 if (obj5) {
22707 arg6 = (int) SWIG_AsInt(obj5);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 Py_INCREF(Py_None); resultobj = Py_None;
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22727 double arg2 ;
22728 double arg3 ;
22729 int arg4 = (int) 0 ;
22730 int arg5 = (int) 0 ;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733 PyObject * obj2 = 0 ;
22734 PyObject * obj3 = 0 ;
22735 PyObject * obj4 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 arg2 = (double) SWIG_AsDouble(obj1);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 arg3 = (double) SWIG_AsDouble(obj2);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 if (obj3) {
22748 arg4 = (int) SWIG_AsInt(obj3);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 if (obj4) {
22752 arg5 = (int) SWIG_AsInt(obj4);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 Py_INCREF(Py_None); resultobj = Py_None;
22763 return resultobj;
22764 fail:
22765 return NULL;
22766 }
22767
22768
22769 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22770 PyObject *resultobj;
22771 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22772 double arg2 ;
22773 double arg3 ;
22774 int arg4 = (int) 0 ;
22775 int arg5 = (int) 0 ;
22776 PyObject * obj0 = 0 ;
22777 PyObject * obj1 = 0 ;
22778 PyObject * obj2 = 0 ;
22779 PyObject * obj3 = 0 ;
22780 PyObject * obj4 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22788 arg2 = (double) SWIG_AsDouble(obj1);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 arg3 = (double) SWIG_AsDouble(obj2);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 if (obj3) {
22793 arg4 = (int) SWIG_AsInt(obj3);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
22796 if (obj4) {
22797 arg5 = (int) SWIG_AsInt(obj4);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22817 bool arg2 ;
22818 double arg3 ;
22819 double arg4 ;
22820 int arg5 = (int) 0 ;
22821 int arg6 = (int) 0 ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj2 = 0 ;
22825 PyObject * obj3 = 0 ;
22826 PyObject * obj4 = 0 ;
22827 PyObject * obj5 = 0 ;
22828 char *kwnames[] = {
22829 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22830 };
22831
22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22835 arg2 = (bool) SWIG_AsBool(obj1);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 arg3 = (double) SWIG_AsDouble(obj2);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 arg4 = (double) SWIG_AsDouble(obj3);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 if (obj4) {
22842 arg5 = (int) SWIG_AsInt(obj4);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 if (obj5) {
22846 arg6 = (int) SWIG_AsInt(obj5);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 Py_INCREF(Py_None); resultobj = Py_None;
22857 return resultobj;
22858 fail:
22859 return NULL;
22860 }
22861
22862
22863 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22864 PyObject *resultobj;
22865 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22866 double arg2 ;
22867 double arg3 ;
22868 int arg4 = (int) 0 ;
22869 int arg5 = (int) 0 ;
22870 PyObject * obj0 = 0 ;
22871 PyObject * obj1 = 0 ;
22872 PyObject * obj2 = 0 ;
22873 PyObject * obj3 = 0 ;
22874 PyObject * obj4 = 0 ;
22875 char *kwnames[] = {
22876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22877 };
22878
22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22882 arg2 = (double) SWIG_AsDouble(obj1);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 arg3 = (double) SWIG_AsDouble(obj2);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 if (obj3) {
22887 arg4 = (int) SWIG_AsInt(obj3);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 if (obj4) {
22891 arg5 = (int) SWIG_AsInt(obj4);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 Py_INCREF(Py_None); resultobj = Py_None;
22902 return resultobj;
22903 fail:
22904 return NULL;
22905 }
22906
22907
22908 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22911 double arg2 ;
22912 double arg3 ;
22913 int arg4 = (int) 0 ;
22914 int arg5 = (int) 0 ;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 PyObject * obj2 = 0 ;
22918 PyObject * obj3 = 0 ;
22919 PyObject * obj4 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22927 arg2 = (double) SWIG_AsDouble(obj1);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 arg3 = (double) SWIG_AsDouble(obj2);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 if (obj3) {
22932 arg4 = (int) SWIG_AsInt(obj3);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 if (obj4) {
22936 arg5 = (int) SWIG_AsInt(obj4);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 Py_INCREF(Py_None); resultobj = Py_None;
22947 return resultobj;
22948 fail:
22949 return NULL;
22950 }
22951
22952
22953 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22956 wxDC *arg2 = 0 ;
22957 double arg3 ;
22958 double arg4 ;
22959 double arg5 ;
22960 double arg6 ;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
22963 PyObject * obj2 = 0 ;
22964 PyObject * obj3 = 0 ;
22965 PyObject * obj4 = 0 ;
22966 PyObject * obj5 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22975 SWIG_POINTER_EXCEPTION | 0)) == -1)
22976 SWIG_fail;
22977 if (arg2 == NULL) {
22978 PyErr_SetString(PyExc_TypeError,"null reference");
22979 SWIG_fail;
22980 }
22981 arg3 = (double) SWIG_AsDouble(obj2);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 arg4 = (double) SWIG_AsDouble(obj3);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 arg5 = (double) SWIG_AsDouble(obj4);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 arg6 = (double) SWIG_AsDouble(obj5);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 {
22990 PyThreadState* __tstate = wxPyBeginAllowThreads();
22991 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22992
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 Py_INCREF(Py_None); resultobj = Py_None;
22997 return resultobj;
22998 fail:
22999 return NULL;
23000 }
23001
23002
23003 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj;
23005 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23006 wxDC *arg2 = 0 ;
23007 PyObject * obj0 = 0 ;
23008 PyObject * obj1 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self",(char *) "dc", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23017 SWIG_POINTER_EXCEPTION | 0)) == -1)
23018 SWIG_fail;
23019 if (arg2 == NULL) {
23020 PyErr_SetString(PyExc_TypeError,"null reference");
23021 SWIG_fail;
23022 }
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 (arg1)->base_OnDrawControlPoints(*arg2);
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 Py_INCREF(Py_None); resultobj = Py_None;
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23040 wxDC *arg2 = 0 ;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "dc", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23051 SWIG_POINTER_EXCEPTION | 0)) == -1)
23052 SWIG_fail;
23053 if (arg2 == NULL) {
23054 PyErr_SetString(PyExc_TypeError,"null reference");
23055 SWIG_fail;
23056 }
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 (arg1)->base_OnEraseControlPoints(*arg2);
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 Py_INCREF(Py_None); resultobj = Py_None;
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23074 wxDC *arg2 = 0 ;
23075 bool arg3 = (bool) True ;
23076 PyObject * obj0 = 0 ;
23077 PyObject * obj1 = 0 ;
23078 PyObject * obj2 = 0 ;
23079 char *kwnames[] = {
23080 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23081 };
23082
23083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23087 SWIG_POINTER_EXCEPTION | 0)) == -1)
23088 SWIG_fail;
23089 if (arg2 == NULL) {
23090 PyErr_SetString(PyExc_TypeError,"null reference");
23091 SWIG_fail;
23092 }
23093 if (obj2) {
23094 arg3 = (bool) SWIG_AsBool(obj2);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 (arg1)->base_OnMoveLink(*arg2,arg3);
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
23104 Py_INCREF(Py_None); resultobj = Py_None;
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23112 PyObject *resultobj;
23113 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23114 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23115 bool arg3 ;
23116 double arg4 ;
23117 double arg5 ;
23118 int arg6 = (int) 0 ;
23119 int arg7 = (int) 0 ;
23120 PyObject * obj0 = 0 ;
23121 PyObject * obj1 = 0 ;
23122 PyObject * obj2 = 0 ;
23123 PyObject * obj3 = 0 ;
23124 PyObject * obj4 = 0 ;
23125 PyObject * obj5 = 0 ;
23126 PyObject * obj6 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23136 arg3 = (bool) SWIG_AsBool(obj2);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 arg4 = (double) SWIG_AsDouble(obj3);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 arg5 = (double) SWIG_AsDouble(obj4);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 if (obj5) {
23143 arg6 = (int) SWIG_AsInt(obj5);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 if (obj6) {
23147 arg7 = (int) SWIG_AsInt(obj6);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23167 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23168 double arg3 ;
23169 double arg4 ;
23170 int arg5 = (int) 0 ;
23171 int arg6 = (int) 0 ;
23172 PyObject * obj0 = 0 ;
23173 PyObject * obj1 = 0 ;
23174 PyObject * obj2 = 0 ;
23175 PyObject * obj3 = 0 ;
23176 PyObject * obj4 = 0 ;
23177 PyObject * obj5 = 0 ;
23178 char *kwnames[] = {
23179 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23180 };
23181
23182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23187 arg3 = (double) SWIG_AsDouble(obj2);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 arg4 = (double) SWIG_AsDouble(obj3);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 if (obj4) {
23192 arg5 = (int) SWIG_AsInt(obj4);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 if (obj5) {
23196 arg6 = (int) SWIG_AsInt(obj5);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 Py_INCREF(Py_None); resultobj = Py_None;
23207 return resultobj;
23208 fail:
23209 return NULL;
23210 }
23211
23212
23213 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23216 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23217 double arg3 ;
23218 double arg4 ;
23219 int arg5 = (int) 0 ;
23220 int arg6 = (int) 0 ;
23221 PyObject * obj0 = 0 ;
23222 PyObject * obj1 = 0 ;
23223 PyObject * obj2 = 0 ;
23224 PyObject * obj3 = 0 ;
23225 PyObject * obj4 = 0 ;
23226 PyObject * obj5 = 0 ;
23227 char *kwnames[] = {
23228 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23229 };
23230
23231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 arg3 = (double) SWIG_AsDouble(obj2);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 arg4 = (double) SWIG_AsDouble(obj3);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 if (obj4) {
23241 arg5 = (int) SWIG_AsInt(obj4);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 if (obj5) {
23245 arg6 = (int) SWIG_AsInt(obj5);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23251
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 Py_INCREF(Py_None); resultobj = Py_None;
23256 return resultobj;
23257 fail:
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23265 double arg2 ;
23266 double arg3 ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 PyObject * obj2 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "w",(char *) "h", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 arg2 = (double) SWIG_AsDouble(obj1);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 arg3 = (double) SWIG_AsDouble(obj2);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 (arg1)->base_OnBeginSize(arg2,arg3);
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 Py_INCREF(Py_None); resultobj = Py_None;
23289 return resultobj;
23290 fail:
23291 return NULL;
23292 }
23293
23294
23295 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23298 double arg2 ;
23299 double arg3 ;
23300 PyObject * obj0 = 0 ;
23301 PyObject * obj1 = 0 ;
23302 PyObject * obj2 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "w",(char *) "h", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 arg2 = (double) SWIG_AsDouble(obj1);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 arg3 = (double) SWIG_AsDouble(obj2);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->base_OnEndSize(arg2,arg3);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23329 PyObject *obj;
23330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23331 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23332 Py_INCREF(obj);
23333 return Py_BuildValue((char *)"");
23334 }
23335 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 double arg1 = (double) 0.0 ;
23338 wxPyCircleShape *result;
23339 PyObject * obj0 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "width", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23345 if (obj0) {
23346 arg1 = (double) SWIG_AsDouble(obj0);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23366 PyObject *arg2 = (PyObject *) 0 ;
23367 PyObject *arg3 = (PyObject *) 0 ;
23368 PyObject * obj0 = 0 ;
23369 PyObject * obj1 = 0 ;
23370 PyObject * obj2 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self",(char *) "self",(char *) "_class", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23378 arg2 = obj1;
23379 arg3 = obj2;
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->_setCallbackInfo(arg2,arg3);
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 Py_INCREF(Py_None); resultobj = Py_None;
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj;
23396 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23397 wxDC *arg2 = 0 ;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "dc", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1)
23409 SWIG_fail;
23410 if (arg2 == NULL) {
23411 PyErr_SetString(PyExc_TypeError,"null reference");
23412 SWIG_fail;
23413 }
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 (arg1)->base_OnDraw(*arg2);
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 Py_INCREF(Py_None); resultobj = Py_None;
23422 return resultobj;
23423 fail:
23424 return NULL;
23425 }
23426
23427
23428 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23429 PyObject *resultobj;
23430 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23431 wxDC *arg2 = 0 ;
23432 PyObject * obj0 = 0 ;
23433 PyObject * obj1 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self",(char *) "dc", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23442 SWIG_POINTER_EXCEPTION | 0)) == -1)
23443 SWIG_fail;
23444 if (arg2 == NULL) {
23445 PyErr_SetString(PyExc_TypeError,"null reference");
23446 SWIG_fail;
23447 }
23448 {
23449 PyThreadState* __tstate = wxPyBeginAllowThreads();
23450 (arg1)->base_OnDrawContents(*arg2);
23451
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
23455 Py_INCREF(Py_None); resultobj = Py_None;
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23465 wxDC *arg2 = 0 ;
23466 bool arg3 = (bool) FALSE ;
23467 PyObject * obj0 = 0 ;
23468 PyObject * obj1 = 0 ;
23469 PyObject * obj2 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self",(char *) "dc",(char *) "erase", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1)
23479 SWIG_fail;
23480 if (arg2 == NULL) {
23481 PyErr_SetString(PyExc_TypeError,"null reference");
23482 SWIG_fail;
23483 }
23484 if (obj2) {
23485 arg3 = (bool) SWIG_AsBool(obj2);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 (arg1)->base_OnDrawBranches(*arg2,arg3);
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 Py_INCREF(Py_None); resultobj = Py_None;
23496 return resultobj;
23497 fail:
23498 return NULL;
23499 }
23500
23501
23502 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23505 wxDC *arg2 = 0 ;
23506 PyObject * obj0 = 0 ;
23507 PyObject * obj1 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self",(char *) "dc", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1)
23517 SWIG_fail;
23518 if (arg2 == NULL) {
23519 PyErr_SetString(PyExc_TypeError,"null reference");
23520 SWIG_fail;
23521 }
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 (arg1)->base_OnMoveLinks(*arg2);
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 Py_INCREF(Py_None); resultobj = Py_None;
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23539 wxDC *arg2 = 0 ;
23540 PyObject * obj0 = 0 ;
23541 PyObject * obj1 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self",(char *) "dc", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1)
23551 SWIG_fail;
23552 if (arg2 == NULL) {
23553 PyErr_SetString(PyExc_TypeError,"null reference");
23554 SWIG_fail;
23555 }
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 (arg1)->base_OnErase(*arg2);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 Py_INCREF(Py_None); resultobj = Py_None;
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23573 wxDC *arg2 = 0 ;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self",(char *) "dc", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1)
23585 SWIG_fail;
23586 if (arg2 == NULL) {
23587 PyErr_SetString(PyExc_TypeError,"null reference");
23588 SWIG_fail;
23589 }
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->base_OnEraseContents(*arg2);
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 return resultobj;
23599 fail:
23600 return NULL;
23601 }
23602
23603
23604 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23605 PyObject *resultobj;
23606 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23607 wxDC *arg2 = 0 ;
23608 PyObject * obj0 = 0 ;
23609 PyObject * obj1 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self",(char *) "dc", NULL
23612 };
23613
23614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1)
23619 SWIG_fail;
23620 if (arg2 == NULL) {
23621 PyErr_SetString(PyExc_TypeError,"null reference");
23622 SWIG_fail;
23623 }
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 (arg1)->base_OnHighlight(*arg2);
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 Py_INCREF(Py_None); resultobj = Py_None;
23632 return resultobj;
23633 fail:
23634 return NULL;
23635 }
23636
23637
23638 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj;
23640 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23641 double arg2 ;
23642 double arg3 ;
23643 int arg4 = (int) 0 ;
23644 int arg5 = (int) 0 ;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 PyObject * obj2 = 0 ;
23648 PyObject * obj3 = 0 ;
23649 PyObject * obj4 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23657 arg2 = (double) SWIG_AsDouble(obj1);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 arg3 = (double) SWIG_AsDouble(obj2);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 if (obj3) {
23662 arg4 = (int) SWIG_AsInt(obj3);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 if (obj4) {
23666 arg5 = (int) SWIG_AsInt(obj4);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 Py_INCREF(Py_None); resultobj = Py_None;
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23686 double arg2 ;
23687 double arg3 ;
23688 int arg4 = (int) 0 ;
23689 int arg5 = (int) 0 ;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 PyObject * obj2 = 0 ;
23693 PyObject * obj3 = 0 ;
23694 PyObject * obj4 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23702 arg2 = (double) SWIG_AsDouble(obj1);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 arg3 = (double) SWIG_AsDouble(obj2);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 if (obj3) {
23707 arg4 = (int) SWIG_AsInt(obj3);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 if (obj4) {
23711 arg5 = (int) SWIG_AsInt(obj4);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 Py_INCREF(Py_None); resultobj = Py_None;
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23731 double arg2 ;
23732 double arg3 ;
23733 int arg4 = (int) 0 ;
23734 int arg5 = (int) 0 ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 PyObject * obj2 = 0 ;
23738 PyObject * obj3 = 0 ;
23739 PyObject * obj4 = 0 ;
23740 char *kwnames[] = {
23741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23742 };
23743
23744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23747 arg2 = (double) SWIG_AsDouble(obj1);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 arg3 = (double) SWIG_AsDouble(obj2);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 if (obj3) {
23752 arg4 = (int) SWIG_AsInt(obj3);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 if (obj4) {
23756 arg5 = (int) SWIG_AsInt(obj4);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23776 double arg2 ;
23777 double arg3 ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 PyObject * obj2 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "x",(char *) "y", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
23786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23788 arg2 = (double) SWIG_AsDouble(obj1);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 arg3 = (double) SWIG_AsDouble(obj2);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 (arg1)->base_OnSize(arg2,arg3);
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 Py_INCREF(Py_None); resultobj = Py_None;
23800 return resultobj;
23801 fail:
23802 return NULL;
23803 }
23804
23805
23806 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23807 PyObject *resultobj;
23808 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23809 wxDC *arg2 = 0 ;
23810 double arg3 ;
23811 double arg4 ;
23812 double arg5 ;
23813 double arg6 ;
23814 bool arg7 = (bool) True ;
23815 bool result;
23816 PyObject * obj0 = 0 ;
23817 PyObject * obj1 = 0 ;
23818 PyObject * obj2 = 0 ;
23819 PyObject * obj3 = 0 ;
23820 PyObject * obj4 = 0 ;
23821 PyObject * obj5 = 0 ;
23822 PyObject * obj6 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23831 SWIG_POINTER_EXCEPTION | 0)) == -1)
23832 SWIG_fail;
23833 if (arg2 == NULL) {
23834 PyErr_SetString(PyExc_TypeError,"null reference");
23835 SWIG_fail;
23836 }
23837 arg3 = (double) SWIG_AsDouble(obj2);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 arg4 = (double) SWIG_AsDouble(obj3);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 arg5 = (double) SWIG_AsDouble(obj4);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 arg6 = (double) SWIG_AsDouble(obj5);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 if (obj6) {
23846 arg7 = (bool) SWIG_AsBool(obj6);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23857 return resultobj;
23858 fail:
23859 return NULL;
23860 }
23861
23862
23863 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23864 PyObject *resultobj;
23865 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23866 wxDC *arg2 = 0 ;
23867 double arg3 ;
23868 double arg4 ;
23869 double arg5 ;
23870 double arg6 ;
23871 bool arg7 = (bool) True ;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 PyObject * obj2 = 0 ;
23875 PyObject * obj3 = 0 ;
23876 PyObject * obj4 = 0 ;
23877 PyObject * obj5 = 0 ;
23878 PyObject * obj6 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23887 SWIG_POINTER_EXCEPTION | 0)) == -1)
23888 SWIG_fail;
23889 if (arg2 == NULL) {
23890 PyErr_SetString(PyExc_TypeError,"null reference");
23891 SWIG_fail;
23892 }
23893 arg3 = (double) SWIG_AsDouble(obj2);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 arg4 = (double) SWIG_AsDouble(obj3);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 arg5 = (double) SWIG_AsDouble(obj4);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 arg6 = (double) SWIG_AsDouble(obj5);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 if (obj6) {
23902 arg7 = (bool) SWIG_AsBool(obj6);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 Py_INCREF(Py_None); resultobj = Py_None;
23913 return resultobj;
23914 fail:
23915 return NULL;
23916 }
23917
23918
23919 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23920 PyObject *resultobj;
23921 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23922 bool arg2 ;
23923 double arg3 ;
23924 double arg4 ;
23925 int arg5 = (int) 0 ;
23926 int arg6 = (int) 0 ;
23927 PyObject * obj0 = 0 ;
23928 PyObject * obj1 = 0 ;
23929 PyObject * obj2 = 0 ;
23930 PyObject * obj3 = 0 ;
23931 PyObject * obj4 = 0 ;
23932 PyObject * obj5 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23940 arg2 = (bool) SWIG_AsBool(obj1);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 arg3 = (double) SWIG_AsDouble(obj2);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 arg4 = (double) SWIG_AsDouble(obj3);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 if (obj4) {
23947 arg5 = (int) SWIG_AsInt(obj4);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 if (obj5) {
23951 arg6 = (int) SWIG_AsInt(obj5);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 Py_INCREF(Py_None); resultobj = Py_None;
23962 return resultobj;
23963 fail:
23964 return NULL;
23965 }
23966
23967
23968 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23971 double arg2 ;
23972 double arg3 ;
23973 int arg4 = (int) 0 ;
23974 int arg5 = (int) 0 ;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 PyObject * obj2 = 0 ;
23978 PyObject * obj3 = 0 ;
23979 PyObject * obj4 = 0 ;
23980 char *kwnames[] = {
23981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23982 };
23983
23984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23987 arg2 = (double) SWIG_AsDouble(obj1);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 arg3 = (double) SWIG_AsDouble(obj2);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 if (obj3) {
23992 arg4 = (int) SWIG_AsInt(obj3);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 if (obj4) {
23996 arg5 = (int) SWIG_AsInt(obj4);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 {
24000 PyThreadState* __tstate = wxPyBeginAllowThreads();
24001 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24002
24003 wxPyEndAllowThreads(__tstate);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 }
24006 Py_INCREF(Py_None); resultobj = Py_None;
24007 return resultobj;
24008 fail:
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj;
24015 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24016 double arg2 ;
24017 double arg3 ;
24018 int arg4 = (int) 0 ;
24019 int arg5 = (int) 0 ;
24020 PyObject * obj0 = 0 ;
24021 PyObject * obj1 = 0 ;
24022 PyObject * obj2 = 0 ;
24023 PyObject * obj3 = 0 ;
24024 PyObject * obj4 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 arg2 = (double) SWIG_AsDouble(obj1);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 arg3 = (double) SWIG_AsDouble(obj2);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 if (obj3) {
24037 arg4 = (int) SWIG_AsInt(obj3);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 if (obj4) {
24041 arg5 = (int) SWIG_AsInt(obj4);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 Py_INCREF(Py_None); resultobj = Py_None;
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24061 bool arg2 ;
24062 double arg3 ;
24063 double arg4 ;
24064 int arg5 = (int) 0 ;
24065 int arg6 = (int) 0 ;
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 PyObject * obj2 = 0 ;
24069 PyObject * obj3 = 0 ;
24070 PyObject * obj4 = 0 ;
24071 PyObject * obj5 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 arg2 = (bool) SWIG_AsBool(obj1);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 arg3 = (double) SWIG_AsDouble(obj2);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 arg4 = (double) SWIG_AsDouble(obj3);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 if (obj4) {
24086 arg5 = (int) SWIG_AsInt(obj4);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 if (obj5) {
24090 arg6 = (int) SWIG_AsInt(obj5);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 Py_INCREF(Py_None); resultobj = Py_None;
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24110 double arg2 ;
24111 double arg3 ;
24112 int arg4 = (int) 0 ;
24113 int arg5 = (int) 0 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 PyObject * obj2 = 0 ;
24117 PyObject * obj3 = 0 ;
24118 PyObject * obj4 = 0 ;
24119 char *kwnames[] = {
24120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24121 };
24122
24123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24126 arg2 = (double) SWIG_AsDouble(obj1);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 arg3 = (double) SWIG_AsDouble(obj2);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 if (obj3) {
24131 arg4 = (int) SWIG_AsInt(obj3);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 if (obj4) {
24135 arg5 = (int) SWIG_AsInt(obj4);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 Py_INCREF(Py_None); resultobj = Py_None;
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24155 double arg2 ;
24156 double arg3 ;
24157 int arg4 = (int) 0 ;
24158 int arg5 = (int) 0 ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 PyObject * obj2 = 0 ;
24162 PyObject * obj3 = 0 ;
24163 PyObject * obj4 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 arg2 = (double) SWIG_AsDouble(obj1);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 arg3 = (double) SWIG_AsDouble(obj2);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 if (obj3) {
24176 arg4 = (int) SWIG_AsInt(obj3);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 if (obj4) {
24180 arg5 = (int) SWIG_AsInt(obj4);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 {
24184 PyThreadState* __tstate = wxPyBeginAllowThreads();
24185 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24186
24187 wxPyEndAllowThreads(__tstate);
24188 if (PyErr_Occurred()) SWIG_fail;
24189 }
24190 Py_INCREF(Py_None); resultobj = Py_None;
24191 return resultobj;
24192 fail:
24193 return NULL;
24194 }
24195
24196
24197 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj;
24199 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24200 wxDC *arg2 = 0 ;
24201 double arg3 ;
24202 double arg4 ;
24203 double arg5 ;
24204 double arg6 ;
24205 PyObject * obj0 = 0 ;
24206 PyObject * obj1 = 0 ;
24207 PyObject * obj2 = 0 ;
24208 PyObject * obj3 = 0 ;
24209 PyObject * obj4 = 0 ;
24210 PyObject * obj5 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1)
24220 SWIG_fail;
24221 if (arg2 == NULL) {
24222 PyErr_SetString(PyExc_TypeError,"null reference");
24223 SWIG_fail;
24224 }
24225 arg3 = (double) SWIG_AsDouble(obj2);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 arg4 = (double) SWIG_AsDouble(obj3);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 arg5 = (double) SWIG_AsDouble(obj4);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 arg6 = (double) SWIG_AsDouble(obj5);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24236
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 Py_INCREF(Py_None); resultobj = Py_None;
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24250 wxDC *arg2 = 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "dc", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1)
24262 SWIG_fail;
24263 if (arg2 == NULL) {
24264 PyErr_SetString(PyExc_TypeError,"null reference");
24265 SWIG_fail;
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->base_OnDrawControlPoints(*arg2);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24284 wxDC *arg2 = 0 ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "dc", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1)
24296 SWIG_fail;
24297 if (arg2 == NULL) {
24298 PyErr_SetString(PyExc_TypeError,"null reference");
24299 SWIG_fail;
24300 }
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->base_OnEraseControlPoints(*arg2);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 Py_INCREF(Py_None); resultobj = Py_None;
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24318 wxDC *arg2 = 0 ;
24319 bool arg3 = (bool) True ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 PyObject * obj2 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24331 SWIG_POINTER_EXCEPTION | 0)) == -1)
24332 SWIG_fail;
24333 if (arg2 == NULL) {
24334 PyErr_SetString(PyExc_TypeError,"null reference");
24335 SWIG_fail;
24336 }
24337 if (obj2) {
24338 arg3 = (bool) SWIG_AsBool(obj2);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 (arg1)->base_OnMoveLink(*arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 Py_INCREF(Py_None); resultobj = Py_None;
24349 return resultobj;
24350 fail:
24351 return NULL;
24352 }
24353
24354
24355 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24356 PyObject *resultobj;
24357 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24358 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24359 bool arg3 ;
24360 double arg4 ;
24361 double arg5 ;
24362 int arg6 = (int) 0 ;
24363 int arg7 = (int) 0 ;
24364 PyObject * obj0 = 0 ;
24365 PyObject * obj1 = 0 ;
24366 PyObject * obj2 = 0 ;
24367 PyObject * obj3 = 0 ;
24368 PyObject * obj4 = 0 ;
24369 PyObject * obj5 = 0 ;
24370 PyObject * obj6 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24380 arg3 = (bool) SWIG_AsBool(obj2);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 arg4 = (double) SWIG_AsDouble(obj3);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 arg5 = (double) SWIG_AsDouble(obj4);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 if (obj5) {
24387 arg6 = (int) SWIG_AsInt(obj5);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 if (obj6) {
24391 arg7 = (int) SWIG_AsInt(obj6);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 Py_INCREF(Py_None); resultobj = Py_None;
24402 return resultobj;
24403 fail:
24404 return NULL;
24405 }
24406
24407
24408 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24409 PyObject *resultobj;
24410 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24411 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24412 double arg3 ;
24413 double arg4 ;
24414 int arg5 = (int) 0 ;
24415 int arg6 = (int) 0 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj2 = 0 ;
24419 PyObject * obj3 = 0 ;
24420 PyObject * obj4 = 0 ;
24421 PyObject * obj5 = 0 ;
24422 char *kwnames[] = {
24423 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24424 };
24425
24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24431 arg3 = (double) SWIG_AsDouble(obj2);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 arg4 = (double) SWIG_AsDouble(obj3);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 if (obj4) {
24436 arg5 = (int) SWIG_AsInt(obj4);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 if (obj5) {
24440 arg6 = (int) SWIG_AsInt(obj5);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24460 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24461 double arg3 ;
24462 double arg4 ;
24463 int arg5 = (int) 0 ;
24464 int arg6 = (int) 0 ;
24465 PyObject * obj0 = 0 ;
24466 PyObject * obj1 = 0 ;
24467 PyObject * obj2 = 0 ;
24468 PyObject * obj3 = 0 ;
24469 PyObject * obj4 = 0 ;
24470 PyObject * obj5 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
24476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24480 arg3 = (double) SWIG_AsDouble(obj2);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 arg4 = (double) SWIG_AsDouble(obj3);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 if (obj4) {
24485 arg5 = (int) SWIG_AsInt(obj4);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 if (obj5) {
24489 arg6 = (int) SWIG_AsInt(obj5);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 Py_INCREF(Py_None); resultobj = Py_None;
24500 return resultobj;
24501 fail:
24502 return NULL;
24503 }
24504
24505
24506 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24509 double arg2 ;
24510 double arg3 ;
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
24513 PyObject * obj2 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self",(char *) "w",(char *) "h", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 arg2 = (double) SWIG_AsDouble(obj1);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 arg3 = (double) SWIG_AsDouble(obj2);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->base_OnBeginSize(arg2,arg3);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 Py_INCREF(Py_None); resultobj = Py_None;
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24542 double arg2 ;
24543 double arg3 ;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 PyObject * obj2 = 0 ;
24547 char *kwnames[] = {
24548 (char *) "self",(char *) "w",(char *) "h", NULL
24549 };
24550
24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
24552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24554 arg2 = (double) SWIG_AsDouble(obj1);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 arg3 = (double) SWIG_AsDouble(obj2);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 {
24559 PyThreadState* __tstate = wxPyBeginAllowThreads();
24560 (arg1)->base_OnEndSize(arg2,arg3);
24561
24562 wxPyEndAllowThreads(__tstate);
24563 if (PyErr_Occurred()) SWIG_fail;
24564 }
24565 Py_INCREF(Py_None); resultobj = Py_None;
24566 return resultobj;
24567 fail:
24568 return NULL;
24569 }
24570
24571
24572 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
24573 PyObject *obj;
24574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24575 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24576 Py_INCREF(obj);
24577 return Py_BuildValue((char *)"");
24578 }
24579 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24580 PyObject *resultobj;
24581 int arg1 = (int) 0 ;
24582 int arg2 = (int) 0 ;
24583 double arg3 = (double) 0.0 ;
24584 double arg4 = (double) 0.0 ;
24585 wxString const &arg5_defvalue = wxPyEmptyString ;
24586 wxString *arg5 = (wxString *) &arg5_defvalue ;
24587 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24588 long arg7 = (long) -1 ;
24589 wxArrowHead *result;
24590 bool temp5 = False ;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 PyObject * obj2 = 0 ;
24594 PyObject * obj3 = 0 ;
24595 PyObject * obj4 = 0 ;
24596 PyObject * obj5 = 0 ;
24597 PyObject * obj6 = 0 ;
24598 char *kwnames[] = {
24599 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24600 };
24601
24602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24603 if (obj0) {
24604 arg1 = (int) SWIG_AsInt(obj0);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 if (obj1) {
24608 arg2 = (int) SWIG_AsInt(obj1);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 if (obj2) {
24612 arg3 = (double) SWIG_AsDouble(obj2);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 if (obj3) {
24616 arg4 = (double) SWIG_AsDouble(obj3);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 if (obj4) {
24620 {
24621 arg5 = wxString_in_helper(obj4);
24622 if (arg5 == NULL) SWIG_fail;
24623 temp5 = True;
24624 }
24625 }
24626 if (obj5) {
24627 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24629 }
24630 if (obj6) {
24631 arg7 = (long) SWIG_AsLong(obj6);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 {
24642 resultobj = wxPyMake_wxObject(result);
24643 }
24644 {
24645 if (temp5)
24646 delete arg5;
24647 }
24648 return resultobj;
24649 fail:
24650 {
24651 if (temp5)
24652 delete arg5;
24653 }
24654 return NULL;
24655 }
24656
24657
24658 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
24659 PyObject *resultobj;
24660 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
24667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 delete arg1;
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 Py_INCREF(Py_None); resultobj = Py_None;
24677 return resultobj;
24678 fail:
24679 return NULL;
24680 }
24681
24682
24683 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24684 PyObject *resultobj;
24685 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24686 int result;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 result = (int)(arg1)->_GetType();
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 resultobj = SWIG_FromInt((int)result);
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24712 int result;
24713 PyObject * obj0 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
24719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (int)(arg1)->GetPosition();
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 resultobj = SWIG_FromInt((int)result);
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24738 int arg2 ;
24739 PyObject * obj0 = 0 ;
24740 PyObject * obj1 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self",(char *) "pos", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24748 arg2 = (int) SWIG_AsInt(obj1);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->SetPosition(arg2);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24767 double result;
24768 PyObject * obj0 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
24774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (double)(arg1)->GetXOffset();
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 resultobj = SWIG_FromDouble((double)result);
24784 return resultobj;
24785 fail:
24786 return NULL;
24787 }
24788
24789
24790 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24791 PyObject *resultobj;
24792 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24793 double result;
24794 PyObject * obj0 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
24800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 result = (double)(arg1)->GetYOffset();
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = SWIG_FromDouble((double)result);
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24819 double result;
24820 PyObject * obj0 = 0 ;
24821 char *kwnames[] = {
24822 (char *) "self", NULL
24823 };
24824
24825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
24826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24828 {
24829 PyThreadState* __tstate = wxPyBeginAllowThreads();
24830 result = (double)(arg1)->GetSpacing();
24831
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 resultobj = SWIG_FromDouble((double)result);
24836 return resultobj;
24837 fail:
24838 return NULL;
24839 }
24840
24841
24842 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj;
24844 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24845 double result;
24846 PyObject * obj0 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
24852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (double)(arg1)->GetSize();
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 resultobj = SWIG_FromDouble((double)result);
24862 return resultobj;
24863 fail:
24864 return NULL;
24865 }
24866
24867
24868 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
24869 PyObject *resultobj;
24870 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24871 wxString result;
24872 PyObject * obj0 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
24878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 result = (arg1)->GetName();
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 {
24888 #if wxUSE_UNICODE
24889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24890 #else
24891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24892 #endif
24893 }
24894 return resultobj;
24895 fail:
24896 return NULL;
24897 }
24898
24899
24900 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24901 PyObject *resultobj;
24902 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24903 double arg2 ;
24904 PyObject * obj0 = 0 ;
24905 PyObject * obj1 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "self",(char *) "x", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
24911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24913 arg2 = (double) SWIG_AsDouble(obj1);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->SetXOffset(arg2);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 Py_INCREF(Py_None); resultobj = Py_None;
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24932 double arg2 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "y", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24942 arg2 = (double) SWIG_AsDouble(obj1);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 (arg1)->SetYOffset(arg2);
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 Py_INCREF(Py_None); resultobj = Py_None;
24952 return resultobj;
24953 fail:
24954 return NULL;
24955 }
24956
24957
24958 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
24959 PyObject *resultobj;
24960 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24961 wxPseudoMetaFile *result;
24962 PyObject * obj0 = 0 ;
24963 char *kwnames[] = {
24964 (char *) "self", NULL
24965 };
24966
24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
24968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24970 {
24971 PyThreadState* __tstate = wxPyBeginAllowThreads();
24972 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
24973
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 {
24978 resultobj = wxPyMake_wxObject(result);
24979 }
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24989 long result;
24990 PyObject * obj0 = 0 ;
24991 char *kwnames[] = {
24992 (char *) "self", NULL
24993 };
24994
24995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
24996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24998 {
24999 PyThreadState* __tstate = wxPyBeginAllowThreads();
25000 result = (long)(arg1)->GetId();
25001
25002 wxPyEndAllowThreads(__tstate);
25003 if (PyErr_Occurred()) SWIG_fail;
25004 }
25005 resultobj = SWIG_FromLong((long)result);
25006 return resultobj;
25007 fail:
25008 return NULL;
25009 }
25010
25011
25012 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25013 PyObject *resultobj;
25014 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25015 int result;
25016 PyObject * obj0 = 0 ;
25017 char *kwnames[] = {
25018 (char *) "self", NULL
25019 };
25020
25021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (int)(arg1)->GetArrowEnd();
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 resultobj = SWIG_FromInt((int)result);
25032 return resultobj;
25033 fail:
25034 return NULL;
25035 }
25036
25037
25038 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25039 PyObject *resultobj;
25040 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25041 double result;
25042 PyObject * obj0 = 0 ;
25043 char *kwnames[] = {
25044 (char *) "self", NULL
25045 };
25046
25047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 result = (double)(arg1)->GetArrowSize();
25053
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 resultobj = SWIG_FromDouble((double)result);
25058 return resultobj;
25059 fail:
25060 return NULL;
25061 }
25062
25063
25064 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25065 PyObject *resultobj;
25066 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25067 double arg2 ;
25068 PyObject * obj0 = 0 ;
25069 PyObject * obj1 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self",(char *) "size", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
25075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25077 arg2 = (double) SWIG_AsDouble(obj1);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->SetSize(arg2);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 Py_INCREF(Py_None); resultobj = Py_None;
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25096 double arg2 ;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self",(char *) "sp", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25106 arg2 = (double) SWIG_AsDouble(obj1);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetSpacing(arg2);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
25116 return resultobj;
25117 fail:
25118 return NULL;
25119 }
25120
25121
25122 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25123 PyObject *obj;
25124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25125 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25126 Py_INCREF(obj);
25127 return Py_BuildValue((char *)"");
25128 }
25129 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25130 PyObject *resultobj;
25131 wxPyLineShape *result;
25132 char *kwnames[] = {
25133 NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 result = (wxPyLineShape *)new wxPyLineShape();
25140
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
25145 return resultobj;
25146 fail:
25147 return NULL;
25148 }
25149
25150
25151 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25154 PyObject *arg2 = (PyObject *) 0 ;
25155 PyObject *arg3 = (PyObject *) 0 ;
25156 PyObject * obj0 = 0 ;
25157 PyObject * obj1 = 0 ;
25158 PyObject * obj2 = 0 ;
25159 char *kwnames[] = {
25160 (char *) "self",(char *) "self",(char *) "_class", NULL
25161 };
25162
25163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25166 arg2 = obj1;
25167 arg3 = obj2;
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 (arg1)->_setCallbackInfo(arg2,arg3);
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 Py_INCREF(Py_None); resultobj = Py_None;
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj;
25184 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25185 int arg2 ;
25186 int arg3 = (int) ARROW_POSITION_END ;
25187 double arg4 = (double) 10.0 ;
25188 double arg5 = (double) 0.0 ;
25189 wxString const &arg6_defvalue = wxPyEmptyString ;
25190 wxString *arg6 = (wxString *) &arg6_defvalue ;
25191 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25192 long arg8 = (long) -1 ;
25193 bool temp6 = False ;
25194 PyObject * obj0 = 0 ;
25195 PyObject * obj1 = 0 ;
25196 PyObject * obj2 = 0 ;
25197 PyObject * obj3 = 0 ;
25198 PyObject * obj4 = 0 ;
25199 PyObject * obj5 = 0 ;
25200 PyObject * obj6 = 0 ;
25201 PyObject * obj7 = 0 ;
25202 char *kwnames[] = {
25203 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25204 };
25205
25206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25209 arg2 = (int) SWIG_AsInt(obj1);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 if (obj2) {
25212 arg3 = (int) SWIG_AsInt(obj2);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 if (obj3) {
25216 arg4 = (double) SWIG_AsDouble(obj3);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 if (obj4) {
25220 arg5 = (double) SWIG_AsDouble(obj4);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 if (obj5) {
25224 {
25225 arg6 = wxString_in_helper(obj5);
25226 if (arg6 == NULL) SWIG_fail;
25227 temp6 = True;
25228 }
25229 }
25230 if (obj6) {
25231 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25233 }
25234 if (obj7) {
25235 arg8 = (long) SWIG_AsLong(obj7);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 Py_INCREF(Py_None); resultobj = Py_None;
25246 {
25247 if (temp6)
25248 delete arg6;
25249 }
25250 return resultobj;
25251 fail:
25252 {
25253 if (temp6)
25254 delete arg6;
25255 }
25256 return NULL;
25257 }
25258
25259
25260 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25263 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25264 PyObject *arg3 = (PyObject *) 0 ;
25265 int arg4 ;
25266 PyObject * obj0 = 0 ;
25267 PyObject * obj1 = 0 ;
25268 PyObject * obj2 = 0 ;
25269 PyObject * obj3 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25279 arg3 = obj2;
25280 arg4 = (int) SWIG_AsInt(obj3);
25281 if (PyErr_Occurred()) SWIG_fail;
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25285
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 Py_INCREF(Py_None); resultobj = Py_None;
25290 return resultobj;
25291 fail:
25292 return NULL;
25293 }
25294
25295
25296 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25297 PyObject *resultobj;
25298 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25299 wxString *arg2 = 0 ;
25300 bool result;
25301 bool temp2 = False ;
25302 PyObject * obj0 = 0 ;
25303 PyObject * obj1 = 0 ;
25304 char *kwnames[] = {
25305 (char *) "self",(char *) "name", NULL
25306 };
25307
25308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
25309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25311 {
25312 arg2 = wxString_in_helper(obj1);
25313 if (arg2 == NULL) SWIG_fail;
25314 temp2 = True;
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25324 {
25325 if (temp2)
25326 delete arg2;
25327 }
25328 return resultobj;
25329 fail:
25330 {
25331 if (temp2)
25332 delete arg2;
25333 }
25334 return NULL;
25335 }
25336
25337
25338 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25339 PyObject *resultobj;
25340 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25341 int arg2 = (int) -1 ;
25342 PyObject * obj0 = 0 ;
25343 PyObject * obj1 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "self",(char *) "position", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
25349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25351 if (obj1) {
25352 arg2 = (int) SWIG_AsInt(obj1);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 (arg1)->ClearArrowsAtPosition(arg2);
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 Py_INCREF(Py_None); resultobj = Py_None;
25363 return resultobj;
25364 fail:
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25372 wxDC *arg2 = 0 ;
25373 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25374 double arg4 ;
25375 bool arg5 ;
25376 PyObject * obj0 = 0 ;
25377 PyObject * obj1 = 0 ;
25378 PyObject * obj2 = 0 ;
25379 PyObject * obj3 = 0 ;
25380 PyObject * obj4 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25389 SWIG_POINTER_EXCEPTION | 0)) == -1)
25390 SWIG_fail;
25391 if (arg2 == NULL) {
25392 PyErr_SetString(PyExc_TypeError,"null reference");
25393 SWIG_fail;
25394 }
25395 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25397 arg4 = (double) SWIG_AsDouble(obj3);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 arg5 = (bool) SWIG_AsBool(obj4);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 Py_INCREF(Py_None); resultobj = Py_None;
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj;
25417 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25418 long arg2 ;
25419 bool result;
25420 PyObject * obj0 = 0 ;
25421 PyObject * obj1 = 0 ;
25422 char *kwnames[] = {
25423 (char *) "self",(char *) "arrowId", NULL
25424 };
25425
25426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25429 arg2 = (long) SWIG_AsLong(obj1);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 {
25432 PyThreadState* __tstate = wxPyBeginAllowThreads();
25433 result = (bool)(arg1)->DeleteArrowHead(arg2);
25434
25435 wxPyEndAllowThreads(__tstate);
25436 if (PyErr_Occurred()) SWIG_fail;
25437 }
25438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj;
25447 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25448 int arg2 ;
25449 wxString *arg3 = 0 ;
25450 bool result;
25451 bool temp3 = False ;
25452 PyObject * obj0 = 0 ;
25453 PyObject * obj1 = 0 ;
25454 PyObject * obj2 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self",(char *) "position",(char *) "name", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25462 arg2 = (int) SWIG_AsInt(obj1);
25463 if (PyErr_Occurred()) SWIG_fail;
25464 {
25465 arg3 = wxString_in_helper(obj2);
25466 if (arg3 == NULL) SWIG_fail;
25467 temp3 = True;
25468 }
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25477 {
25478 if (temp3)
25479 delete arg3;
25480 }
25481 return resultobj;
25482 fail:
25483 {
25484 if (temp3)
25485 delete arg3;
25486 }
25487 return NULL;
25488 }
25489
25490
25491 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25494 bool result;
25495 PyObject * obj0 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)(arg1)->DeleteLineControlPoint();
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25511 return resultobj;
25512 fail:
25513 return NULL;
25514 }
25515
25516
25517 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
25518 PyObject *resultobj;
25519 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25520 wxDC *arg2 = 0 ;
25521 PyObject * obj0 = 0 ;
25522 PyObject * obj1 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "self",(char *) "dc", NULL
25525 };
25526
25527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
25528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25531 SWIG_POINTER_EXCEPTION | 0)) == -1)
25532 SWIG_fail;
25533 if (arg2 == NULL) {
25534 PyErr_SetString(PyExc_TypeError,"null reference");
25535 SWIG_fail;
25536 }
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 (arg1)->DrawArrows(*arg2);
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 Py_INCREF(Py_None); resultobj = Py_None;
25545 return resultobj;
25546 fail:
25547 return NULL;
25548 }
25549
25550
25551 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25552 PyObject *resultobj;
25553 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25554 wxDC *arg2 = 0 ;
25555 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25556 double arg4 ;
25557 double arg5 ;
25558 PyObject * obj0 = 0 ;
25559 PyObject * obj1 = 0 ;
25560 PyObject * obj2 = 0 ;
25561 PyObject * obj3 = 0 ;
25562 PyObject * obj4 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25571 SWIG_POINTER_EXCEPTION | 0)) == -1)
25572 SWIG_fail;
25573 if (arg2 == NULL) {
25574 PyErr_SetString(PyExc_TypeError,"null reference");
25575 SWIG_fail;
25576 }
25577 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25579 arg4 = (double) SWIG_AsDouble(obj3);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 arg5 = (double) SWIG_AsDouble(obj4);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25598 PyObject *resultobj;
25599 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25600 wxDC *arg2 = 0 ;
25601 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25602 double arg4 ;
25603 double arg5 ;
25604 PyObject * obj0 = 0 ;
25605 PyObject * obj1 = 0 ;
25606 PyObject * obj2 = 0 ;
25607 PyObject * obj3 = 0 ;
25608 PyObject * obj4 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25617 SWIG_POINTER_EXCEPTION | 0)) == -1)
25618 SWIG_fail;
25619 if (arg2 == NULL) {
25620 PyErr_SetString(PyExc_TypeError,"null reference");
25621 SWIG_fail;
25622 }
25623 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25625 arg4 = (double) SWIG_AsDouble(obj3);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 arg5 = (double) SWIG_AsDouble(obj4);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25646 long arg2 ;
25647 wxArrowHead *result;
25648 PyObject * obj0 = 0 ;
25649 PyObject * obj1 = 0 ;
25650 char *kwnames[] = {
25651 (char *) "self",(char *) "arrowId", NULL
25652 };
25653
25654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
25655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25657 arg2 = (long) SWIG_AsLong(obj1);
25658 if (PyErr_Occurred()) SWIG_fail;
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 {
25667 resultobj = wxPyMake_wxObject(result);
25668 }
25669 return resultobj;
25670 fail:
25671 return NULL;
25672 }
25673
25674
25675 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj;
25677 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25678 int arg2 ;
25679 wxString *arg3 = 0 ;
25680 wxArrowHead *result;
25681 bool temp3 = False ;
25682 PyObject * obj0 = 0 ;
25683 PyObject * obj1 = 0 ;
25684 PyObject * obj2 = 0 ;
25685 char *kwnames[] = {
25686 (char *) "self",(char *) "position",(char *) "name", NULL
25687 };
25688
25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
25690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25692 arg2 = (int) SWIG_AsInt(obj1);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 {
25695 arg3 = wxString_in_helper(obj2);
25696 if (arg3 == NULL) SWIG_fail;
25697 temp3 = True;
25698 }
25699 {
25700 PyThreadState* __tstate = wxPyBeginAllowThreads();
25701 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25702
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 {
25707 resultobj = wxPyMake_wxObject(result);
25708 }
25709 {
25710 if (temp3)
25711 delete arg3;
25712 }
25713 return resultobj;
25714 fail:
25715 {
25716 if (temp3)
25717 delete arg3;
25718 }
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25726 double *arg2 = (double *) 0 ;
25727 double *arg3 = (double *) 0 ;
25728 double *arg4 = (double *) 0 ;
25729 double *arg5 = (double *) 0 ;
25730 double temp2 ;
25731 double temp3 ;
25732 double temp4 ;
25733 double temp5 ;
25734 PyObject * obj0 = 0 ;
25735 char *kwnames[] = {
25736 (char *) "self", NULL
25737 };
25738
25739 arg2 = &temp2;
25740 arg3 = &temp3;
25741 arg4 = &temp4;
25742 arg5 = &temp5;
25743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
25744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25746 {
25747 PyThreadState* __tstate = wxPyBeginAllowThreads();
25748 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25749
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 Py_INCREF(Py_None); resultobj = Py_None;
25754 {
25755 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25756 resultobj = t_output_helper(resultobj,o);
25757 }
25758 {
25759 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25760 resultobj = t_output_helper(resultobj,o);
25761 }
25762 {
25763 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25764 resultobj = t_output_helper(resultobj,o);
25765 }
25766 {
25767 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25768 resultobj = t_output_helper(resultobj,o);
25769 }
25770 return resultobj;
25771 fail:
25772 return NULL;
25773 }
25774
25775
25776 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25777 PyObject *resultobj;
25778 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25779 double arg2 ;
25780 double arg3 ;
25781 int result;
25782 PyObject * obj0 = 0 ;
25783 PyObject * obj1 = 0 ;
25784 PyObject * obj2 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self",(char *) "x",(char *) "y", NULL
25787 };
25788
25789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
25790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25792 arg2 = (double) SWIG_AsDouble(obj1);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 arg3 = (double) SWIG_AsDouble(obj2);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 resultobj = SWIG_FromInt((int)result);
25804 return resultobj;
25805 fail:
25806 return NULL;
25807 }
25808
25809
25810 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25813 double result;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
25820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 result = (double)(arg1)->FindMinimumWidth();
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 resultobj = SWIG_FromDouble((double)result);
25830 return resultobj;
25831 fail:
25832 return NULL;
25833 }
25834
25835
25836 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj;
25838 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25839 wxPyShape *arg2 = (wxPyShape *) 0 ;
25840 int *arg3 = (int *) 0 ;
25841 int *arg4 = (int *) 0 ;
25842 bool arg5 ;
25843 int temp3 ;
25844 int temp4 ;
25845 PyObject * obj0 = 0 ;
25846 PyObject * obj1 = 0 ;
25847 PyObject * obj2 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "image",(char *) "incoming", NULL
25850 };
25851
25852 arg3 = &temp3;
25853 arg4 = &temp4;
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
25855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25859 arg5 = (bool) SWIG_AsBool(obj2);
25860 if (PyErr_Occurred()) SWIG_fail;
25861 {
25862 PyThreadState* __tstate = wxPyBeginAllowThreads();
25863 (arg1)->FindNth(arg2,arg3,arg4,arg5);
25864
25865 wxPyEndAllowThreads(__tstate);
25866 if (PyErr_Occurred()) SWIG_fail;
25867 }
25868 Py_INCREF(Py_None); resultobj = Py_None;
25869 {
25870 PyObject *o = PyInt_FromLong((long) (*arg3));
25871 resultobj = t_output_helper(resultobj,o);
25872 }
25873 {
25874 PyObject *o = PyInt_FromLong((long) (*arg4));
25875 resultobj = t_output_helper(resultobj,o);
25876 }
25877 return resultobj;
25878 fail:
25879 return NULL;
25880 }
25881
25882
25883 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25884 PyObject *resultobj;
25885 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25886 int result;
25887 PyObject * obj0 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
25893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 result = (int)(arg1)->GetAttachmentFrom();
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 resultobj = SWIG_FromInt((int)result);
25903 return resultobj;
25904 fail:
25905 return NULL;
25906 }
25907
25908
25909 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25910 PyObject *resultobj;
25911 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25912 int result;
25913 PyObject * obj0 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
25919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (int)(arg1)->GetAttachmentTo();
25924
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 resultobj = SWIG_FromInt((int)result);
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
25936 PyObject *resultobj;
25937 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25938 double *arg2 = (double *) 0 ;
25939 double *arg3 = (double *) 0 ;
25940 double *arg4 = (double *) 0 ;
25941 double *arg5 = (double *) 0 ;
25942 double temp2 ;
25943 double temp3 ;
25944 double temp4 ;
25945 double temp5 ;
25946 PyObject * obj0 = 0 ;
25947 char *kwnames[] = {
25948 (char *) "self", NULL
25949 };
25950
25951 arg2 = &temp2;
25952 arg3 = &temp3;
25953 arg4 = &temp4;
25954 arg5 = &temp5;
25955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
25956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 Py_INCREF(Py_None); resultobj = Py_None;
25966 {
25967 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25968 resultobj = t_output_helper(resultobj,o);
25969 }
25970 {
25971 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25972 resultobj = t_output_helper(resultobj,o);
25973 }
25974 {
25975 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25976 resultobj = t_output_helper(resultobj,o);
25977 }
25978 {
25979 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25980 resultobj = t_output_helper(resultobj,o);
25981 }
25982 return resultobj;
25983 fail:
25984 return NULL;
25985 }
25986
25987
25988 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25991 wxPyShape *result;
25992 PyObject * obj0 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "self", NULL
25995 };
25996
25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
25998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (wxPyShape *)(arg1)->GetFrom();
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 {
26008 resultobj = wxPyMake_wxShapeEvtHandler(result);
26009 }
26010 return resultobj;
26011 fail:
26012 return NULL;
26013 }
26014
26015
26016 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj;
26018 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26019 int arg2 ;
26020 double *arg3 = (double *) 0 ;
26021 double *arg4 = (double *) 0 ;
26022 double temp3 ;
26023 double temp4 ;
26024 PyObject * obj0 = 0 ;
26025 PyObject * obj1 = 0 ;
26026 char *kwnames[] = {
26027 (char *) "self",(char *) "position", NULL
26028 };
26029
26030 arg3 = &temp3;
26031 arg4 = &temp4;
26032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
26033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26035 arg2 = (int) SWIG_AsInt(obj1);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 {
26038 PyThreadState* __tstate = wxPyBeginAllowThreads();
26039 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26040
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 Py_INCREF(Py_None); resultobj = Py_None;
26045 {
26046 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26047 resultobj = t_output_helper(resultobj,o);
26048 }
26049 {
26050 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26051 resultobj = t_output_helper(resultobj,o);
26052 }
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26060 PyObject *resultobj;
26061 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26062 wxPyShape *arg2 = (wxPyShape *) 0 ;
26063 wxRealPoint *result;
26064 PyObject * obj0 = 0 ;
26065 PyObject * obj1 = 0 ;
26066 char *kwnames[] = {
26067 (char *) "self",(char *) "shape", NULL
26068 };
26069
26070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26078
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
26083 return resultobj;
26084 fail:
26085 return NULL;
26086 }
26087
26088
26089 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26090 PyObject *resultobj;
26091 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26092 wxPyShape *result;
26093 PyObject * obj0 = 0 ;
26094 char *kwnames[] = {
26095 (char *) "self", NULL
26096 };
26097
26098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = (wxPyShape *)(arg1)->GetTo();
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 {
26109 resultobj = wxPyMake_wxShapeEvtHandler(result);
26110 }
26111 return resultobj;
26112 fail:
26113 return NULL;
26114 }
26115
26116
26117 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26118 PyObject *resultobj;
26119 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26120 PyObject * obj0 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26128 {
26129 PyThreadState* __tstate = wxPyBeginAllowThreads();
26130 (arg1)->Initialise();
26131
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 Py_INCREF(Py_None); resultobj = Py_None;
26136 return resultobj;
26137 fail:
26138 return NULL;
26139 }
26140
26141
26142 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26143 PyObject *resultobj;
26144 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26145 wxDC *arg2 = (wxDC *) 0 ;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self",(char *) "dc", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 (arg1)->InsertLineControlPoint(arg2);
26160
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 Py_INCREF(Py_None); resultobj = Py_None;
26165 return resultobj;
26166 fail:
26167 return NULL;
26168 }
26169
26170
26171 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26172 PyObject *resultobj;
26173 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26174 wxPyShape *arg2 = (wxPyShape *) 0 ;
26175 bool result;
26176 PyObject * obj0 = 0 ;
26177 PyObject * obj1 = 0 ;
26178 char *kwnames[] = {
26179 (char *) "self",(char *) "shape", NULL
26180 };
26181
26182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 result = (bool)(arg1)->IsEnd(arg2);
26190
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26204 bool result;
26205 PyObject * obj0 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (bool)(arg1)->IsSpline();
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26230 int arg2 ;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self",(char *) "n", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26240 arg2 = (int) SWIG_AsInt(obj1);
26241 if (PyErr_Occurred()) SWIG_fail;
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 (arg1)->MakeLineControlPoints(arg2);
26245
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 Py_INCREF(Py_None); resultobj = Py_None;
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj;
26258 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26259 PyObject *result;
26260 PyObject * obj0 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26271
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 resultobj = result;
26276 return resultobj;
26277 fail:
26278 return NULL;
26279 }
26280
26281
26282 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26283 PyObject *resultobj;
26284 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26285 int arg2 ;
26286 PyObject * obj0 = 0 ;
26287 PyObject * obj1 = 0 ;
26288 char *kwnames[] = {
26289 (char *) "self",(char *) "fromAttach", NULL
26290 };
26291
26292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
26293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26295 arg2 = (int) SWIG_AsInt(obj1);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 {
26298 PyThreadState* __tstate = wxPyBeginAllowThreads();
26299 (arg1)->SetAttachmentFrom(arg2);
26300
26301 wxPyEndAllowThreads(__tstate);
26302 if (PyErr_Occurred()) SWIG_fail;
26303 }
26304 Py_INCREF(Py_None); resultobj = Py_None;
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
26312 PyObject *resultobj;
26313 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26314 int arg2 ;
26315 int arg3 ;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 PyObject * obj2 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26326 arg2 = (int) SWIG_AsInt(obj1);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 arg3 = (int) SWIG_AsInt(obj2);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 (arg1)->SetAttachments(arg2,arg3);
26333
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
26337 Py_INCREF(Py_None); resultobj = Py_None;
26338 return resultobj;
26339 fail:
26340 return NULL;
26341 }
26342
26343
26344 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26345 PyObject *resultobj;
26346 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26347 int arg2 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 char *kwnames[] = {
26351 (char *) "self",(char *) "toAttach", NULL
26352 };
26353
26354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
26355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26357 arg2 = (int) SWIG_AsInt(obj1);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 (arg1)->SetAttachmentTo(arg2);
26362
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 Py_INCREF(Py_None); resultobj = Py_None;
26367 return resultobj;
26368 fail:
26369 return NULL;
26370 }
26371
26372
26373 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26374 PyObject *resultobj;
26375 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26376 double arg2 ;
26377 double arg3 ;
26378 double arg4 ;
26379 double arg5 ;
26380 PyObject * obj0 = 0 ;
26381 PyObject * obj1 = 0 ;
26382 PyObject * obj2 = 0 ;
26383 PyObject * obj3 = 0 ;
26384 PyObject * obj4 = 0 ;
26385 char *kwnames[] = {
26386 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26387 };
26388
26389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26392 arg2 = (double) SWIG_AsDouble(obj1);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 arg3 = (double) SWIG_AsDouble(obj2);
26395 if (PyErr_Occurred()) SWIG_fail;
26396 arg4 = (double) SWIG_AsDouble(obj3);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 arg5 = (double) SWIG_AsDouble(obj4);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 {
26401 PyThreadState* __tstate = wxPyBeginAllowThreads();
26402 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26403
26404 wxPyEndAllowThreads(__tstate);
26405 if (PyErr_Occurred()) SWIG_fail;
26406 }
26407 Py_INCREF(Py_None); resultobj = Py_None;
26408 return resultobj;
26409 fail:
26410 return NULL;
26411 }
26412
26413
26414 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26415 PyObject *resultobj;
26416 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26417 wxPyShape *arg2 = (wxPyShape *) 0 ;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "object", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
26425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 (arg1)->SetFrom(arg2);
26432
26433 wxPyEndAllowThreads(__tstate);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
26436 Py_INCREF(Py_None); resultobj = Py_None;
26437 return resultobj;
26438 fail:
26439 return NULL;
26440 }
26441
26442
26443 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
26444 PyObject *resultobj;
26445 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26446 bool arg2 ;
26447 PyObject * obj0 = 0 ;
26448 PyObject * obj1 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self",(char *) "ignore", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
26454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26456 arg2 = (bool) SWIG_AsBool(obj1);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetIgnoreOffsets(arg2);
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 Py_INCREF(Py_None); resultobj = Py_None;
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26475 bool arg2 ;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 char *kwnames[] = {
26479 (char *) "self",(char *) "spline", NULL
26480 };
26481
26482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
26483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26485 arg2 = (bool) SWIG_AsBool(obj1);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 (arg1)->SetSpline(arg2);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 Py_INCREF(Py_None); resultobj = Py_None;
26495 return resultobj;
26496 fail:
26497 return NULL;
26498 }
26499
26500
26501 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26502 PyObject *resultobj;
26503 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26504 wxPyShape *arg2 = (wxPyShape *) 0 ;
26505 PyObject * obj0 = 0 ;
26506 PyObject * obj1 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "object", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
26512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->SetTo(arg2);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 Py_INCREF(Py_None); resultobj = Py_None;
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26533 wxDC *arg2 = (wxDC *) NULL ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self",(char *) "dc", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
26541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 if (obj1) {
26544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26546 }
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->Straighten(arg2);
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 Py_INCREF(Py_None); resultobj = Py_None;
26555 return resultobj;
26556 fail:
26557 return NULL;
26558 }
26559
26560
26561 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj;
26563 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26564 PyObject * obj0 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "self", NULL
26567 };
26568
26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
26570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->Unlink();
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 Py_INCREF(Py_None); resultobj = Py_None;
26580 return resultobj;
26581 fail:
26582 return NULL;
26583 }
26584
26585
26586 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj;
26588 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26589 bool arg2 ;
26590 bool arg3 ;
26591 PyObject * obj0 = 0 ;
26592 PyObject * obj1 = 0 ;
26593 PyObject * obj2 = 0 ;
26594 char *kwnames[] = {
26595 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26596 };
26597
26598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
26599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26601 arg2 = (bool) SWIG_AsBool(obj1);
26602 if (PyErr_Occurred()) SWIG_fail;
26603 arg3 = (bool) SWIG_AsBool(obj2);
26604 if (PyErr_Occurred()) SWIG_fail;
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 (arg1)->SetAlignmentOrientation(arg2,arg3);
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 Py_INCREF(Py_None); resultobj = Py_None;
26613 return resultobj;
26614 fail:
26615 return NULL;
26616 }
26617
26618
26619 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26620 PyObject *resultobj;
26621 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26622 bool arg2 ;
26623 int arg3 ;
26624 PyObject * obj0 = 0 ;
26625 PyObject * obj1 = 0 ;
26626 PyObject * obj2 = 0 ;
26627 char *kwnames[] = {
26628 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26629 };
26630
26631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
26632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26634 arg2 = (bool) SWIG_AsBool(obj1);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 arg3 = (int) SWIG_AsInt(obj2);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->SetAlignmentType(arg2,arg3);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 Py_INCREF(Py_None); resultobj = Py_None;
26646 return resultobj;
26647 fail:
26648 return NULL;
26649 }
26650
26651
26652 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
26653 PyObject *resultobj;
26654 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26655 bool arg2 ;
26656 bool result;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self",(char *) "isEnd", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
26664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26666 arg2 = (bool) SWIG_AsBool(obj1);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26676 return resultobj;
26677 fail:
26678 return NULL;
26679 }
26680
26681
26682 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26685 bool arg2 ;
26686 int result;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "isEnd", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26696 arg2 = (bool) SWIG_AsBool(obj1);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 {
26699 PyThreadState* __tstate = wxPyBeginAllowThreads();
26700 result = (int)(arg1)->GetAlignmentType(arg2);
26701
26702 wxPyEndAllowThreads(__tstate);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 }
26705 resultobj = SWIG_FromInt((int)result);
26706 return resultobj;
26707 fail:
26708 return NULL;
26709 }
26710
26711
26712 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj;
26714 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26715 int result;
26716 PyObject * obj0 = 0 ;
26717 char *kwnames[] = {
26718 (char *) "self", NULL
26719 };
26720
26721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
26722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26727
26728 wxPyEndAllowThreads(__tstate);
26729 if (PyErr_Occurred()) SWIG_fail;
26730 }
26731 resultobj = SWIG_FromInt((int)result);
26732 return resultobj;
26733 fail:
26734 return NULL;
26735 }
26736
26737
26738 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj;
26740 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26741 int result;
26742 PyObject * obj0 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26750 {
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26753
26754 wxPyEndAllowThreads(__tstate);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 }
26757 resultobj = SWIG_FromInt((int)result);
26758 return resultobj;
26759 fail:
26760 return NULL;
26761 }
26762
26763
26764 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26765 PyObject *resultobj;
26766 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26767 wxDC *arg2 = 0 ;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "dc", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
26775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26778 SWIG_POINTER_EXCEPTION | 0)) == -1)
26779 SWIG_fail;
26780 if (arg2 == NULL) {
26781 PyErr_SetString(PyExc_TypeError,"null reference");
26782 SWIG_fail;
26783 }
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 (arg1)->base_OnDraw(*arg2);
26787
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 Py_INCREF(Py_None); resultobj = Py_None;
26792 return resultobj;
26793 fail:
26794 return NULL;
26795 }
26796
26797
26798 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj;
26800 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26801 wxDC *arg2 = 0 ;
26802 PyObject * obj0 = 0 ;
26803 PyObject * obj1 = 0 ;
26804 char *kwnames[] = {
26805 (char *) "self",(char *) "dc", NULL
26806 };
26807
26808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
26809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26812 SWIG_POINTER_EXCEPTION | 0)) == -1)
26813 SWIG_fail;
26814 if (arg2 == NULL) {
26815 PyErr_SetString(PyExc_TypeError,"null reference");
26816 SWIG_fail;
26817 }
26818 {
26819 PyThreadState* __tstate = wxPyBeginAllowThreads();
26820 (arg1)->base_OnDrawContents(*arg2);
26821
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 Py_INCREF(Py_None); resultobj = Py_None;
26826 return resultobj;
26827 fail:
26828 return NULL;
26829 }
26830
26831
26832 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
26833 PyObject *resultobj;
26834 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26835 wxDC *arg2 = 0 ;
26836 bool arg3 = (bool) FALSE ;
26837 PyObject * obj0 = 0 ;
26838 PyObject * obj1 = 0 ;
26839 PyObject * obj2 = 0 ;
26840 char *kwnames[] = {
26841 (char *) "self",(char *) "dc",(char *) "erase", NULL
26842 };
26843
26844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
26845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26848 SWIG_POINTER_EXCEPTION | 0)) == -1)
26849 SWIG_fail;
26850 if (arg2 == NULL) {
26851 PyErr_SetString(PyExc_TypeError,"null reference");
26852 SWIG_fail;
26853 }
26854 if (obj2) {
26855 arg3 = (bool) SWIG_AsBool(obj2);
26856 if (PyErr_Occurred()) SWIG_fail;
26857 }
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 (arg1)->base_OnDrawBranches(*arg2,arg3);
26861
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 Py_INCREF(Py_None); resultobj = Py_None;
26866 return resultobj;
26867 fail:
26868 return NULL;
26869 }
26870
26871
26872 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj;
26874 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26875 wxDC *arg2 = 0 ;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "dc", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
26883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26886 SWIG_POINTER_EXCEPTION | 0)) == -1)
26887 SWIG_fail;
26888 if (arg2 == NULL) {
26889 PyErr_SetString(PyExc_TypeError,"null reference");
26890 SWIG_fail;
26891 }
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 (arg1)->base_OnMoveLinks(*arg2);
26895
26896 wxPyEndAllowThreads(__tstate);
26897 if (PyErr_Occurred()) SWIG_fail;
26898 }
26899 Py_INCREF(Py_None); resultobj = Py_None;
26900 return resultobj;
26901 fail:
26902 return NULL;
26903 }
26904
26905
26906 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
26907 PyObject *resultobj;
26908 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26909 wxDC *arg2 = 0 ;
26910 PyObject * obj0 = 0 ;
26911 PyObject * obj1 = 0 ;
26912 char *kwnames[] = {
26913 (char *) "self",(char *) "dc", NULL
26914 };
26915
26916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
26917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26920 SWIG_POINTER_EXCEPTION | 0)) == -1)
26921 SWIG_fail;
26922 if (arg2 == NULL) {
26923 PyErr_SetString(PyExc_TypeError,"null reference");
26924 SWIG_fail;
26925 }
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
26928 (arg1)->base_OnErase(*arg2);
26929
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 Py_INCREF(Py_None); resultobj = Py_None;
26934 return resultobj;
26935 fail:
26936 return NULL;
26937 }
26938
26939
26940 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
26941 PyObject *resultobj;
26942 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26943 wxDC *arg2 = 0 ;
26944 PyObject * obj0 = 0 ;
26945 PyObject * obj1 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "dc", NULL
26948 };
26949
26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
26951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1)
26955 SWIG_fail;
26956 if (arg2 == NULL) {
26957 PyErr_SetString(PyExc_TypeError,"null reference");
26958 SWIG_fail;
26959 }
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 (arg1)->base_OnEraseContents(*arg2);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 Py_INCREF(Py_None); resultobj = Py_None;
26968 return resultobj;
26969 fail:
26970 return NULL;
26971 }
26972
26973
26974 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj;
26976 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26977 wxDC *arg2 = 0 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "dc", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
26985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26988 SWIG_POINTER_EXCEPTION | 0)) == -1)
26989 SWIG_fail;
26990 if (arg2 == NULL) {
26991 PyErr_SetString(PyExc_TypeError,"null reference");
26992 SWIG_fail;
26993 }
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 (arg1)->base_OnHighlight(*arg2);
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 Py_INCREF(Py_None); resultobj = Py_None;
27002 return resultobj;
27003 fail:
27004 return NULL;
27005 }
27006
27007
27008 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj;
27010 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27011 double arg2 ;
27012 double arg3 ;
27013 int arg4 = (int) 0 ;
27014 int arg5 = (int) 0 ;
27015 PyObject * obj0 = 0 ;
27016 PyObject * obj1 = 0 ;
27017 PyObject * obj2 = 0 ;
27018 PyObject * obj3 = 0 ;
27019 PyObject * obj4 = 0 ;
27020 char *kwnames[] = {
27021 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27022 };
27023
27024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27027 arg2 = (double) SWIG_AsDouble(obj1);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 arg3 = (double) SWIG_AsDouble(obj2);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 if (obj3) {
27032 arg4 = (int) SWIG_AsInt(obj3);
27033 if (PyErr_Occurred()) SWIG_fail;
27034 }
27035 if (obj4) {
27036 arg5 = (int) SWIG_AsInt(obj4);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 {
27040 PyThreadState* __tstate = wxPyBeginAllowThreads();
27041 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27042
27043 wxPyEndAllowThreads(__tstate);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 }
27046 Py_INCREF(Py_None); resultobj = Py_None;
27047 return resultobj;
27048 fail:
27049 return NULL;
27050 }
27051
27052
27053 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27054 PyObject *resultobj;
27055 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27056 double arg2 ;
27057 double arg3 ;
27058 int arg4 = (int) 0 ;
27059 int arg5 = (int) 0 ;
27060 PyObject * obj0 = 0 ;
27061 PyObject * obj1 = 0 ;
27062 PyObject * obj2 = 0 ;
27063 PyObject * obj3 = 0 ;
27064 PyObject * obj4 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27072 arg2 = (double) SWIG_AsDouble(obj1);
27073 if (PyErr_Occurred()) SWIG_fail;
27074 arg3 = (double) SWIG_AsDouble(obj2);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 if (obj3) {
27077 arg4 = (int) SWIG_AsInt(obj3);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
27080 if (obj4) {
27081 arg5 = (int) SWIG_AsInt(obj4);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27087
27088 wxPyEndAllowThreads(__tstate);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 Py_INCREF(Py_None); resultobj = Py_None;
27092 return resultobj;
27093 fail:
27094 return NULL;
27095 }
27096
27097
27098 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27099 PyObject *resultobj;
27100 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27101 double arg2 ;
27102 double arg3 ;
27103 int arg4 = (int) 0 ;
27104 int arg5 = (int) 0 ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 PyObject * obj2 = 0 ;
27108 PyObject * obj3 = 0 ;
27109 PyObject * obj4 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27117 arg2 = (double) SWIG_AsDouble(obj1);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 arg3 = (double) SWIG_AsDouble(obj2);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 if (obj3) {
27122 arg4 = (int) SWIG_AsInt(obj3);
27123 if (PyErr_Occurred()) SWIG_fail;
27124 }
27125 if (obj4) {
27126 arg5 = (int) SWIG_AsInt(obj4);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 }
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 Py_INCREF(Py_None); resultobj = Py_None;
27137 return resultobj;
27138 fail:
27139 return NULL;
27140 }
27141
27142
27143 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27144 PyObject *resultobj;
27145 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27146 double arg2 ;
27147 double arg3 ;
27148 PyObject * obj0 = 0 ;
27149 PyObject * obj1 = 0 ;
27150 PyObject * obj2 = 0 ;
27151 char *kwnames[] = {
27152 (char *) "self",(char *) "x",(char *) "y", NULL
27153 };
27154
27155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27158 arg2 = (double) SWIG_AsDouble(obj1);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 arg3 = (double) SWIG_AsDouble(obj2);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 {
27163 PyThreadState* __tstate = wxPyBeginAllowThreads();
27164 (arg1)->base_OnSize(arg2,arg3);
27165
27166 wxPyEndAllowThreads(__tstate);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 }
27169 Py_INCREF(Py_None); resultobj = Py_None;
27170 return resultobj;
27171 fail:
27172 return NULL;
27173 }
27174
27175
27176 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27177 PyObject *resultobj;
27178 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27179 wxDC *arg2 = 0 ;
27180 double arg3 ;
27181 double arg4 ;
27182 double arg5 ;
27183 double arg6 ;
27184 bool arg7 = (bool) True ;
27185 bool result;
27186 PyObject * obj0 = 0 ;
27187 PyObject * obj1 = 0 ;
27188 PyObject * obj2 = 0 ;
27189 PyObject * obj3 = 0 ;
27190 PyObject * obj4 = 0 ;
27191 PyObject * obj5 = 0 ;
27192 PyObject * obj6 = 0 ;
27193 char *kwnames[] = {
27194 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27195 };
27196
27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27201 SWIG_POINTER_EXCEPTION | 0)) == -1)
27202 SWIG_fail;
27203 if (arg2 == NULL) {
27204 PyErr_SetString(PyExc_TypeError,"null reference");
27205 SWIG_fail;
27206 }
27207 arg3 = (double) SWIG_AsDouble(obj2);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 arg4 = (double) SWIG_AsDouble(obj3);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 arg5 = (double) SWIG_AsDouble(obj4);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 arg6 = (double) SWIG_AsDouble(obj5);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 if (obj6) {
27216 arg7 = (bool) SWIG_AsBool(obj6);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 {
27220 PyThreadState* __tstate = wxPyBeginAllowThreads();
27221 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27222
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27227 return resultobj;
27228 fail:
27229 return NULL;
27230 }
27231
27232
27233 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27236 wxDC *arg2 = 0 ;
27237 double arg3 ;
27238 double arg4 ;
27239 double arg5 ;
27240 double arg6 ;
27241 bool arg7 = (bool) True ;
27242 PyObject * obj0 = 0 ;
27243 PyObject * obj1 = 0 ;
27244 PyObject * obj2 = 0 ;
27245 PyObject * obj3 = 0 ;
27246 PyObject * obj4 = 0 ;
27247 PyObject * obj5 = 0 ;
27248 PyObject * obj6 = 0 ;
27249 char *kwnames[] = {
27250 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27251 };
27252
27253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27257 SWIG_POINTER_EXCEPTION | 0)) == -1)
27258 SWIG_fail;
27259 if (arg2 == NULL) {
27260 PyErr_SetString(PyExc_TypeError,"null reference");
27261 SWIG_fail;
27262 }
27263 arg3 = (double) SWIG_AsDouble(obj2);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 arg4 = (double) SWIG_AsDouble(obj3);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 arg5 = (double) SWIG_AsDouble(obj4);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 arg6 = (double) SWIG_AsDouble(obj5);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 if (obj6) {
27272 arg7 = (bool) SWIG_AsBool(obj6);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27278
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 Py_INCREF(Py_None); resultobj = Py_None;
27283 return resultobj;
27284 fail:
27285 return NULL;
27286 }
27287
27288
27289 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27292 bool arg2 ;
27293 double arg3 ;
27294 double arg4 ;
27295 int arg5 = (int) 0 ;
27296 int arg6 = (int) 0 ;
27297 PyObject * obj0 = 0 ;
27298 PyObject * obj1 = 0 ;
27299 PyObject * obj2 = 0 ;
27300 PyObject * obj3 = 0 ;
27301 PyObject * obj4 = 0 ;
27302 PyObject * obj5 = 0 ;
27303 char *kwnames[] = {
27304 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27305 };
27306
27307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27310 arg2 = (bool) SWIG_AsBool(obj1);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 arg3 = (double) SWIG_AsDouble(obj2);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 arg4 = (double) SWIG_AsDouble(obj3);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 if (obj4) {
27317 arg5 = (int) SWIG_AsInt(obj4);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 if (obj5) {
27321 arg6 = (int) SWIG_AsInt(obj5);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 {
27325 PyThreadState* __tstate = wxPyBeginAllowThreads();
27326 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27327
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 Py_INCREF(Py_None); resultobj = Py_None;
27332 return resultobj;
27333 fail:
27334 return NULL;
27335 }
27336
27337
27338 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27339 PyObject *resultobj;
27340 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27341 double arg2 ;
27342 double arg3 ;
27343 int arg4 = (int) 0 ;
27344 int arg5 = (int) 0 ;
27345 PyObject * obj0 = 0 ;
27346 PyObject * obj1 = 0 ;
27347 PyObject * obj2 = 0 ;
27348 PyObject * obj3 = 0 ;
27349 PyObject * obj4 = 0 ;
27350 char *kwnames[] = {
27351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27352 };
27353
27354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27357 arg2 = (double) SWIG_AsDouble(obj1);
27358 if (PyErr_Occurred()) SWIG_fail;
27359 arg3 = (double) SWIG_AsDouble(obj2);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 if (obj3) {
27362 arg4 = (int) SWIG_AsInt(obj3);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 if (obj4) {
27366 arg5 = (int) SWIG_AsInt(obj4);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 Py_INCREF(Py_None); resultobj = Py_None;
27377 return resultobj;
27378 fail:
27379 return NULL;
27380 }
27381
27382
27383 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj;
27385 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27386 double arg2 ;
27387 double arg3 ;
27388 int arg4 = (int) 0 ;
27389 int arg5 = (int) 0 ;
27390 PyObject * obj0 = 0 ;
27391 PyObject * obj1 = 0 ;
27392 PyObject * obj2 = 0 ;
27393 PyObject * obj3 = 0 ;
27394 PyObject * obj4 = 0 ;
27395 char *kwnames[] = {
27396 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27397 };
27398
27399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27402 arg2 = (double) SWIG_AsDouble(obj1);
27403 if (PyErr_Occurred()) SWIG_fail;
27404 arg3 = (double) SWIG_AsDouble(obj2);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 if (obj3) {
27407 arg4 = (int) SWIG_AsInt(obj3);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
27410 if (obj4) {
27411 arg5 = (int) SWIG_AsInt(obj4);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 Py_INCREF(Py_None); resultobj = Py_None;
27422 return resultobj;
27423 fail:
27424 return NULL;
27425 }
27426
27427
27428 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27429 PyObject *resultobj;
27430 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27431 bool arg2 ;
27432 double arg3 ;
27433 double arg4 ;
27434 int arg5 = (int) 0 ;
27435 int arg6 = (int) 0 ;
27436 PyObject * obj0 = 0 ;
27437 PyObject * obj1 = 0 ;
27438 PyObject * obj2 = 0 ;
27439 PyObject * obj3 = 0 ;
27440 PyObject * obj4 = 0 ;
27441 PyObject * obj5 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27449 arg2 = (bool) SWIG_AsBool(obj1);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 arg3 = (double) SWIG_AsDouble(obj2);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 arg4 = (double) SWIG_AsDouble(obj3);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 if (obj4) {
27456 arg5 = (int) SWIG_AsInt(obj4);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 if (obj5) {
27460 arg6 = (int) SWIG_AsInt(obj5);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27466
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 Py_INCREF(Py_None); resultobj = Py_None;
27471 return resultobj;
27472 fail:
27473 return NULL;
27474 }
27475
27476
27477 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj;
27479 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27480 double arg2 ;
27481 double arg3 ;
27482 int arg4 = (int) 0 ;
27483 int arg5 = (int) 0 ;
27484 PyObject * obj0 = 0 ;
27485 PyObject * obj1 = 0 ;
27486 PyObject * obj2 = 0 ;
27487 PyObject * obj3 = 0 ;
27488 PyObject * obj4 = 0 ;
27489 char *kwnames[] = {
27490 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27491 };
27492
27493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27496 arg2 = (double) SWIG_AsDouble(obj1);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 arg3 = (double) SWIG_AsDouble(obj2);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 if (obj3) {
27501 arg4 = (int) SWIG_AsInt(obj3);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 if (obj4) {
27505 arg5 = (int) SWIG_AsInt(obj4);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 Py_INCREF(Py_None); resultobj = Py_None;
27516 return resultobj;
27517 fail:
27518 return NULL;
27519 }
27520
27521
27522 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj;
27524 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27525 double arg2 ;
27526 double arg3 ;
27527 int arg4 = (int) 0 ;
27528 int arg5 = (int) 0 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 PyObject * obj2 = 0 ;
27532 PyObject * obj3 = 0 ;
27533 PyObject * obj4 = 0 ;
27534 char *kwnames[] = {
27535 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27536 };
27537
27538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27541 arg2 = (double) SWIG_AsDouble(obj1);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 arg3 = (double) SWIG_AsDouble(obj2);
27544 if (PyErr_Occurred()) SWIG_fail;
27545 if (obj3) {
27546 arg4 = (int) SWIG_AsInt(obj3);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 if (obj4) {
27550 arg5 = (int) SWIG_AsInt(obj4);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27556
27557 wxPyEndAllowThreads(__tstate);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
27560 Py_INCREF(Py_None); resultobj = Py_None;
27561 return resultobj;
27562 fail:
27563 return NULL;
27564 }
27565
27566
27567 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj;
27569 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27570 wxDC *arg2 = 0 ;
27571 double arg3 ;
27572 double arg4 ;
27573 double arg5 ;
27574 double arg6 ;
27575 PyObject * obj0 = 0 ;
27576 PyObject * obj1 = 0 ;
27577 PyObject * obj2 = 0 ;
27578 PyObject * obj3 = 0 ;
27579 PyObject * obj4 = 0 ;
27580 PyObject * obj5 = 0 ;
27581 char *kwnames[] = {
27582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27583 };
27584
27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27589 SWIG_POINTER_EXCEPTION | 0)) == -1)
27590 SWIG_fail;
27591 if (arg2 == NULL) {
27592 PyErr_SetString(PyExc_TypeError,"null reference");
27593 SWIG_fail;
27594 }
27595 arg3 = (double) SWIG_AsDouble(obj2);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 arg4 = (double) SWIG_AsDouble(obj3);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 arg5 = (double) SWIG_AsDouble(obj4);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 arg6 = (double) SWIG_AsDouble(obj5);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 {
27604 PyThreadState* __tstate = wxPyBeginAllowThreads();
27605 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27606
27607 wxPyEndAllowThreads(__tstate);
27608 if (PyErr_Occurred()) SWIG_fail;
27609 }
27610 Py_INCREF(Py_None); resultobj = Py_None;
27611 return resultobj;
27612 fail:
27613 return NULL;
27614 }
27615
27616
27617 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27618 PyObject *resultobj;
27619 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27620 wxDC *arg2 = 0 ;
27621 PyObject * obj0 = 0 ;
27622 PyObject * obj1 = 0 ;
27623 char *kwnames[] = {
27624 (char *) "self",(char *) "dc", NULL
27625 };
27626
27627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
27628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27631 SWIG_POINTER_EXCEPTION | 0)) == -1)
27632 SWIG_fail;
27633 if (arg2 == NULL) {
27634 PyErr_SetString(PyExc_TypeError,"null reference");
27635 SWIG_fail;
27636 }
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 (arg1)->base_OnDrawControlPoints(*arg2);
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 Py_INCREF(Py_None); resultobj = Py_None;
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27654 wxDC *arg2 = 0 ;
27655 PyObject * obj0 = 0 ;
27656 PyObject * obj1 = 0 ;
27657 char *kwnames[] = {
27658 (char *) "self",(char *) "dc", NULL
27659 };
27660
27661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
27662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27665 SWIG_POINTER_EXCEPTION | 0)) == -1)
27666 SWIG_fail;
27667 if (arg2 == NULL) {
27668 PyErr_SetString(PyExc_TypeError,"null reference");
27669 SWIG_fail;
27670 }
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 (arg1)->base_OnEraseControlPoints(*arg2);
27674
27675 wxPyEndAllowThreads(__tstate);
27676 if (PyErr_Occurred()) SWIG_fail;
27677 }
27678 Py_INCREF(Py_None); resultobj = Py_None;
27679 return resultobj;
27680 fail:
27681 return NULL;
27682 }
27683
27684
27685 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27686 PyObject *resultobj;
27687 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27688 wxDC *arg2 = 0 ;
27689 bool arg3 = (bool) True ;
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 PyObject * obj2 = 0 ;
27693 char *kwnames[] = {
27694 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27695 };
27696
27697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
27698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27701 SWIG_POINTER_EXCEPTION | 0)) == -1)
27702 SWIG_fail;
27703 if (arg2 == NULL) {
27704 PyErr_SetString(PyExc_TypeError,"null reference");
27705 SWIG_fail;
27706 }
27707 if (obj2) {
27708 arg3 = (bool) SWIG_AsBool(obj2);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->base_OnMoveLink(*arg2,arg3);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722 }
27723
27724
27725 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27728 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27729 bool arg3 ;
27730 double arg4 ;
27731 double arg5 ;
27732 int arg6 = (int) 0 ;
27733 int arg7 = (int) 0 ;
27734 PyObject * obj0 = 0 ;
27735 PyObject * obj1 = 0 ;
27736 PyObject * obj2 = 0 ;
27737 PyObject * obj3 = 0 ;
27738 PyObject * obj4 = 0 ;
27739 PyObject * obj5 = 0 ;
27740 PyObject * obj6 = 0 ;
27741 char *kwnames[] = {
27742 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27743 };
27744
27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27750 arg3 = (bool) SWIG_AsBool(obj2);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 arg4 = (double) SWIG_AsDouble(obj3);
27753 if (PyErr_Occurred()) SWIG_fail;
27754 arg5 = (double) SWIG_AsDouble(obj4);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 if (obj5) {
27757 arg6 = (int) SWIG_AsInt(obj5);
27758 if (PyErr_Occurred()) SWIG_fail;
27759 }
27760 if (obj6) {
27761 arg7 = (int) SWIG_AsInt(obj6);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 Py_INCREF(Py_None); resultobj = Py_None;
27772 return resultobj;
27773 fail:
27774 return NULL;
27775 }
27776
27777
27778 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27779 PyObject *resultobj;
27780 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27781 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27782 double arg3 ;
27783 double arg4 ;
27784 int arg5 = (int) 0 ;
27785 int arg6 = (int) 0 ;
27786 PyObject * obj0 = 0 ;
27787 PyObject * obj1 = 0 ;
27788 PyObject * obj2 = 0 ;
27789 PyObject * obj3 = 0 ;
27790 PyObject * obj4 = 0 ;
27791 PyObject * obj5 = 0 ;
27792 char *kwnames[] = {
27793 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27794 };
27795
27796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27801 arg3 = (double) SWIG_AsDouble(obj2);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 arg4 = (double) SWIG_AsDouble(obj3);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 if (obj4) {
27806 arg5 = (int) SWIG_AsInt(obj4);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 if (obj5) {
27810 arg6 = (int) SWIG_AsInt(obj5);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 Py_INCREF(Py_None); resultobj = Py_None;
27821 return resultobj;
27822 fail:
27823 return NULL;
27824 }
27825
27826
27827 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj;
27829 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27830 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27831 double arg3 ;
27832 double arg4 ;
27833 int arg5 = (int) 0 ;
27834 int arg6 = (int) 0 ;
27835 PyObject * obj0 = 0 ;
27836 PyObject * obj1 = 0 ;
27837 PyObject * obj2 = 0 ;
27838 PyObject * obj3 = 0 ;
27839 PyObject * obj4 = 0 ;
27840 PyObject * obj5 = 0 ;
27841 char *kwnames[] = {
27842 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27843 };
27844
27845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27850 arg3 = (double) SWIG_AsDouble(obj2);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 arg4 = (double) SWIG_AsDouble(obj3);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 if (obj4) {
27855 arg5 = (int) SWIG_AsInt(obj4);
27856 if (PyErr_Occurred()) SWIG_fail;
27857 }
27858 if (obj5) {
27859 arg6 = (int) SWIG_AsInt(obj5);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
27865
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
27869 Py_INCREF(Py_None); resultobj = Py_None;
27870 return resultobj;
27871 fail:
27872 return NULL;
27873 }
27874
27875
27876 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27877 PyObject *resultobj;
27878 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27879 double arg2 ;
27880 double arg3 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 PyObject * obj2 = 0 ;
27884 char *kwnames[] = {
27885 (char *) "self",(char *) "w",(char *) "h", NULL
27886 };
27887
27888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27891 arg2 = (double) SWIG_AsDouble(obj1);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 arg3 = (double) SWIG_AsDouble(obj2);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 {
27896 PyThreadState* __tstate = wxPyBeginAllowThreads();
27897 (arg1)->base_OnBeginSize(arg2,arg3);
27898
27899 wxPyEndAllowThreads(__tstate);
27900 if (PyErr_Occurred()) SWIG_fail;
27901 }
27902 Py_INCREF(Py_None); resultobj = Py_None;
27903 return resultobj;
27904 fail:
27905 return NULL;
27906 }
27907
27908
27909 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27910 PyObject *resultobj;
27911 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27912 double arg2 ;
27913 double arg3 ;
27914 PyObject * obj0 = 0 ;
27915 PyObject * obj1 = 0 ;
27916 PyObject * obj2 = 0 ;
27917 char *kwnames[] = {
27918 (char *) "self",(char *) "w",(char *) "h", NULL
27919 };
27920
27921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27924 arg2 = (double) SWIG_AsDouble(obj1);
27925 if (PyErr_Occurred()) SWIG_fail;
27926 arg3 = (double) SWIG_AsDouble(obj2);
27927 if (PyErr_Occurred()) SWIG_fail;
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 (arg1)->base_OnEndSize(arg2,arg3);
27931
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 Py_INCREF(Py_None); resultobj = Py_None;
27936 return resultobj;
27937 fail:
27938 return NULL;
27939 }
27940
27941
27942 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
27943 PyObject *obj;
27944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27945 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
27946 Py_INCREF(obj);
27947 return Py_BuildValue((char *)"");
27948 }
27949 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj;
27951 wxPyPolygonShape *result;
27952 char *kwnames[] = {
27953 NULL
27954 };
27955
27956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
27957 {
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 result = (wxPyPolygonShape *)new wxPyPolygonShape();
27960
27961 wxPyEndAllowThreads(__tstate);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
27965 return resultobj;
27966 fail:
27967 return NULL;
27968 }
27969
27970
27971 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27972 PyObject *resultobj;
27973 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
27974 PyObject *arg2 = (PyObject *) 0 ;
27975 PyObject *arg3 = (PyObject *) 0 ;
27976 PyObject * obj0 = 0 ;
27977 PyObject * obj1 = 0 ;
27978 PyObject * obj2 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self",(char *) "self",(char *) "_class", NULL
27981 };
27982
27983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27986 arg2 = obj1;
27987 arg3 = obj2;
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 (arg1)->_setCallbackInfo(arg2,arg3);
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
27995 Py_INCREF(Py_None); resultobj = Py_None;
27996 return resultobj;
27997 fail:
27998 return NULL;
27999 }
28000
28001
28002 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj;
28004 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28005 PyObject *arg2 = (PyObject *) 0 ;
28006 PyObject *result;
28007 PyObject * obj0 = 0 ;
28008 PyObject * obj1 = 0 ;
28009 char *kwnames[] = {
28010 (char *) "self",(char *) "points", NULL
28011 };
28012
28013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28016 arg2 = obj1;
28017 {
28018 PyThreadState* __tstate = wxPyBeginAllowThreads();
28019 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28020
28021 wxPyEndAllowThreads(__tstate);
28022 if (PyErr_Occurred()) SWIG_fail;
28023 }
28024 resultobj = result;
28025 return resultobj;
28026 fail:
28027 return NULL;
28028 }
28029
28030
28031 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28032 PyObject *resultobj;
28033 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28034 int arg2 = (int) 0 ;
28035 PyObject * obj0 = 0 ;
28036 PyObject * obj1 = 0 ;
28037 char *kwnames[] = {
28038 (char *) "self",(char *) "pos", NULL
28039 };
28040
28041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28044 if (obj1) {
28045 arg2 = (int) SWIG_AsInt(obj1);
28046 if (PyErr_Occurred()) SWIG_fail;
28047 }
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 (arg1)->AddPolygonPoint(arg2);
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 Py_INCREF(Py_None); resultobj = Py_None;
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28063 PyObject *resultobj;
28064 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28065 PyObject * obj0 = 0 ;
28066 char *kwnames[] = {
28067 (char *) "self", NULL
28068 };
28069
28070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 (arg1)->CalculatePolygonCentre();
28076
28077 wxPyEndAllowThreads(__tstate);
28078 if (PyErr_Occurred()) SWIG_fail;
28079 }
28080 Py_INCREF(Py_None); resultobj = Py_None;
28081 return resultobj;
28082 fail:
28083 return NULL;
28084 }
28085
28086
28087 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28088 PyObject *resultobj;
28089 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28090 int arg2 = (int) 0 ;
28091 PyObject * obj0 = 0 ;
28092 PyObject * obj1 = 0 ;
28093 char *kwnames[] = {
28094 (char *) "self",(char *) "pos", NULL
28095 };
28096
28097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
28098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28100 if (obj1) {
28101 arg2 = (int) SWIG_AsInt(obj1);
28102 if (PyErr_Occurred()) SWIG_fail;
28103 }
28104 {
28105 PyThreadState* __tstate = wxPyBeginAllowThreads();
28106 (arg1)->DeletePolygonPoint(arg2);
28107
28108 wxPyEndAllowThreads(__tstate);
28109 if (PyErr_Occurred()) SWIG_fail;
28110 }
28111 Py_INCREF(Py_None); resultobj = Py_None;
28112 return resultobj;
28113 fail:
28114 return NULL;
28115 }
28116
28117
28118 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28119 PyObject *resultobj;
28120 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28121 PyObject *result;
28122 PyObject * obj0 = 0 ;
28123 char *kwnames[] = {
28124 (char *) "self", NULL
28125 };
28126
28127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28130 {
28131 PyThreadState* __tstate = wxPyBeginAllowThreads();
28132 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28133
28134 wxPyEndAllowThreads(__tstate);
28135 if (PyErr_Occurred()) SWIG_fail;
28136 }
28137 resultobj = result;
28138 return resultobj;
28139 fail:
28140 return NULL;
28141 }
28142
28143
28144 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28145 PyObject *resultobj;
28146 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28147 PyObject *result;
28148 PyObject * obj0 = 0 ;
28149 char *kwnames[] = {
28150 (char *) "self", NULL
28151 };
28152
28153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28156 {
28157 PyThreadState* __tstate = wxPyBeginAllowThreads();
28158 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28159
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
28163 resultobj = result;
28164 return resultobj;
28165 fail:
28166 return NULL;
28167 }
28168
28169
28170 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28171 PyObject *resultobj;
28172 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28173 double result;
28174 PyObject * obj0 = 0 ;
28175 char *kwnames[] = {
28176 (char *) "self", NULL
28177 };
28178
28179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28182 {
28183 PyThreadState* __tstate = wxPyBeginAllowThreads();
28184 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28185
28186 wxPyEndAllowThreads(__tstate);
28187 if (PyErr_Occurred()) SWIG_fail;
28188 }
28189 resultobj = SWIG_FromDouble((double)result);
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28199 double result;
28200 PyObject * obj0 = 0 ;
28201 char *kwnames[] = {
28202 (char *) "self", NULL
28203 };
28204
28205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 resultobj = SWIG_FromDouble((double)result);
28216 return resultobj;
28217 fail:
28218 return NULL;
28219 }
28220
28221
28222 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28223 PyObject *resultobj;
28224 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28225 double arg2 ;
28226 PyObject * obj0 = 0 ;
28227 PyObject * obj1 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "self",(char *) "w", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
28233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28235 arg2 = (double) SWIG_AsDouble(obj1);
28236 if (PyErr_Occurred()) SWIG_fail;
28237 {
28238 PyThreadState* __tstate = wxPyBeginAllowThreads();
28239 (arg1)->SetOriginalWidth(arg2);
28240
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 Py_INCREF(Py_None); resultobj = Py_None;
28245 return resultobj;
28246 fail:
28247 return NULL;
28248 }
28249
28250
28251 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28252 PyObject *resultobj;
28253 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28254 double arg2 ;
28255 PyObject * obj0 = 0 ;
28256 PyObject * obj1 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self",(char *) "h", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
28262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28264 arg2 = (double) SWIG_AsDouble(obj1);
28265 if (PyErr_Occurred()) SWIG_fail;
28266 {
28267 PyThreadState* __tstate = wxPyBeginAllowThreads();
28268 (arg1)->SetOriginalHeight(arg2);
28269
28270 wxPyEndAllowThreads(__tstate);
28271 if (PyErr_Occurred()) SWIG_fail;
28272 }
28273 Py_INCREF(Py_None); resultobj = Py_None;
28274 return resultobj;
28275 fail:
28276 return NULL;
28277 }
28278
28279
28280 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28281 PyObject *resultobj;
28282 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28283 PyObject * obj0 = 0 ;
28284 char *kwnames[] = {
28285 (char *) "self", NULL
28286 };
28287
28288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
28289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28291 {
28292 PyThreadState* __tstate = wxPyBeginAllowThreads();
28293 (arg1)->UpdateOriginalPoints();
28294
28295 wxPyEndAllowThreads(__tstate);
28296 if (PyErr_Occurred()) SWIG_fail;
28297 }
28298 Py_INCREF(Py_None); resultobj = Py_None;
28299 return resultobj;
28300 fail:
28301 return NULL;
28302 }
28303
28304
28305 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
28306 PyObject *resultobj;
28307 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28308 wxDC *arg2 = 0 ;
28309 PyObject * obj0 = 0 ;
28310 PyObject * obj1 = 0 ;
28311 char *kwnames[] = {
28312 (char *) "self",(char *) "dc", NULL
28313 };
28314
28315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
28316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28319 SWIG_POINTER_EXCEPTION | 0)) == -1)
28320 SWIG_fail;
28321 if (arg2 == NULL) {
28322 PyErr_SetString(PyExc_TypeError,"null reference");
28323 SWIG_fail;
28324 }
28325 {
28326 PyThreadState* __tstate = wxPyBeginAllowThreads();
28327 (arg1)->base_OnDraw(*arg2);
28328
28329 wxPyEndAllowThreads(__tstate);
28330 if (PyErr_Occurred()) SWIG_fail;
28331 }
28332 Py_INCREF(Py_None); resultobj = Py_None;
28333 return resultobj;
28334 fail:
28335 return NULL;
28336 }
28337
28338
28339 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28340 PyObject *resultobj;
28341 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28342 wxDC *arg2 = 0 ;
28343 PyObject * obj0 = 0 ;
28344 PyObject * obj1 = 0 ;
28345 char *kwnames[] = {
28346 (char *) "self",(char *) "dc", NULL
28347 };
28348
28349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
28350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28353 SWIG_POINTER_EXCEPTION | 0)) == -1)
28354 SWIG_fail;
28355 if (arg2 == NULL) {
28356 PyErr_SetString(PyExc_TypeError,"null reference");
28357 SWIG_fail;
28358 }
28359 {
28360 PyThreadState* __tstate = wxPyBeginAllowThreads();
28361 (arg1)->base_OnDrawContents(*arg2);
28362
28363 wxPyEndAllowThreads(__tstate);
28364 if (PyErr_Occurred()) SWIG_fail;
28365 }
28366 Py_INCREF(Py_None); resultobj = Py_None;
28367 return resultobj;
28368 fail:
28369 return NULL;
28370 }
28371
28372
28373 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
28374 PyObject *resultobj;
28375 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28376 wxDC *arg2 = 0 ;
28377 bool arg3 = (bool) FALSE ;
28378 PyObject * obj0 = 0 ;
28379 PyObject * obj1 = 0 ;
28380 PyObject * obj2 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self",(char *) "dc",(char *) "erase", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
28386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28389 SWIG_POINTER_EXCEPTION | 0)) == -1)
28390 SWIG_fail;
28391 if (arg2 == NULL) {
28392 PyErr_SetString(PyExc_TypeError,"null reference");
28393 SWIG_fail;
28394 }
28395 if (obj2) {
28396 arg3 = (bool) SWIG_AsBool(obj2);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 (arg1)->base_OnDrawBranches(*arg2,arg3);
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 Py_INCREF(Py_None); resultobj = Py_None;
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj;
28415 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28416 wxDC *arg2 = 0 ;
28417 PyObject * obj0 = 0 ;
28418 PyObject * obj1 = 0 ;
28419 char *kwnames[] = {
28420 (char *) "self",(char *) "dc", NULL
28421 };
28422
28423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
28424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28427 SWIG_POINTER_EXCEPTION | 0)) == -1)
28428 SWIG_fail;
28429 if (arg2 == NULL) {
28430 PyErr_SetString(PyExc_TypeError,"null reference");
28431 SWIG_fail;
28432 }
28433 {
28434 PyThreadState* __tstate = wxPyBeginAllowThreads();
28435 (arg1)->base_OnMoveLinks(*arg2);
28436
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 Py_INCREF(Py_None); resultobj = Py_None;
28441 return resultobj;
28442 fail:
28443 return NULL;
28444 }
28445
28446
28447 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
28448 PyObject *resultobj;
28449 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28450 wxDC *arg2 = 0 ;
28451 PyObject * obj0 = 0 ;
28452 PyObject * obj1 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self",(char *) "dc", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
28458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28461 SWIG_POINTER_EXCEPTION | 0)) == -1)
28462 SWIG_fail;
28463 if (arg2 == NULL) {
28464 PyErr_SetString(PyExc_TypeError,"null reference");
28465 SWIG_fail;
28466 }
28467 {
28468 PyThreadState* __tstate = wxPyBeginAllowThreads();
28469 (arg1)->base_OnErase(*arg2);
28470
28471 wxPyEndAllowThreads(__tstate);
28472 if (PyErr_Occurred()) SWIG_fail;
28473 }
28474 Py_INCREF(Py_None); resultobj = Py_None;
28475 return resultobj;
28476 fail:
28477 return NULL;
28478 }
28479
28480
28481 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28484 wxDC *arg2 = 0 ;
28485 PyObject * obj0 = 0 ;
28486 PyObject * obj1 = 0 ;
28487 char *kwnames[] = {
28488 (char *) "self",(char *) "dc", NULL
28489 };
28490
28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
28492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28495 SWIG_POINTER_EXCEPTION | 0)) == -1)
28496 SWIG_fail;
28497 if (arg2 == NULL) {
28498 PyErr_SetString(PyExc_TypeError,"null reference");
28499 SWIG_fail;
28500 }
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
28503 (arg1)->base_OnEraseContents(*arg2);
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
28508 Py_INCREF(Py_None); resultobj = Py_None;
28509 return resultobj;
28510 fail:
28511 return NULL;
28512 }
28513
28514
28515 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
28516 PyObject *resultobj;
28517 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28518 wxDC *arg2 = 0 ;
28519 PyObject * obj0 = 0 ;
28520 PyObject * obj1 = 0 ;
28521 char *kwnames[] = {
28522 (char *) "self",(char *) "dc", NULL
28523 };
28524
28525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
28526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28529 SWIG_POINTER_EXCEPTION | 0)) == -1)
28530 SWIG_fail;
28531 if (arg2 == NULL) {
28532 PyErr_SetString(PyExc_TypeError,"null reference");
28533 SWIG_fail;
28534 }
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 (arg1)->base_OnHighlight(*arg2);
28538
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 Py_INCREF(Py_None); resultobj = Py_None;
28543 return resultobj;
28544 fail:
28545 return NULL;
28546 }
28547
28548
28549 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28550 PyObject *resultobj;
28551 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28552 double arg2 ;
28553 double arg3 ;
28554 int arg4 = (int) 0 ;
28555 int arg5 = (int) 0 ;
28556 PyObject * obj0 = 0 ;
28557 PyObject * obj1 = 0 ;
28558 PyObject * obj2 = 0 ;
28559 PyObject * obj3 = 0 ;
28560 PyObject * obj4 = 0 ;
28561 char *kwnames[] = {
28562 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28563 };
28564
28565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28568 arg2 = (double) SWIG_AsDouble(obj1);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 arg3 = (double) SWIG_AsDouble(obj2);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 if (obj3) {
28573 arg4 = (int) SWIG_AsInt(obj3);
28574 if (PyErr_Occurred()) SWIG_fail;
28575 }
28576 if (obj4) {
28577 arg5 = (int) SWIG_AsInt(obj4);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 {
28581 PyThreadState* __tstate = wxPyBeginAllowThreads();
28582 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28583
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 Py_INCREF(Py_None); resultobj = Py_None;
28588 return resultobj;
28589 fail:
28590 return NULL;
28591 }
28592
28593
28594 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28595 PyObject *resultobj;
28596 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28597 double arg2 ;
28598 double arg3 ;
28599 int arg4 = (int) 0 ;
28600 int arg5 = (int) 0 ;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 PyObject * obj2 = 0 ;
28604 PyObject * obj3 = 0 ;
28605 PyObject * obj4 = 0 ;
28606 char *kwnames[] = {
28607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28608 };
28609
28610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28613 arg2 = (double) SWIG_AsDouble(obj1);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 arg3 = (double) SWIG_AsDouble(obj2);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 if (obj3) {
28618 arg4 = (int) SWIG_AsInt(obj3);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 if (obj4) {
28622 arg5 = (int) SWIG_AsInt(obj4);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 {
28626 PyThreadState* __tstate = wxPyBeginAllowThreads();
28627 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28628
28629 wxPyEndAllowThreads(__tstate);
28630 if (PyErr_Occurred()) SWIG_fail;
28631 }
28632 Py_INCREF(Py_None); resultobj = Py_None;
28633 return resultobj;
28634 fail:
28635 return NULL;
28636 }
28637
28638
28639 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
28640 PyObject *resultobj;
28641 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28642 double arg2 ;
28643 double arg3 ;
28644 int arg4 = (int) 0 ;
28645 int arg5 = (int) 0 ;
28646 PyObject * obj0 = 0 ;
28647 PyObject * obj1 = 0 ;
28648 PyObject * obj2 = 0 ;
28649 PyObject * obj3 = 0 ;
28650 PyObject * obj4 = 0 ;
28651 char *kwnames[] = {
28652 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28653 };
28654
28655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28658 arg2 = (double) SWIG_AsDouble(obj1);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 arg3 = (double) SWIG_AsDouble(obj2);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 if (obj3) {
28663 arg4 = (int) SWIG_AsInt(obj3);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 if (obj4) {
28667 arg5 = (int) SWIG_AsInt(obj4);
28668 if (PyErr_Occurred()) SWIG_fail;
28669 }
28670 {
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 Py_INCREF(Py_None); resultobj = Py_None;
28678 return resultobj;
28679 fail:
28680 return NULL;
28681 }
28682
28683
28684 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj;
28686 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28687 double arg2 ;
28688 double arg3 ;
28689 PyObject * obj0 = 0 ;
28690 PyObject * obj1 = 0 ;
28691 PyObject * obj2 = 0 ;
28692 char *kwnames[] = {
28693 (char *) "self",(char *) "x",(char *) "y", NULL
28694 };
28695
28696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28699 arg2 = (double) SWIG_AsDouble(obj1);
28700 if (PyErr_Occurred()) SWIG_fail;
28701 arg3 = (double) SWIG_AsDouble(obj2);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 (arg1)->base_OnSize(arg2,arg3);
28706
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 Py_INCREF(Py_None); resultobj = Py_None;
28711 return resultobj;
28712 fail:
28713 return NULL;
28714 }
28715
28716
28717 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
28718 PyObject *resultobj;
28719 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28720 wxDC *arg2 = 0 ;
28721 double arg3 ;
28722 double arg4 ;
28723 double arg5 ;
28724 double arg6 ;
28725 bool arg7 = (bool) True ;
28726 bool result;
28727 PyObject * obj0 = 0 ;
28728 PyObject * obj1 = 0 ;
28729 PyObject * obj2 = 0 ;
28730 PyObject * obj3 = 0 ;
28731 PyObject * obj4 = 0 ;
28732 PyObject * obj5 = 0 ;
28733 PyObject * obj6 = 0 ;
28734 char *kwnames[] = {
28735 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28736 };
28737
28738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28742 SWIG_POINTER_EXCEPTION | 0)) == -1)
28743 SWIG_fail;
28744 if (arg2 == NULL) {
28745 PyErr_SetString(PyExc_TypeError,"null reference");
28746 SWIG_fail;
28747 }
28748 arg3 = (double) SWIG_AsDouble(obj2);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 arg4 = (double) SWIG_AsDouble(obj3);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 arg5 = (double) SWIG_AsDouble(obj4);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 arg6 = (double) SWIG_AsDouble(obj5);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 if (obj6) {
28757 arg7 = (bool) SWIG_AsBool(obj6);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28763
28764 wxPyEndAllowThreads(__tstate);
28765 if (PyErr_Occurred()) SWIG_fail;
28766 }
28767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28768 return resultobj;
28769 fail:
28770 return NULL;
28771 }
28772
28773
28774 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
28775 PyObject *resultobj;
28776 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28777 wxDC *arg2 = 0 ;
28778 double arg3 ;
28779 double arg4 ;
28780 double arg5 ;
28781 double arg6 ;
28782 bool arg7 = (bool) True ;
28783 PyObject * obj0 = 0 ;
28784 PyObject * obj1 = 0 ;
28785 PyObject * obj2 = 0 ;
28786 PyObject * obj3 = 0 ;
28787 PyObject * obj4 = 0 ;
28788 PyObject * obj5 = 0 ;
28789 PyObject * obj6 = 0 ;
28790 char *kwnames[] = {
28791 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28792 };
28793
28794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28798 SWIG_POINTER_EXCEPTION | 0)) == -1)
28799 SWIG_fail;
28800 if (arg2 == NULL) {
28801 PyErr_SetString(PyExc_TypeError,"null reference");
28802 SWIG_fail;
28803 }
28804 arg3 = (double) SWIG_AsDouble(obj2);
28805 if (PyErr_Occurred()) SWIG_fail;
28806 arg4 = (double) SWIG_AsDouble(obj3);
28807 if (PyErr_Occurred()) SWIG_fail;
28808 arg5 = (double) SWIG_AsDouble(obj4);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 arg6 = (double) SWIG_AsDouble(obj5);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 if (obj6) {
28813 arg7 = (bool) SWIG_AsBool(obj6);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28819
28820 wxPyEndAllowThreads(__tstate);
28821 if (PyErr_Occurred()) SWIG_fail;
28822 }
28823 Py_INCREF(Py_None); resultobj = Py_None;
28824 return resultobj;
28825 fail:
28826 return NULL;
28827 }
28828
28829
28830 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28831 PyObject *resultobj;
28832 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28833 bool arg2 ;
28834 double arg3 ;
28835 double arg4 ;
28836 int arg5 = (int) 0 ;
28837 int arg6 = (int) 0 ;
28838 PyObject * obj0 = 0 ;
28839 PyObject * obj1 = 0 ;
28840 PyObject * obj2 = 0 ;
28841 PyObject * obj3 = 0 ;
28842 PyObject * obj4 = 0 ;
28843 PyObject * obj5 = 0 ;
28844 char *kwnames[] = {
28845 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28846 };
28847
28848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28851 arg2 = (bool) SWIG_AsBool(obj1);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 arg3 = (double) SWIG_AsDouble(obj2);
28854 if (PyErr_Occurred()) SWIG_fail;
28855 arg4 = (double) SWIG_AsDouble(obj3);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 if (obj4) {
28858 arg5 = (int) SWIG_AsInt(obj4);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 }
28861 if (obj5) {
28862 arg6 = (int) SWIG_AsInt(obj5);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28868
28869 wxPyEndAllowThreads(__tstate);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 }
28872 Py_INCREF(Py_None); resultobj = Py_None;
28873 return resultobj;
28874 fail:
28875 return NULL;
28876 }
28877
28878
28879 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28880 PyObject *resultobj;
28881 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28882 double arg2 ;
28883 double arg3 ;
28884 int arg4 = (int) 0 ;
28885 int arg5 = (int) 0 ;
28886 PyObject * obj0 = 0 ;
28887 PyObject * obj1 = 0 ;
28888 PyObject * obj2 = 0 ;
28889 PyObject * obj3 = 0 ;
28890 PyObject * obj4 = 0 ;
28891 char *kwnames[] = {
28892 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28893 };
28894
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28898 arg2 = (double) SWIG_AsDouble(obj1);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 arg3 = (double) SWIG_AsDouble(obj2);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 if (obj3) {
28903 arg4 = (int) SWIG_AsInt(obj3);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
28906 if (obj4) {
28907 arg5 = (int) SWIG_AsInt(obj4);
28908 if (PyErr_Occurred()) SWIG_fail;
28909 }
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
28913
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 Py_INCREF(Py_None); resultobj = Py_None;
28918 return resultobj;
28919 fail:
28920 return NULL;
28921 }
28922
28923
28924 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28925 PyObject *resultobj;
28926 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28927 double arg2 ;
28928 double arg3 ;
28929 int arg4 = (int) 0 ;
28930 int arg5 = (int) 0 ;
28931 PyObject * obj0 = 0 ;
28932 PyObject * obj1 = 0 ;
28933 PyObject * obj2 = 0 ;
28934 PyObject * obj3 = 0 ;
28935 PyObject * obj4 = 0 ;
28936 char *kwnames[] = {
28937 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28938 };
28939
28940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28943 arg2 = (double) SWIG_AsDouble(obj1);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 arg3 = (double) SWIG_AsDouble(obj2);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 if (obj3) {
28948 arg4 = (int) SWIG_AsInt(obj3);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 if (obj4) {
28952 arg5 = (int) SWIG_AsInt(obj4);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 Py_INCREF(Py_None); resultobj = Py_None;
28963 return resultobj;
28964 fail:
28965 return NULL;
28966 }
28967
28968
28969 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28972 bool arg2 ;
28973 double arg3 ;
28974 double arg4 ;
28975 int arg5 = (int) 0 ;
28976 int arg6 = (int) 0 ;
28977 PyObject * obj0 = 0 ;
28978 PyObject * obj1 = 0 ;
28979 PyObject * obj2 = 0 ;
28980 PyObject * obj3 = 0 ;
28981 PyObject * obj4 = 0 ;
28982 PyObject * obj5 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28990 arg2 = (bool) SWIG_AsBool(obj1);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 arg3 = (double) SWIG_AsDouble(obj2);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 arg4 = (double) SWIG_AsDouble(obj3);
28995 if (PyErr_Occurred()) SWIG_fail;
28996 if (obj4) {
28997 arg5 = (int) SWIG_AsInt(obj4);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 if (obj5) {
29001 arg6 = (int) SWIG_AsInt(obj5);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
29004 {
29005 PyThreadState* __tstate = wxPyBeginAllowThreads();
29006 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29007
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 Py_INCREF(Py_None); resultobj = Py_None;
29012 return resultobj;
29013 fail:
29014 return NULL;
29015 }
29016
29017
29018 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29019 PyObject *resultobj;
29020 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29021 double arg2 ;
29022 double arg3 ;
29023 int arg4 = (int) 0 ;
29024 int arg5 = (int) 0 ;
29025 PyObject * obj0 = 0 ;
29026 PyObject * obj1 = 0 ;
29027 PyObject * obj2 = 0 ;
29028 PyObject * obj3 = 0 ;
29029 PyObject * obj4 = 0 ;
29030 char *kwnames[] = {
29031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29032 };
29033
29034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29037 arg2 = (double) SWIG_AsDouble(obj1);
29038 if (PyErr_Occurred()) SWIG_fail;
29039 arg3 = (double) SWIG_AsDouble(obj2);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 if (obj3) {
29042 arg4 = (int) SWIG_AsInt(obj3);
29043 if (PyErr_Occurred()) SWIG_fail;
29044 }
29045 if (obj4) {
29046 arg5 = (int) SWIG_AsInt(obj4);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 {
29050 PyThreadState* __tstate = wxPyBeginAllowThreads();
29051 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29052
29053 wxPyEndAllowThreads(__tstate);
29054 if (PyErr_Occurred()) SWIG_fail;
29055 }
29056 Py_INCREF(Py_None); resultobj = Py_None;
29057 return resultobj;
29058 fail:
29059 return NULL;
29060 }
29061
29062
29063 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29064 PyObject *resultobj;
29065 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29066 double arg2 ;
29067 double arg3 ;
29068 int arg4 = (int) 0 ;
29069 int arg5 = (int) 0 ;
29070 PyObject * obj0 = 0 ;
29071 PyObject * obj1 = 0 ;
29072 PyObject * obj2 = 0 ;
29073 PyObject * obj3 = 0 ;
29074 PyObject * obj4 = 0 ;
29075 char *kwnames[] = {
29076 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29077 };
29078
29079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29082 arg2 = (double) SWIG_AsDouble(obj1);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 arg3 = (double) SWIG_AsDouble(obj2);
29085 if (PyErr_Occurred()) SWIG_fail;
29086 if (obj3) {
29087 arg4 = (int) SWIG_AsInt(obj3);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 if (obj4) {
29091 arg5 = (int) SWIG_AsInt(obj4);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 }
29094 {
29095 PyThreadState* __tstate = wxPyBeginAllowThreads();
29096 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29097
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 Py_INCREF(Py_None); resultobj = Py_None;
29102 return resultobj;
29103 fail:
29104 return NULL;
29105 }
29106
29107
29108 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29109 PyObject *resultobj;
29110 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29111 wxDC *arg2 = 0 ;
29112 double arg3 ;
29113 double arg4 ;
29114 double arg5 ;
29115 double arg6 ;
29116 PyObject * obj0 = 0 ;
29117 PyObject * obj1 = 0 ;
29118 PyObject * obj2 = 0 ;
29119 PyObject * obj3 = 0 ;
29120 PyObject * obj4 = 0 ;
29121 PyObject * obj5 = 0 ;
29122 char *kwnames[] = {
29123 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29124 };
29125
29126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29130 SWIG_POINTER_EXCEPTION | 0)) == -1)
29131 SWIG_fail;
29132 if (arg2 == NULL) {
29133 PyErr_SetString(PyExc_TypeError,"null reference");
29134 SWIG_fail;
29135 }
29136 arg3 = (double) SWIG_AsDouble(obj2);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 arg4 = (double) SWIG_AsDouble(obj3);
29139 if (PyErr_Occurred()) SWIG_fail;
29140 arg5 = (double) SWIG_AsDouble(obj4);
29141 if (PyErr_Occurred()) SWIG_fail;
29142 arg6 = (double) SWIG_AsDouble(obj5);
29143 if (PyErr_Occurred()) SWIG_fail;
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 Py_INCREF(Py_None); resultobj = Py_None;
29152 return resultobj;
29153 fail:
29154 return NULL;
29155 }
29156
29157
29158 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29159 PyObject *resultobj;
29160 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29161 wxDC *arg2 = 0 ;
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
29164 char *kwnames[] = {
29165 (char *) "self",(char *) "dc", NULL
29166 };
29167
29168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
29169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29172 SWIG_POINTER_EXCEPTION | 0)) == -1)
29173 SWIG_fail;
29174 if (arg2 == NULL) {
29175 PyErr_SetString(PyExc_TypeError,"null reference");
29176 SWIG_fail;
29177 }
29178 {
29179 PyThreadState* __tstate = wxPyBeginAllowThreads();
29180 (arg1)->base_OnDrawControlPoints(*arg2);
29181
29182 wxPyEndAllowThreads(__tstate);
29183 if (PyErr_Occurred()) SWIG_fail;
29184 }
29185 Py_INCREF(Py_None); resultobj = Py_None;
29186 return resultobj;
29187 fail:
29188 return NULL;
29189 }
29190
29191
29192 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29193 PyObject *resultobj;
29194 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29195 wxDC *arg2 = 0 ;
29196 PyObject * obj0 = 0 ;
29197 PyObject * obj1 = 0 ;
29198 char *kwnames[] = {
29199 (char *) "self",(char *) "dc", NULL
29200 };
29201
29202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
29203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29206 SWIG_POINTER_EXCEPTION | 0)) == -1)
29207 SWIG_fail;
29208 if (arg2 == NULL) {
29209 PyErr_SetString(PyExc_TypeError,"null reference");
29210 SWIG_fail;
29211 }
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 (arg1)->base_OnEraseControlPoints(*arg2);
29215
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 Py_INCREF(Py_None); resultobj = Py_None;
29220 return resultobj;
29221 fail:
29222 return NULL;
29223 }
29224
29225
29226 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29227 PyObject *resultobj;
29228 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29229 wxDC *arg2 = 0 ;
29230 bool arg3 = (bool) True ;
29231 PyObject * obj0 = 0 ;
29232 PyObject * obj1 = 0 ;
29233 PyObject * obj2 = 0 ;
29234 char *kwnames[] = {
29235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29236 };
29237
29238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
29239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29242 SWIG_POINTER_EXCEPTION | 0)) == -1)
29243 SWIG_fail;
29244 if (arg2 == NULL) {
29245 PyErr_SetString(PyExc_TypeError,"null reference");
29246 SWIG_fail;
29247 }
29248 if (obj2) {
29249 arg3 = (bool) SWIG_AsBool(obj2);
29250 if (PyErr_Occurred()) SWIG_fail;
29251 }
29252 {
29253 PyThreadState* __tstate = wxPyBeginAllowThreads();
29254 (arg1)->base_OnMoveLink(*arg2,arg3);
29255
29256 wxPyEndAllowThreads(__tstate);
29257 if (PyErr_Occurred()) SWIG_fail;
29258 }
29259 Py_INCREF(Py_None); resultobj = Py_None;
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29269 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29270 bool arg3 ;
29271 double arg4 ;
29272 double arg5 ;
29273 int arg6 = (int) 0 ;
29274 int arg7 = (int) 0 ;
29275 PyObject * obj0 = 0 ;
29276 PyObject * obj1 = 0 ;
29277 PyObject * obj2 = 0 ;
29278 PyObject * obj3 = 0 ;
29279 PyObject * obj4 = 0 ;
29280 PyObject * obj5 = 0 ;
29281 PyObject * obj6 = 0 ;
29282 char *kwnames[] = {
29283 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29291 arg3 = (bool) SWIG_AsBool(obj2);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 arg4 = (double) SWIG_AsDouble(obj3);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 arg5 = (double) SWIG_AsDouble(obj4);
29296 if (PyErr_Occurred()) SWIG_fail;
29297 if (obj5) {
29298 arg6 = (int) SWIG_AsInt(obj5);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 if (obj6) {
29302 arg7 = (int) SWIG_AsInt(obj6);
29303 if (PyErr_Occurred()) SWIG_fail;
29304 }
29305 {
29306 PyThreadState* __tstate = wxPyBeginAllowThreads();
29307 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29308
29309 wxPyEndAllowThreads(__tstate);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 Py_INCREF(Py_None); resultobj = Py_None;
29313 return resultobj;
29314 fail:
29315 return NULL;
29316 }
29317
29318
29319 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29320 PyObject *resultobj;
29321 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29322 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29323 double arg3 ;
29324 double arg4 ;
29325 int arg5 = (int) 0 ;
29326 int arg6 = (int) 0 ;
29327 PyObject * obj0 = 0 ;
29328 PyObject * obj1 = 0 ;
29329 PyObject * obj2 = 0 ;
29330 PyObject * obj3 = 0 ;
29331 PyObject * obj4 = 0 ;
29332 PyObject * obj5 = 0 ;
29333 char *kwnames[] = {
29334 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29335 };
29336
29337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29342 arg3 = (double) SWIG_AsDouble(obj2);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 arg4 = (double) SWIG_AsDouble(obj3);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 if (obj4) {
29347 arg5 = (int) SWIG_AsInt(obj4);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 }
29350 if (obj5) {
29351 arg6 = (int) SWIG_AsInt(obj5);
29352 if (PyErr_Occurred()) SWIG_fail;
29353 }
29354 {
29355 PyThreadState* __tstate = wxPyBeginAllowThreads();
29356 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29357
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 Py_INCREF(Py_None); resultobj = Py_None;
29362 return resultobj;
29363 fail:
29364 return NULL;
29365 }
29366
29367
29368 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29369 PyObject *resultobj;
29370 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29371 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29372 double arg3 ;
29373 double arg4 ;
29374 int arg5 = (int) 0 ;
29375 int arg6 = (int) 0 ;
29376 PyObject * obj0 = 0 ;
29377 PyObject * obj1 = 0 ;
29378 PyObject * obj2 = 0 ;
29379 PyObject * obj3 = 0 ;
29380 PyObject * obj4 = 0 ;
29381 PyObject * obj5 = 0 ;
29382 char *kwnames[] = {
29383 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29384 };
29385
29386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29391 arg3 = (double) SWIG_AsDouble(obj2);
29392 if (PyErr_Occurred()) SWIG_fail;
29393 arg4 = (double) SWIG_AsDouble(obj3);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 if (obj4) {
29396 arg5 = (int) SWIG_AsInt(obj4);
29397 if (PyErr_Occurred()) SWIG_fail;
29398 }
29399 if (obj5) {
29400 arg6 = (int) SWIG_AsInt(obj5);
29401 if (PyErr_Occurred()) SWIG_fail;
29402 }
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29406
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 Py_INCREF(Py_None); resultobj = Py_None;
29411 return resultobj;
29412 fail:
29413 return NULL;
29414 }
29415
29416
29417 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29418 PyObject *resultobj;
29419 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29420 double arg2 ;
29421 double arg3 ;
29422 PyObject * obj0 = 0 ;
29423 PyObject * obj1 = 0 ;
29424 PyObject * obj2 = 0 ;
29425 char *kwnames[] = {
29426 (char *) "self",(char *) "w",(char *) "h", NULL
29427 };
29428
29429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29432 arg2 = (double) SWIG_AsDouble(obj1);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 arg3 = (double) SWIG_AsDouble(obj2);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 {
29437 PyThreadState* __tstate = wxPyBeginAllowThreads();
29438 (arg1)->base_OnBeginSize(arg2,arg3);
29439
29440 wxPyEndAllowThreads(__tstate);
29441 if (PyErr_Occurred()) SWIG_fail;
29442 }
29443 Py_INCREF(Py_None); resultobj = Py_None;
29444 return resultobj;
29445 fail:
29446 return NULL;
29447 }
29448
29449
29450 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29451 PyObject *resultobj;
29452 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29453 double arg2 ;
29454 double arg3 ;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 PyObject * obj2 = 0 ;
29458 char *kwnames[] = {
29459 (char *) "self",(char *) "w",(char *) "h", NULL
29460 };
29461
29462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29465 arg2 = (double) SWIG_AsDouble(obj1);
29466 if (PyErr_Occurred()) SWIG_fail;
29467 arg3 = (double) SWIG_AsDouble(obj2);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 {
29470 PyThreadState* __tstate = wxPyBeginAllowThreads();
29471 (arg1)->base_OnEndSize(arg2,arg3);
29472
29473 wxPyEndAllowThreads(__tstate);
29474 if (PyErr_Occurred()) SWIG_fail;
29475 }
29476 Py_INCREF(Py_None); resultobj = Py_None;
29477 return resultobj;
29478 fail:
29479 return NULL;
29480 }
29481
29482
29483 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
29484 PyObject *obj;
29485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29487 Py_INCREF(obj);
29488 return Py_BuildValue((char *)"");
29489 }
29490 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
29491 PyObject *resultobj;
29492 double arg1 = (double) 0.0 ;
29493 double arg2 = (double) 0.0 ;
29494 wxPyTextShape *result;
29495 PyObject * obj0 = 0 ;
29496 PyObject * obj1 = 0 ;
29497 char *kwnames[] = {
29498 (char *) "width",(char *) "height", NULL
29499 };
29500
29501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29502 if (obj0) {
29503 arg1 = (double) SWIG_AsDouble(obj0);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 if (obj1) {
29507 arg2 = (double) SWIG_AsDouble(obj1);
29508 if (PyErr_Occurred()) SWIG_fail;
29509 }
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29525 PyObject *resultobj;
29526 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29527 PyObject *arg2 = (PyObject *) 0 ;
29528 PyObject *arg3 = (PyObject *) 0 ;
29529 PyObject * obj0 = 0 ;
29530 PyObject * obj1 = 0 ;
29531 PyObject * obj2 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "self",(char *) "self",(char *) "_class", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29539 arg2 = obj1;
29540 arg3 = obj2;
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 (arg1)->_setCallbackInfo(arg2,arg3);
29544
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 Py_INCREF(Py_None); resultobj = Py_None;
29549 return resultobj;
29550 fail:
29551 return NULL;
29552 }
29553
29554
29555 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
29556 PyObject *resultobj;
29557 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29558 PyObject * obj0 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
29564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 (arg1)->base_OnDelete();
29569
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 Py_INCREF(Py_None); resultobj = Py_None;
29574 return resultobj;
29575 fail:
29576 return NULL;
29577 }
29578
29579
29580 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29581 PyObject *resultobj;
29582 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29583 wxDC *arg2 = 0 ;
29584 PyObject * obj0 = 0 ;
29585 PyObject * obj1 = 0 ;
29586 char *kwnames[] = {
29587 (char *) "self",(char *) "dc", NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29594 SWIG_POINTER_EXCEPTION | 0)) == -1)
29595 SWIG_fail;
29596 if (arg2 == NULL) {
29597 PyErr_SetString(PyExc_TypeError,"null reference");
29598 SWIG_fail;
29599 }
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 (arg1)->base_OnDraw(*arg2);
29603
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 Py_INCREF(Py_None); resultobj = Py_None;
29608 return resultobj;
29609 fail:
29610 return NULL;
29611 }
29612
29613
29614 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29615 PyObject *resultobj;
29616 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29617 wxDC *arg2 = 0 ;
29618 PyObject * obj0 = 0 ;
29619 PyObject * obj1 = 0 ;
29620 char *kwnames[] = {
29621 (char *) "self",(char *) "dc", NULL
29622 };
29623
29624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29628 SWIG_POINTER_EXCEPTION | 0)) == -1)
29629 SWIG_fail;
29630 if (arg2 == NULL) {
29631 PyErr_SetString(PyExc_TypeError,"null reference");
29632 SWIG_fail;
29633 }
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 (arg1)->base_OnDrawContents(*arg2);
29637
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
29641 Py_INCREF(Py_None); resultobj = Py_None;
29642 return resultobj;
29643 fail:
29644 return NULL;
29645 }
29646
29647
29648 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29649 PyObject *resultobj;
29650 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29651 wxDC *arg2 = 0 ;
29652 bool arg3 = (bool) FALSE ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 PyObject * obj2 = 0 ;
29656 char *kwnames[] = {
29657 (char *) "self",(char *) "dc",(char *) "erase", NULL
29658 };
29659
29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29664 SWIG_POINTER_EXCEPTION | 0)) == -1)
29665 SWIG_fail;
29666 if (arg2 == NULL) {
29667 PyErr_SetString(PyExc_TypeError,"null reference");
29668 SWIG_fail;
29669 }
29670 if (obj2) {
29671 arg3 = (bool) SWIG_AsBool(obj2);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 (arg1)->base_OnDrawBranches(*arg2,arg3);
29677
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 Py_INCREF(Py_None); resultobj = Py_None;
29682 return resultobj;
29683 fail:
29684 return NULL;
29685 }
29686
29687
29688 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29689 PyObject *resultobj;
29690 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29691 wxDC *arg2 = 0 ;
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 char *kwnames[] = {
29695 (char *) "self",(char *) "dc", NULL
29696 };
29697
29698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1)
29703 SWIG_fail;
29704 if (arg2 == NULL) {
29705 PyErr_SetString(PyExc_TypeError,"null reference");
29706 SWIG_fail;
29707 }
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 (arg1)->base_OnMoveLinks(*arg2);
29711
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 Py_INCREF(Py_None); resultobj = Py_None;
29716 return resultobj;
29717 fail:
29718 return NULL;
29719 }
29720
29721
29722 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29723 PyObject *resultobj;
29724 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29725 wxDC *arg2 = 0 ;
29726 PyObject * obj0 = 0 ;
29727 PyObject * obj1 = 0 ;
29728 char *kwnames[] = {
29729 (char *) "self",(char *) "dc", NULL
29730 };
29731
29732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29736 SWIG_POINTER_EXCEPTION | 0)) == -1)
29737 SWIG_fail;
29738 if (arg2 == NULL) {
29739 PyErr_SetString(PyExc_TypeError,"null reference");
29740 SWIG_fail;
29741 }
29742 {
29743 PyThreadState* __tstate = wxPyBeginAllowThreads();
29744 (arg1)->base_OnErase(*arg2);
29745
29746 wxPyEndAllowThreads(__tstate);
29747 if (PyErr_Occurred()) SWIG_fail;
29748 }
29749 Py_INCREF(Py_None); resultobj = Py_None;
29750 return resultobj;
29751 fail:
29752 return NULL;
29753 }
29754
29755
29756 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29757 PyObject *resultobj;
29758 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29759 wxDC *arg2 = 0 ;
29760 PyObject * obj0 = 0 ;
29761 PyObject * obj1 = 0 ;
29762 char *kwnames[] = {
29763 (char *) "self",(char *) "dc", NULL
29764 };
29765
29766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29770 SWIG_POINTER_EXCEPTION | 0)) == -1)
29771 SWIG_fail;
29772 if (arg2 == NULL) {
29773 PyErr_SetString(PyExc_TypeError,"null reference");
29774 SWIG_fail;
29775 }
29776 {
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 (arg1)->base_OnEraseContents(*arg2);
29779
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
29783 Py_INCREF(Py_None); resultobj = Py_None;
29784 return resultobj;
29785 fail:
29786 return NULL;
29787 }
29788
29789
29790 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29791 PyObject *resultobj;
29792 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29793 wxDC *arg2 = 0 ;
29794 PyObject * obj0 = 0 ;
29795 PyObject * obj1 = 0 ;
29796 char *kwnames[] = {
29797 (char *) "self",(char *) "dc", NULL
29798 };
29799
29800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29804 SWIG_POINTER_EXCEPTION | 0)) == -1)
29805 SWIG_fail;
29806 if (arg2 == NULL) {
29807 PyErr_SetString(PyExc_TypeError,"null reference");
29808 SWIG_fail;
29809 }
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 (arg1)->base_OnHighlight(*arg2);
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 Py_INCREF(Py_None); resultobj = Py_None;
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29825 PyObject *resultobj;
29826 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29827 double arg2 ;
29828 double arg3 ;
29829 int arg4 = (int) 0 ;
29830 int arg5 = (int) 0 ;
29831 PyObject * obj0 = 0 ;
29832 PyObject * obj1 = 0 ;
29833 PyObject * obj2 = 0 ;
29834 PyObject * obj3 = 0 ;
29835 PyObject * obj4 = 0 ;
29836 char *kwnames[] = {
29837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29838 };
29839
29840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29843 arg2 = (double) SWIG_AsDouble(obj1);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 arg3 = (double) SWIG_AsDouble(obj2);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 if (obj3) {
29848 arg4 = (int) SWIG_AsInt(obj3);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 if (obj4) {
29852 arg5 = (int) SWIG_AsInt(obj4);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 {
29856 PyThreadState* __tstate = wxPyBeginAllowThreads();
29857 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29858
29859 wxPyEndAllowThreads(__tstate);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 }
29862 Py_INCREF(Py_None); resultobj = Py_None;
29863 return resultobj;
29864 fail:
29865 return NULL;
29866 }
29867
29868
29869 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29870 PyObject *resultobj;
29871 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29872 double arg2 ;
29873 double arg3 ;
29874 int arg4 = (int) 0 ;
29875 int arg5 = (int) 0 ;
29876 PyObject * obj0 = 0 ;
29877 PyObject * obj1 = 0 ;
29878 PyObject * obj2 = 0 ;
29879 PyObject * obj3 = 0 ;
29880 PyObject * obj4 = 0 ;
29881 char *kwnames[] = {
29882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29883 };
29884
29885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29888 arg2 = (double) SWIG_AsDouble(obj1);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 arg3 = (double) SWIG_AsDouble(obj2);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 if (obj3) {
29893 arg4 = (int) SWIG_AsInt(obj3);
29894 if (PyErr_Occurred()) SWIG_fail;
29895 }
29896 if (obj4) {
29897 arg5 = (int) SWIG_AsInt(obj4);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 {
29901 PyThreadState* __tstate = wxPyBeginAllowThreads();
29902 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
29903
29904 wxPyEndAllowThreads(__tstate);
29905 if (PyErr_Occurred()) SWIG_fail;
29906 }
29907 Py_INCREF(Py_None); resultobj = Py_None;
29908 return resultobj;
29909 fail:
29910 return NULL;
29911 }
29912
29913
29914 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29915 PyObject *resultobj;
29916 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29917 double arg2 ;
29918 double arg3 ;
29919 int arg4 = (int) 0 ;
29920 int arg5 = (int) 0 ;
29921 PyObject * obj0 = 0 ;
29922 PyObject * obj1 = 0 ;
29923 PyObject * obj2 = 0 ;
29924 PyObject * obj3 = 0 ;
29925 PyObject * obj4 = 0 ;
29926 char *kwnames[] = {
29927 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29928 };
29929
29930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29933 arg2 = (double) SWIG_AsDouble(obj1);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 arg3 = (double) SWIG_AsDouble(obj2);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 if (obj3) {
29938 arg4 = (int) SWIG_AsInt(obj3);
29939 if (PyErr_Occurred()) SWIG_fail;
29940 }
29941 if (obj4) {
29942 arg5 = (int) SWIG_AsInt(obj4);
29943 if (PyErr_Occurred()) SWIG_fail;
29944 }
29945 {
29946 PyThreadState* __tstate = wxPyBeginAllowThreads();
29947 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
29948
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 Py_INCREF(Py_None); resultobj = Py_None;
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj;
29961 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29962 double arg2 ;
29963 double arg3 ;
29964 PyObject * obj0 = 0 ;
29965 PyObject * obj1 = 0 ;
29966 PyObject * obj2 = 0 ;
29967 char *kwnames[] = {
29968 (char *) "self",(char *) "x",(char *) "y", NULL
29969 };
29970
29971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29974 arg2 = (double) SWIG_AsDouble(obj1);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 arg3 = (double) SWIG_AsDouble(obj2);
29977 if (PyErr_Occurred()) SWIG_fail;
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 (arg1)->base_OnSize(arg2,arg3);
29981
29982 wxPyEndAllowThreads(__tstate);
29983 if (PyErr_Occurred()) SWIG_fail;
29984 }
29985 Py_INCREF(Py_None); resultobj = Py_None;
29986 return resultobj;
29987 fail:
29988 return NULL;
29989 }
29990
29991
29992 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
29993 PyObject *resultobj;
29994 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29995 wxDC *arg2 = 0 ;
29996 double arg3 ;
29997 double arg4 ;
29998 double arg5 ;
29999 double arg6 ;
30000 bool arg7 = (bool) True ;
30001 bool result;
30002 PyObject * obj0 = 0 ;
30003 PyObject * obj1 = 0 ;
30004 PyObject * obj2 = 0 ;
30005 PyObject * obj3 = 0 ;
30006 PyObject * obj4 = 0 ;
30007 PyObject * obj5 = 0 ;
30008 PyObject * obj6 = 0 ;
30009 char *kwnames[] = {
30010 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30011 };
30012
30013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30017 SWIG_POINTER_EXCEPTION | 0)) == -1)
30018 SWIG_fail;
30019 if (arg2 == NULL) {
30020 PyErr_SetString(PyExc_TypeError,"null reference");
30021 SWIG_fail;
30022 }
30023 arg3 = (double) SWIG_AsDouble(obj2);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 arg4 = (double) SWIG_AsDouble(obj3);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 arg5 = (double) SWIG_AsDouble(obj4);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 arg6 = (double) SWIG_AsDouble(obj5);
30030 if (PyErr_Occurred()) SWIG_fail;
30031 if (obj6) {
30032 arg7 = (bool) SWIG_AsBool(obj6);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 {
30036 PyThreadState* __tstate = wxPyBeginAllowThreads();
30037 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30038
30039 wxPyEndAllowThreads(__tstate);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 }
30042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30043 return resultobj;
30044 fail:
30045 return NULL;
30046 }
30047
30048
30049 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30050 PyObject *resultobj;
30051 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30052 wxDC *arg2 = 0 ;
30053 double arg3 ;
30054 double arg4 ;
30055 double arg5 ;
30056 double arg6 ;
30057 bool arg7 = (bool) True ;
30058 PyObject * obj0 = 0 ;
30059 PyObject * obj1 = 0 ;
30060 PyObject * obj2 = 0 ;
30061 PyObject * obj3 = 0 ;
30062 PyObject * obj4 = 0 ;
30063 PyObject * obj5 = 0 ;
30064 PyObject * obj6 = 0 ;
30065 char *kwnames[] = {
30066 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30067 };
30068
30069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30073 SWIG_POINTER_EXCEPTION | 0)) == -1)
30074 SWIG_fail;
30075 if (arg2 == NULL) {
30076 PyErr_SetString(PyExc_TypeError,"null reference");
30077 SWIG_fail;
30078 }
30079 arg3 = (double) SWIG_AsDouble(obj2);
30080 if (PyErr_Occurred()) SWIG_fail;
30081 arg4 = (double) SWIG_AsDouble(obj3);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 arg5 = (double) SWIG_AsDouble(obj4);
30084 if (PyErr_Occurred()) SWIG_fail;
30085 arg6 = (double) SWIG_AsDouble(obj5);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 if (obj6) {
30088 arg7 = (bool) SWIG_AsBool(obj6);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 {
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30094
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 Py_INCREF(Py_None); resultobj = Py_None;
30099 return resultobj;
30100 fail:
30101 return NULL;
30102 }
30103
30104
30105 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30106 PyObject *resultobj;
30107 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30108 bool arg2 ;
30109 double arg3 ;
30110 double arg4 ;
30111 int arg5 = (int) 0 ;
30112 int arg6 = (int) 0 ;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 PyObject * obj2 = 0 ;
30116 PyObject * obj3 = 0 ;
30117 PyObject * obj4 = 0 ;
30118 PyObject * obj5 = 0 ;
30119 char *kwnames[] = {
30120 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30121 };
30122
30123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30126 arg2 = (bool) SWIG_AsBool(obj1);
30127 if (PyErr_Occurred()) SWIG_fail;
30128 arg3 = (double) SWIG_AsDouble(obj2);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 arg4 = (double) SWIG_AsDouble(obj3);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 if (obj4) {
30133 arg5 = (int) SWIG_AsInt(obj4);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 if (obj5) {
30137 arg6 = (int) SWIG_AsInt(obj5);
30138 if (PyErr_Occurred()) SWIG_fail;
30139 }
30140 {
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30143
30144 wxPyEndAllowThreads(__tstate);
30145 if (PyErr_Occurred()) SWIG_fail;
30146 }
30147 Py_INCREF(Py_None); resultobj = Py_None;
30148 return resultobj;
30149 fail:
30150 return NULL;
30151 }
30152
30153
30154 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30155 PyObject *resultobj;
30156 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30157 double arg2 ;
30158 double arg3 ;
30159 int arg4 = (int) 0 ;
30160 int arg5 = (int) 0 ;
30161 PyObject * obj0 = 0 ;
30162 PyObject * obj1 = 0 ;
30163 PyObject * obj2 = 0 ;
30164 PyObject * obj3 = 0 ;
30165 PyObject * obj4 = 0 ;
30166 char *kwnames[] = {
30167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30168 };
30169
30170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30173 arg2 = (double) SWIG_AsDouble(obj1);
30174 if (PyErr_Occurred()) SWIG_fail;
30175 arg3 = (double) SWIG_AsDouble(obj2);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 if (obj3) {
30178 arg4 = (int) SWIG_AsInt(obj3);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 if (obj4) {
30182 arg5 = (int) SWIG_AsInt(obj4);
30183 if (PyErr_Occurred()) SWIG_fail;
30184 }
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 Py_INCREF(Py_None); resultobj = Py_None;
30193 return resultobj;
30194 fail:
30195 return NULL;
30196 }
30197
30198
30199 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30200 PyObject *resultobj;
30201 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30202 double arg2 ;
30203 double arg3 ;
30204 int arg4 = (int) 0 ;
30205 int arg5 = (int) 0 ;
30206 PyObject * obj0 = 0 ;
30207 PyObject * obj1 = 0 ;
30208 PyObject * obj2 = 0 ;
30209 PyObject * obj3 = 0 ;
30210 PyObject * obj4 = 0 ;
30211 char *kwnames[] = {
30212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30213 };
30214
30215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30218 arg2 = (double) SWIG_AsDouble(obj1);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 arg3 = (double) SWIG_AsDouble(obj2);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 if (obj3) {
30223 arg4 = (int) SWIG_AsInt(obj3);
30224 if (PyErr_Occurred()) SWIG_fail;
30225 }
30226 if (obj4) {
30227 arg5 = (int) SWIG_AsInt(obj4);
30228 if (PyErr_Occurred()) SWIG_fail;
30229 }
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 Py_INCREF(Py_None); resultobj = Py_None;
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30247 bool arg2 ;
30248 double arg3 ;
30249 double arg4 ;
30250 int arg5 = (int) 0 ;
30251 int arg6 = (int) 0 ;
30252 PyObject * obj0 = 0 ;
30253 PyObject * obj1 = 0 ;
30254 PyObject * obj2 = 0 ;
30255 PyObject * obj3 = 0 ;
30256 PyObject * obj4 = 0 ;
30257 PyObject * obj5 = 0 ;
30258 char *kwnames[] = {
30259 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30260 };
30261
30262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30265 arg2 = (bool) SWIG_AsBool(obj1);
30266 if (PyErr_Occurred()) SWIG_fail;
30267 arg3 = (double) SWIG_AsDouble(obj2);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 arg4 = (double) SWIG_AsDouble(obj3);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 if (obj4) {
30272 arg5 = (int) SWIG_AsInt(obj4);
30273 if (PyErr_Occurred()) SWIG_fail;
30274 }
30275 if (obj5) {
30276 arg6 = (int) SWIG_AsInt(obj5);
30277 if (PyErr_Occurred()) SWIG_fail;
30278 }
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30282
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 Py_INCREF(Py_None); resultobj = Py_None;
30287 return resultobj;
30288 fail:
30289 return NULL;
30290 }
30291
30292
30293 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30294 PyObject *resultobj;
30295 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30296 double arg2 ;
30297 double arg3 ;
30298 int arg4 = (int) 0 ;
30299 int arg5 = (int) 0 ;
30300 PyObject * obj0 = 0 ;
30301 PyObject * obj1 = 0 ;
30302 PyObject * obj2 = 0 ;
30303 PyObject * obj3 = 0 ;
30304 PyObject * obj4 = 0 ;
30305 char *kwnames[] = {
30306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30307 };
30308
30309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30312 arg2 = (double) SWIG_AsDouble(obj1);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 arg3 = (double) SWIG_AsDouble(obj2);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 if (obj3) {
30317 arg4 = (int) SWIG_AsInt(obj3);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 }
30320 if (obj4) {
30321 arg5 = (int) SWIG_AsInt(obj4);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 {
30325 PyThreadState* __tstate = wxPyBeginAllowThreads();
30326 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30327
30328 wxPyEndAllowThreads(__tstate);
30329 if (PyErr_Occurred()) SWIG_fail;
30330 }
30331 Py_INCREF(Py_None); resultobj = Py_None;
30332 return resultobj;
30333 fail:
30334 return NULL;
30335 }
30336
30337
30338 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
30339 PyObject *resultobj;
30340 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30341 double arg2 ;
30342 double arg3 ;
30343 int arg4 = (int) 0 ;
30344 int arg5 = (int) 0 ;
30345 PyObject * obj0 = 0 ;
30346 PyObject * obj1 = 0 ;
30347 PyObject * obj2 = 0 ;
30348 PyObject * obj3 = 0 ;
30349 PyObject * obj4 = 0 ;
30350 char *kwnames[] = {
30351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30352 };
30353
30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30357 arg2 = (double) SWIG_AsDouble(obj1);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 arg3 = (double) SWIG_AsDouble(obj2);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 if (obj3) {
30362 arg4 = (int) SWIG_AsInt(obj3);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
30365 if (obj4) {
30366 arg5 = (int) SWIG_AsInt(obj4);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
30369 {
30370 PyThreadState* __tstate = wxPyBeginAllowThreads();
30371 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30372
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 Py_INCREF(Py_None); resultobj = Py_None;
30377 return resultobj;
30378 fail:
30379 return NULL;
30380 }
30381
30382
30383 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30384 PyObject *resultobj;
30385 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30386 wxDC *arg2 = 0 ;
30387 double arg3 ;
30388 double arg4 ;
30389 double arg5 ;
30390 double arg6 ;
30391 PyObject * obj0 = 0 ;
30392 PyObject * obj1 = 0 ;
30393 PyObject * obj2 = 0 ;
30394 PyObject * obj3 = 0 ;
30395 PyObject * obj4 = 0 ;
30396 PyObject * obj5 = 0 ;
30397 char *kwnames[] = {
30398 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30399 };
30400
30401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30405 SWIG_POINTER_EXCEPTION | 0)) == -1)
30406 SWIG_fail;
30407 if (arg2 == NULL) {
30408 PyErr_SetString(PyExc_TypeError,"null reference");
30409 SWIG_fail;
30410 }
30411 arg3 = (double) SWIG_AsDouble(obj2);
30412 if (PyErr_Occurred()) SWIG_fail;
30413 arg4 = (double) SWIG_AsDouble(obj3);
30414 if (PyErr_Occurred()) SWIG_fail;
30415 arg5 = (double) SWIG_AsDouble(obj4);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 arg6 = (double) SWIG_AsDouble(obj5);
30418 if (PyErr_Occurred()) SWIG_fail;
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 Py_INCREF(Py_None); resultobj = Py_None;
30427 return resultobj;
30428 fail:
30429 return NULL;
30430 }
30431
30432
30433 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30434 PyObject *resultobj;
30435 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30436 wxDC *arg2 = 0 ;
30437 PyObject * obj0 = 0 ;
30438 PyObject * obj1 = 0 ;
30439 char *kwnames[] = {
30440 (char *) "self",(char *) "dc", NULL
30441 };
30442
30443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30447 SWIG_POINTER_EXCEPTION | 0)) == -1)
30448 SWIG_fail;
30449 if (arg2 == NULL) {
30450 PyErr_SetString(PyExc_TypeError,"null reference");
30451 SWIG_fail;
30452 }
30453 {
30454 PyThreadState* __tstate = wxPyBeginAllowThreads();
30455 (arg1)->base_OnDrawControlPoints(*arg2);
30456
30457 wxPyEndAllowThreads(__tstate);
30458 if (PyErr_Occurred()) SWIG_fail;
30459 }
30460 Py_INCREF(Py_None); resultobj = Py_None;
30461 return resultobj;
30462 fail:
30463 return NULL;
30464 }
30465
30466
30467 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30468 PyObject *resultobj;
30469 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30470 wxDC *arg2 = 0 ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "self",(char *) "dc", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30481 SWIG_POINTER_EXCEPTION | 0)) == -1)
30482 SWIG_fail;
30483 if (arg2 == NULL) {
30484 PyErr_SetString(PyExc_TypeError,"null reference");
30485 SWIG_fail;
30486 }
30487 {
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
30489 (arg1)->base_OnEraseControlPoints(*arg2);
30490
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 Py_INCREF(Py_None); resultobj = Py_None;
30495 return resultobj;
30496 fail:
30497 return NULL;
30498 }
30499
30500
30501 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30502 PyObject *resultobj;
30503 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30504 wxDC *arg2 = 0 ;
30505 bool arg3 = (bool) True ;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 PyObject * obj2 = 0 ;
30509 char *kwnames[] = {
30510 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30511 };
30512
30513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30517 SWIG_POINTER_EXCEPTION | 0)) == -1)
30518 SWIG_fail;
30519 if (arg2 == NULL) {
30520 PyErr_SetString(PyExc_TypeError,"null reference");
30521 SWIG_fail;
30522 }
30523 if (obj2) {
30524 arg3 = (bool) SWIG_AsBool(obj2);
30525 if (PyErr_Occurred()) SWIG_fail;
30526 }
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->base_OnMoveLink(*arg2,arg3);
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 Py_INCREF(Py_None); resultobj = Py_None;
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj;
30543 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30544 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30545 bool arg3 ;
30546 double arg4 ;
30547 double arg5 ;
30548 int arg6 = (int) 0 ;
30549 int arg7 = (int) 0 ;
30550 PyObject * obj0 = 0 ;
30551 PyObject * obj1 = 0 ;
30552 PyObject * obj2 = 0 ;
30553 PyObject * obj3 = 0 ;
30554 PyObject * obj4 = 0 ;
30555 PyObject * obj5 = 0 ;
30556 PyObject * obj6 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30566 arg3 = (bool) SWIG_AsBool(obj2);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 arg4 = (double) SWIG_AsDouble(obj3);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 arg5 = (double) SWIG_AsDouble(obj4);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 if (obj5) {
30573 arg6 = (int) SWIG_AsInt(obj5);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 if (obj6) {
30577 arg7 = (int) SWIG_AsInt(obj6);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 {
30581 PyThreadState* __tstate = wxPyBeginAllowThreads();
30582 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30583
30584 wxPyEndAllowThreads(__tstate);
30585 if (PyErr_Occurred()) SWIG_fail;
30586 }
30587 Py_INCREF(Py_None); resultobj = Py_None;
30588 return resultobj;
30589 fail:
30590 return NULL;
30591 }
30592
30593
30594 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30595 PyObject *resultobj;
30596 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30597 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30598 double arg3 ;
30599 double arg4 ;
30600 int arg5 = (int) 0 ;
30601 int arg6 = (int) 0 ;
30602 PyObject * obj0 = 0 ;
30603 PyObject * obj1 = 0 ;
30604 PyObject * obj2 = 0 ;
30605 PyObject * obj3 = 0 ;
30606 PyObject * obj4 = 0 ;
30607 PyObject * obj5 = 0 ;
30608 char *kwnames[] = {
30609 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30610 };
30611
30612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30617 arg3 = (double) SWIG_AsDouble(obj2);
30618 if (PyErr_Occurred()) SWIG_fail;
30619 arg4 = (double) SWIG_AsDouble(obj3);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 if (obj4) {
30622 arg5 = (int) SWIG_AsInt(obj4);
30623 if (PyErr_Occurred()) SWIG_fail;
30624 }
30625 if (obj5) {
30626 arg6 = (int) SWIG_AsInt(obj5);
30627 if (PyErr_Occurred()) SWIG_fail;
30628 }
30629 {
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30632
30633 wxPyEndAllowThreads(__tstate);
30634 if (PyErr_Occurred()) SWIG_fail;
30635 }
30636 Py_INCREF(Py_None); resultobj = Py_None;
30637 return resultobj;
30638 fail:
30639 return NULL;
30640 }
30641
30642
30643 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30644 PyObject *resultobj;
30645 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30646 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30647 double arg3 ;
30648 double arg4 ;
30649 int arg5 = (int) 0 ;
30650 int arg6 = (int) 0 ;
30651 PyObject * obj0 = 0 ;
30652 PyObject * obj1 = 0 ;
30653 PyObject * obj2 = 0 ;
30654 PyObject * obj3 = 0 ;
30655 PyObject * obj4 = 0 ;
30656 PyObject * obj5 = 0 ;
30657 char *kwnames[] = {
30658 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30659 };
30660
30661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30666 arg3 = (double) SWIG_AsDouble(obj2);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 arg4 = (double) SWIG_AsDouble(obj3);
30669 if (PyErr_Occurred()) SWIG_fail;
30670 if (obj4) {
30671 arg5 = (int) SWIG_AsInt(obj4);
30672 if (PyErr_Occurred()) SWIG_fail;
30673 }
30674 if (obj5) {
30675 arg6 = (int) SWIG_AsInt(obj5);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30681
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 Py_INCREF(Py_None); resultobj = Py_None;
30686 return resultobj;
30687 fail:
30688 return NULL;
30689 }
30690
30691
30692 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30693 PyObject *resultobj;
30694 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30695 double arg2 ;
30696 double arg3 ;
30697 PyObject * obj0 = 0 ;
30698 PyObject * obj1 = 0 ;
30699 PyObject * obj2 = 0 ;
30700 char *kwnames[] = {
30701 (char *) "self",(char *) "w",(char *) "h", NULL
30702 };
30703
30704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30707 arg2 = (double) SWIG_AsDouble(obj1);
30708 if (PyErr_Occurred()) SWIG_fail;
30709 arg3 = (double) SWIG_AsDouble(obj2);
30710 if (PyErr_Occurred()) SWIG_fail;
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 (arg1)->base_OnBeginSize(arg2,arg3);
30714
30715 wxPyEndAllowThreads(__tstate);
30716 if (PyErr_Occurred()) SWIG_fail;
30717 }
30718 Py_INCREF(Py_None); resultobj = Py_None;
30719 return resultobj;
30720 fail:
30721 return NULL;
30722 }
30723
30724
30725 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30728 double arg2 ;
30729 double arg3 ;
30730 PyObject * obj0 = 0 ;
30731 PyObject * obj1 = 0 ;
30732 PyObject * obj2 = 0 ;
30733 char *kwnames[] = {
30734 (char *) "self",(char *) "w",(char *) "h", NULL
30735 };
30736
30737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30740 arg2 = (double) SWIG_AsDouble(obj1);
30741 if (PyErr_Occurred()) SWIG_fail;
30742 arg3 = (double) SWIG_AsDouble(obj2);
30743 if (PyErr_Occurred()) SWIG_fail;
30744 {
30745 PyThreadState* __tstate = wxPyBeginAllowThreads();
30746 (arg1)->base_OnEndSize(arg2,arg3);
30747
30748 wxPyEndAllowThreads(__tstate);
30749 if (PyErr_Occurred()) SWIG_fail;
30750 }
30751 Py_INCREF(Py_None); resultobj = Py_None;
30752 return resultobj;
30753 fail:
30754 return NULL;
30755 }
30756
30757
30758 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
30759 PyObject *obj;
30760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30761 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30762 Py_INCREF(obj);
30763 return Py_BuildValue((char *)"");
30764 }
30765 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
30766 PyObject *resultobj;
30767 wxDiagram *result;
30768 char *kwnames[] = {
30769 NULL
30770 };
30771
30772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 result = (wxDiagram *)new wxDiagram();
30776
30777 wxPyEndAllowThreads(__tstate);
30778 if (PyErr_Occurred()) SWIG_fail;
30779 }
30780 {
30781 resultobj = wxPyMake_wxObject(result);
30782 }
30783 return resultobj;
30784 fail:
30785 return NULL;
30786 }
30787
30788
30789 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj;
30791 wxDiagram *arg1 = (wxDiagram *) 0 ;
30792 wxPyShape *arg2 = (wxPyShape *) 0 ;
30793 wxPyShape *arg3 = (wxPyShape *) NULL ;
30794 PyObject * obj0 = 0 ;
30795 PyObject * obj1 = 0 ;
30796 PyObject * obj2 = 0 ;
30797 char *kwnames[] = {
30798 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30799 };
30800
30801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
30802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30806 if (obj2) {
30807 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30809 }
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 (arg1)->AddShape(arg2,arg3);
30813
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 Py_INCREF(Py_None); resultobj = Py_None;
30818 return resultobj;
30819 fail:
30820 return NULL;
30821 }
30822
30823
30824 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj;
30826 wxDiagram *arg1 = (wxDiagram *) 0 ;
30827 wxDC *arg2 = 0 ;
30828 PyObject * obj0 = 0 ;
30829 PyObject * obj1 = 0 ;
30830 char *kwnames[] = {
30831 (char *) "self",(char *) "dc", NULL
30832 };
30833
30834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
30835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30838 SWIG_POINTER_EXCEPTION | 0)) == -1)
30839 SWIG_fail;
30840 if (arg2 == NULL) {
30841 PyErr_SetString(PyExc_TypeError,"null reference");
30842 SWIG_fail;
30843 }
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 (arg1)->Clear(*arg2);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 Py_INCREF(Py_None); resultobj = Py_None;
30852 return resultobj;
30853 fail:
30854 return NULL;
30855 }
30856
30857
30858 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
30859 PyObject *resultobj;
30860 wxDiagram *arg1 = (wxDiagram *) 0 ;
30861 PyObject * obj0 = 0 ;
30862 char *kwnames[] = {
30863 (char *) "self", NULL
30864 };
30865
30866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
30867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30869 {
30870 PyThreadState* __tstate = wxPyBeginAllowThreads();
30871 (arg1)->DeleteAllShapes();
30872
30873 wxPyEndAllowThreads(__tstate);
30874 if (PyErr_Occurred()) SWIG_fail;
30875 }
30876 Py_INCREF(Py_None); resultobj = Py_None;
30877 return resultobj;
30878 fail:
30879 return NULL;
30880 }
30881
30882
30883 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
30884 PyObject *resultobj;
30885 wxDiagram *arg1 = (wxDiagram *) 0 ;
30886 wxDC *arg2 = 0 ;
30887 double arg3 ;
30888 double arg4 ;
30889 double arg5 ;
30890 double arg6 ;
30891 PyObject * obj0 = 0 ;
30892 PyObject * obj1 = 0 ;
30893 PyObject * obj2 = 0 ;
30894 PyObject * obj3 = 0 ;
30895 PyObject * obj4 = 0 ;
30896 PyObject * obj5 = 0 ;
30897 char *kwnames[] = {
30898 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30899 };
30900
30901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30905 SWIG_POINTER_EXCEPTION | 0)) == -1)
30906 SWIG_fail;
30907 if (arg2 == NULL) {
30908 PyErr_SetString(PyExc_TypeError,"null reference");
30909 SWIG_fail;
30910 }
30911 arg3 = (double) SWIG_AsDouble(obj2);
30912 if (PyErr_Occurred()) SWIG_fail;
30913 arg4 = (double) SWIG_AsDouble(obj3);
30914 if (PyErr_Occurred()) SWIG_fail;
30915 arg5 = (double) SWIG_AsDouble(obj4);
30916 if (PyErr_Occurred()) SWIG_fail;
30917 arg6 = (double) SWIG_AsDouble(obj5);
30918 if (PyErr_Occurred()) SWIG_fail;
30919 {
30920 PyThreadState* __tstate = wxPyBeginAllowThreads();
30921 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
30922
30923 wxPyEndAllowThreads(__tstate);
30924 if (PyErr_Occurred()) SWIG_fail;
30925 }
30926 Py_INCREF(Py_None); resultobj = Py_None;
30927 return resultobj;
30928 fail:
30929 return NULL;
30930 }
30931
30932
30933 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30934 PyObject *resultobj;
30935 wxDiagram *arg1 = (wxDiagram *) 0 ;
30936 long arg2 ;
30937 wxPyShape *result;
30938 PyObject * obj0 = 0 ;
30939 PyObject * obj1 = 0 ;
30940 char *kwnames[] = {
30941 (char *) "self",(char *) "id", NULL
30942 };
30943
30944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
30945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30947 arg2 = (long) SWIG_AsLong(obj1);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 {
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 result = (wxPyShape *)(arg1)->FindShape(arg2);
30952
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
30956 {
30957 resultobj = wxPyMake_wxShapeEvtHandler(result);
30958 }
30959 return resultobj;
30960 fail:
30961 return NULL;
30962 }
30963
30964
30965 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj;
30967 wxDiagram *arg1 = (wxDiagram *) 0 ;
30968 wxPyShapeCanvas *result;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
30975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 {
30985 resultobj = wxPyMake_wxObject(result);
30986 }
30987 return resultobj;
30988 fail:
30989 return NULL;
30990 }
30991
30992
30993 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj;
30995 wxDiagram *arg1 = (wxDiagram *) 0 ;
30996 int result;
30997 PyObject * obj0 = 0 ;
30998 char *kwnames[] = {
30999 (char *) "self", NULL
31000 };
31001
31002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31005 {
31006 PyThreadState* __tstate = wxPyBeginAllowThreads();
31007 result = (int)(arg1)->GetCount();
31008
31009 wxPyEndAllowThreads(__tstate);
31010 if (PyErr_Occurred()) SWIG_fail;
31011 }
31012 resultobj = SWIG_FromInt((int)result);
31013 return resultobj;
31014 fail:
31015 return NULL;
31016 }
31017
31018
31019 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31020 PyObject *resultobj;
31021 wxDiagram *arg1 = (wxDiagram *) 0 ;
31022 double result;
31023 PyObject * obj0 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "self", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 result = (double)(arg1)->GetGridSpacing();
31034
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
31038 resultobj = SWIG_FromDouble((double)result);
31039 return resultobj;
31040 fail:
31041 return NULL;
31042 }
31043
31044
31045 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31046 PyObject *resultobj;
31047 wxDiagram *arg1 = (wxDiagram *) 0 ;
31048 int result;
31049 PyObject * obj0 = 0 ;
31050 char *kwnames[] = {
31051 (char *) "self", NULL
31052 };
31053
31054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31057 {
31058 PyThreadState* __tstate = wxPyBeginAllowThreads();
31059 result = (int)(arg1)->GetMouseTolerance();
31060
31061 wxPyEndAllowThreads(__tstate);
31062 if (PyErr_Occurred()) SWIG_fail;
31063 }
31064 resultobj = SWIG_FromInt((int)result);
31065 return resultobj;
31066 fail:
31067 return NULL;
31068 }
31069
31070
31071 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
31072 PyObject *resultobj;
31073 wxDiagram *arg1 = (wxDiagram *) 0 ;
31074 PyObject *result;
31075 PyObject * obj0 = 0 ;
31076 char *kwnames[] = {
31077 (char *) "self", NULL
31078 };
31079
31080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
31081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31083 {
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31086
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 resultobj = result;
31091 return resultobj;
31092 fail:
31093 return NULL;
31094 }
31095
31096
31097 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31098 PyObject *resultobj;
31099 wxDiagram *arg1 = (wxDiagram *) 0 ;
31100 bool result;
31101 PyObject * obj0 = 0 ;
31102 char *kwnames[] = {
31103 (char *) "self", NULL
31104 };
31105
31106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
31107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (bool)(arg1)->GetQuickEditMode();
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31117 return resultobj;
31118 fail:
31119 return NULL;
31120 }
31121
31122
31123 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31124 PyObject *resultobj;
31125 wxDiagram *arg1 = (wxDiagram *) 0 ;
31126 bool result;
31127 PyObject * obj0 = 0 ;
31128 char *kwnames[] = {
31129 (char *) "self", NULL
31130 };
31131
31132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
31133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31135 {
31136 PyThreadState* __tstate = wxPyBeginAllowThreads();
31137 result = (bool)(arg1)->GetSnapToGrid();
31138
31139 wxPyEndAllowThreads(__tstate);
31140 if (PyErr_Occurred()) SWIG_fail;
31141 }
31142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31143 return resultobj;
31144 fail:
31145 return NULL;
31146 }
31147
31148
31149 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31150 PyObject *resultobj;
31151 wxDiagram *arg1 = (wxDiagram *) 0 ;
31152 wxPyShape *arg2 = (wxPyShape *) 0 ;
31153 PyObject * obj0 = 0 ;
31154 PyObject * obj1 = 0 ;
31155 char *kwnames[] = {
31156 (char *) "self",(char *) "shape", NULL
31157 };
31158
31159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31164 {
31165 PyThreadState* __tstate = wxPyBeginAllowThreads();
31166 (arg1)->InsertShape(arg2);
31167
31168 wxPyEndAllowThreads(__tstate);
31169 if (PyErr_Occurred()) SWIG_fail;
31170 }
31171 Py_INCREF(Py_None); resultobj = Py_None;
31172 return resultobj;
31173 fail:
31174 return NULL;
31175 }
31176
31177
31178 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31179 PyObject *resultobj;
31180 wxDiagram *arg1 = (wxDiagram *) 0 ;
31181 wxDC *arg2 = 0 ;
31182 PyObject * obj0 = 0 ;
31183 PyObject * obj1 = 0 ;
31184 char *kwnames[] = {
31185 (char *) "self",(char *) "dc", NULL
31186 };
31187
31188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
31189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31192 SWIG_POINTER_EXCEPTION | 0)) == -1)
31193 SWIG_fail;
31194 if (arg2 == NULL) {
31195 PyErr_SetString(PyExc_TypeError,"null reference");
31196 SWIG_fail;
31197 }
31198 {
31199 PyThreadState* __tstate = wxPyBeginAllowThreads();
31200 (arg1)->RecentreAll(*arg2);
31201
31202 wxPyEndAllowThreads(__tstate);
31203 if (PyErr_Occurred()) SWIG_fail;
31204 }
31205 Py_INCREF(Py_None); resultobj = Py_None;
31206 return resultobj;
31207 fail:
31208 return NULL;
31209 }
31210
31211
31212 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
31213 PyObject *resultobj;
31214 wxDiagram *arg1 = (wxDiagram *) 0 ;
31215 wxDC *arg2 = 0 ;
31216 PyObject * obj0 = 0 ;
31217 PyObject * obj1 = 0 ;
31218 char *kwnames[] = {
31219 (char *) "self",(char *) "dc", NULL
31220 };
31221
31222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
31223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31226 SWIG_POINTER_EXCEPTION | 0)) == -1)
31227 SWIG_fail;
31228 if (arg2 == NULL) {
31229 PyErr_SetString(PyExc_TypeError,"null reference");
31230 SWIG_fail;
31231 }
31232 {
31233 PyThreadState* __tstate = wxPyBeginAllowThreads();
31234 (arg1)->Redraw(*arg2);
31235
31236 wxPyEndAllowThreads(__tstate);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 }
31239 Py_INCREF(Py_None); resultobj = Py_None;
31240 return resultobj;
31241 fail:
31242 return NULL;
31243 }
31244
31245
31246 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31247 PyObject *resultobj;
31248 wxDiagram *arg1 = (wxDiagram *) 0 ;
31249 PyObject * obj0 = 0 ;
31250 char *kwnames[] = {
31251 (char *) "self", NULL
31252 };
31253
31254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
31255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 (arg1)->RemoveAllShapes();
31260
31261 wxPyEndAllowThreads(__tstate);
31262 if (PyErr_Occurred()) SWIG_fail;
31263 }
31264 Py_INCREF(Py_None); resultobj = Py_None;
31265 return resultobj;
31266 fail:
31267 return NULL;
31268 }
31269
31270
31271 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31272 PyObject *resultobj;
31273 wxDiagram *arg1 = (wxDiagram *) 0 ;
31274 wxPyShape *arg2 = (wxPyShape *) 0 ;
31275 PyObject * obj0 = 0 ;
31276 PyObject * obj1 = 0 ;
31277 char *kwnames[] = {
31278 (char *) "self",(char *) "shape", NULL
31279 };
31280
31281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
31282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31286 {
31287 PyThreadState* __tstate = wxPyBeginAllowThreads();
31288 (arg1)->RemoveShape(arg2);
31289
31290 wxPyEndAllowThreads(__tstate);
31291 if (PyErr_Occurred()) SWIG_fail;
31292 }
31293 Py_INCREF(Py_None); resultobj = Py_None;
31294 return resultobj;
31295 fail:
31296 return NULL;
31297 }
31298
31299
31300 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31301 PyObject *resultobj;
31302 wxDiagram *arg1 = (wxDiagram *) 0 ;
31303 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31304 PyObject * obj0 = 0 ;
31305 PyObject * obj1 = 0 ;
31306 char *kwnames[] = {
31307 (char *) "self",(char *) "canvas", NULL
31308 };
31309
31310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
31311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31315 {
31316 PyThreadState* __tstate = wxPyBeginAllowThreads();
31317 (arg1)->SetCanvas(arg2);
31318
31319 wxPyEndAllowThreads(__tstate);
31320 if (PyErr_Occurred()) SWIG_fail;
31321 }
31322 Py_INCREF(Py_None); resultobj = Py_None;
31323 return resultobj;
31324 fail:
31325 return NULL;
31326 }
31327
31328
31329 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31330 PyObject *resultobj;
31331 wxDiagram *arg1 = (wxDiagram *) 0 ;
31332 double arg2 ;
31333 PyObject * obj0 = 0 ;
31334 PyObject * obj1 = 0 ;
31335 char *kwnames[] = {
31336 (char *) "self",(char *) "spacing", NULL
31337 };
31338
31339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
31340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31342 arg2 = (double) SWIG_AsDouble(obj1);
31343 if (PyErr_Occurred()) SWIG_fail;
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 (arg1)->SetGridSpacing(arg2);
31347
31348 wxPyEndAllowThreads(__tstate);
31349 if (PyErr_Occurred()) SWIG_fail;
31350 }
31351 Py_INCREF(Py_None); resultobj = Py_None;
31352 return resultobj;
31353 fail:
31354 return NULL;
31355 }
31356
31357
31358 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31359 PyObject *resultobj;
31360 wxDiagram *arg1 = (wxDiagram *) 0 ;
31361 int arg2 ;
31362 PyObject * obj0 = 0 ;
31363 PyObject * obj1 = 0 ;
31364 char *kwnames[] = {
31365 (char *) "self",(char *) "tolerance", NULL
31366 };
31367
31368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
31369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31371 arg2 = (int) SWIG_AsInt(obj1);
31372 if (PyErr_Occurred()) SWIG_fail;
31373 {
31374 PyThreadState* __tstate = wxPyBeginAllowThreads();
31375 (arg1)->SetMouseTolerance(arg2);
31376
31377 wxPyEndAllowThreads(__tstate);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 }
31380 Py_INCREF(Py_None); resultobj = Py_None;
31381 return resultobj;
31382 fail:
31383 return NULL;
31384 }
31385
31386
31387 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31388 PyObject *resultobj;
31389 wxDiagram *arg1 = (wxDiagram *) 0 ;
31390 bool arg2 ;
31391 PyObject * obj0 = 0 ;
31392 PyObject * obj1 = 0 ;
31393 char *kwnames[] = {
31394 (char *) "self",(char *) "mode", NULL
31395 };
31396
31397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
31398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31400 arg2 = (bool) SWIG_AsBool(obj1);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 {
31403 PyThreadState* __tstate = wxPyBeginAllowThreads();
31404 (arg1)->SetQuickEditMode(arg2);
31405
31406 wxPyEndAllowThreads(__tstate);
31407 if (PyErr_Occurred()) SWIG_fail;
31408 }
31409 Py_INCREF(Py_None); resultobj = Py_None;
31410 return resultobj;
31411 fail:
31412 return NULL;
31413 }
31414
31415
31416 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
31417 PyObject *resultobj;
31418 wxDiagram *arg1 = (wxDiagram *) 0 ;
31419 bool arg2 ;
31420 PyObject * obj0 = 0 ;
31421 PyObject * obj1 = 0 ;
31422 char *kwnames[] = {
31423 (char *) "self",(char *) "snap", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
31427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31429 arg2 = (bool) SWIG_AsBool(obj1);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 {
31432 PyThreadState* __tstate = wxPyBeginAllowThreads();
31433 (arg1)->SetSnapToGrid(arg2);
31434
31435 wxPyEndAllowThreads(__tstate);
31436 if (PyErr_Occurred()) SWIG_fail;
31437 }
31438 Py_INCREF(Py_None); resultobj = Py_None;
31439 return resultobj;
31440 fail:
31441 return NULL;
31442 }
31443
31444
31445 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
31446 PyObject *resultobj;
31447 wxDiagram *arg1 = (wxDiagram *) 0 ;
31448 bool arg2 ;
31449 PyObject * obj0 = 0 ;
31450 PyObject * obj1 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self",(char *) "show", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
31456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31458 arg2 = (bool) SWIG_AsBool(obj1);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 (arg1)->ShowAll(arg2);
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 Py_INCREF(Py_None); resultobj = Py_None;
31468 return resultobj;
31469 fail:
31470 return NULL;
31471 }
31472
31473
31474 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
31475 PyObject *resultobj;
31476 wxDiagram *arg1 = (wxDiagram *) 0 ;
31477 double *arg2 = (double *) 0 ;
31478 double *arg3 = (double *) 0 ;
31479 double temp2 ;
31480 double temp3 ;
31481 PyObject * obj0 = 0 ;
31482 PyObject * obj1 = 0 ;
31483 PyObject * obj2 = 0 ;
31484 char *kwnames[] = {
31485 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31486 };
31487
31488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
31489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31491 {
31492 temp2 = PyFloat_AsDouble(obj1);
31493 if (PyErr_Occurred()) SWIG_fail;
31494 arg2 = &temp2;
31495 }
31496 {
31497 temp3 = PyFloat_AsDouble(obj2);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 arg3 = &temp3;
31500 }
31501 {
31502 PyThreadState* __tstate = wxPyBeginAllowThreads();
31503 (arg1)->Snap(arg2,arg3);
31504
31505 wxPyEndAllowThreads(__tstate);
31506 if (PyErr_Occurred()) SWIG_fail;
31507 }
31508 Py_INCREF(Py_None); resultobj = Py_None;
31509 {
31510 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31511 resultobj = t_output_helper(resultobj,o);
31512 }
31513 {
31514 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31515 resultobj = t_output_helper(resultobj,o);
31516 }
31517 return resultobj;
31518 fail:
31519 return NULL;
31520 }
31521
31522
31523 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
31524 PyObject *obj;
31525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31526 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31527 Py_INCREF(obj);
31528 return Py_BuildValue((char *)"");
31529 }
31530 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31531 PyObject *resultobj;
31532 wxWindow *arg1 = (wxWindow *) NULL ;
31533 int arg2 = (int) -1 ;
31534 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31535 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31536 wxSize const &arg4_defvalue = wxDefaultSize ;
31537 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31538 long arg5 = (long) wxBORDER ;
31539 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31540 wxString *arg6 = (wxString *) &arg6_defvalue ;
31541 wxPyShapeCanvas *result;
31542 wxPoint temp3 ;
31543 wxSize temp4 ;
31544 bool temp6 = False ;
31545 PyObject * obj0 = 0 ;
31546 PyObject * obj1 = 0 ;
31547 PyObject * obj2 = 0 ;
31548 PyObject * obj3 = 0 ;
31549 PyObject * obj4 = 0 ;
31550 PyObject * obj5 = 0 ;
31551 char *kwnames[] = {
31552 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31553 };
31554
31555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31556 if (obj0) {
31557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31559 }
31560 if (obj1) {
31561 arg2 = (int) SWIG_AsInt(obj1);
31562 if (PyErr_Occurred()) SWIG_fail;
31563 }
31564 if (obj2) {
31565 {
31566 arg3 = &temp3;
31567 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31568 }
31569 }
31570 if (obj3) {
31571 {
31572 arg4 = &temp4;
31573 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31574 }
31575 }
31576 if (obj4) {
31577 arg5 = (long) SWIG_AsLong(obj4);
31578 if (PyErr_Occurred()) SWIG_fail;
31579 }
31580 if (obj5) {
31581 {
31582 arg6 = wxString_in_helper(obj5);
31583 if (arg6 == NULL) SWIG_fail;
31584 temp6 = True;
31585 }
31586 }
31587 {
31588 PyThreadState* __tstate = wxPyBeginAllowThreads();
31589 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31590
31591 wxPyEndAllowThreads(__tstate);
31592 if (PyErr_Occurred()) SWIG_fail;
31593 }
31594 {
31595 resultobj = wxPyMake_wxObject(result);
31596 }
31597 {
31598 if (temp6)
31599 delete arg6;
31600 }
31601 return resultobj;
31602 fail:
31603 {
31604 if (temp6)
31605 delete arg6;
31606 }
31607 return NULL;
31608 }
31609
31610
31611 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31612 PyObject *resultobj;
31613 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31614 PyObject *arg2 = (PyObject *) 0 ;
31615 PyObject *arg3 = (PyObject *) 0 ;
31616 PyObject * obj0 = 0 ;
31617 PyObject * obj1 = 0 ;
31618 PyObject * obj2 = 0 ;
31619 char *kwnames[] = {
31620 (char *) "self",(char *) "self",(char *) "_class", NULL
31621 };
31622
31623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31626 arg2 = obj1;
31627 arg3 = obj2;
31628 {
31629 PyThreadState* __tstate = wxPyBeginAllowThreads();
31630 (arg1)->_setCallbackInfo(arg2,arg3);
31631
31632 wxPyEndAllowThreads(__tstate);
31633 if (PyErr_Occurred()) SWIG_fail;
31634 }
31635 Py_INCREF(Py_None); resultobj = Py_None;
31636 return resultobj;
31637 fail:
31638 return NULL;
31639 }
31640
31641
31642 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31643 PyObject *resultobj;
31644 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31645 wxPyShape *arg2 = (wxPyShape *) 0 ;
31646 wxPyShape *arg3 = (wxPyShape *) NULL ;
31647 PyObject * obj0 = 0 ;
31648 PyObject * obj1 = 0 ;
31649 PyObject * obj2 = 0 ;
31650 char *kwnames[] = {
31651 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31652 };
31653
31654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31659 if (obj2) {
31660 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31662 }
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 (arg1)->AddShape(arg2,arg3);
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 Py_INCREF(Py_None); resultobj = Py_None;
31671 return resultobj;
31672 fail:
31673 return NULL;
31674 }
31675
31676
31677 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31678 PyObject *resultobj;
31679 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31680 double arg2 ;
31681 double arg3 ;
31682 int *arg4 = (int *) 0 ;
31683 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31684 wxPyShape *arg6 = (wxPyShape *) NULL ;
31685 wxPyShape *result;
31686 int temp4 ;
31687 PyObject * obj0 = 0 ;
31688 PyObject * obj1 = 0 ;
31689 PyObject * obj2 = 0 ;
31690 PyObject * obj3 = 0 ;
31691 PyObject * obj4 = 0 ;
31692 char *kwnames[] = {
31693 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31694 };
31695
31696 arg4 = &temp4;
31697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31700 arg2 = (double) SWIG_AsDouble(obj1);
31701 if (PyErr_Occurred()) SWIG_fail;
31702 arg3 = (double) SWIG_AsDouble(obj2);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 if (obj3) {
31705 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31707 }
31708 if (obj4) {
31709 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31711 }
31712 {
31713 PyThreadState* __tstate = wxPyBeginAllowThreads();
31714 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31715
31716 wxPyEndAllowThreads(__tstate);
31717 if (PyErr_Occurred()) SWIG_fail;
31718 }
31719 {
31720 resultobj = wxPyMake_wxShapeEvtHandler(result);
31721 }
31722 {
31723 PyObject *o = PyInt_FromLong((long) (*arg4));
31724 resultobj = t_output_helper(resultobj,o);
31725 }
31726 return resultobj;
31727 fail:
31728 return NULL;
31729 }
31730
31731
31732 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31733 PyObject *resultobj;
31734 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31735 double arg2 ;
31736 double arg3 ;
31737 int *arg4 = (int *) 0 ;
31738 int arg5 ;
31739 wxPyShape *result;
31740 int temp4 ;
31741 PyObject * obj0 = 0 ;
31742 PyObject * obj1 = 0 ;
31743 PyObject * obj2 = 0 ;
31744 PyObject * obj3 = 0 ;
31745 char *kwnames[] = {
31746 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31747 };
31748
31749 arg4 = &temp4;
31750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31753 arg2 = (double) SWIG_AsDouble(obj1);
31754 if (PyErr_Occurred()) SWIG_fail;
31755 arg3 = (double) SWIG_AsDouble(obj2);
31756 if (PyErr_Occurred()) SWIG_fail;
31757 arg5 = (int) SWIG_AsInt(obj3);
31758 if (PyErr_Occurred()) SWIG_fail;
31759 {
31760 PyThreadState* __tstate = wxPyBeginAllowThreads();
31761 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31762
31763 wxPyEndAllowThreads(__tstate);
31764 if (PyErr_Occurred()) SWIG_fail;
31765 }
31766 {
31767 resultobj = wxPyMake_wxShapeEvtHandler(result);
31768 }
31769 {
31770 PyObject *o = PyInt_FromLong((long) (*arg4));
31771 resultobj = t_output_helper(resultobj,o);
31772 }
31773 return resultobj;
31774 fail:
31775 return NULL;
31776 }
31777
31778
31779 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31780 PyObject *resultobj;
31781 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31782 wxDiagram *result;
31783 PyObject * obj0 = 0 ;
31784 char *kwnames[] = {
31785 (char *) "self", NULL
31786 };
31787
31788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
31789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31791 {
31792 PyThreadState* __tstate = wxPyBeginAllowThreads();
31793 result = (wxDiagram *)(arg1)->GetDiagram();
31794
31795 wxPyEndAllowThreads(__tstate);
31796 if (PyErr_Occurred()) SWIG_fail;
31797 }
31798 {
31799 resultobj = wxPyMake_wxObject(result);
31800 }
31801 return resultobj;
31802 fail:
31803 return NULL;
31804 }
31805
31806
31807 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31808 PyObject *resultobj;
31809 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31810 bool result;
31811 PyObject * obj0 = 0 ;
31812 char *kwnames[] = {
31813 (char *) "self", NULL
31814 };
31815
31816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
31817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31819 {
31820 PyThreadState* __tstate = wxPyBeginAllowThreads();
31821 result = (bool)(arg1)->GetQuickEditMode();
31822
31823 wxPyEndAllowThreads(__tstate);
31824 if (PyErr_Occurred()) SWIG_fail;
31825 }
31826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31827 return resultobj;
31828 fail:
31829 return NULL;
31830 }
31831
31832
31833 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31834 PyObject *resultobj;
31835 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31836 wxPyShape *arg2 = (wxPyShape *) 0 ;
31837 PyObject * obj0 = 0 ;
31838 PyObject * obj1 = 0 ;
31839 char *kwnames[] = {
31840 (char *) "self",(char *) "shape", NULL
31841 };
31842
31843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
31844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31848 {
31849 PyThreadState* __tstate = wxPyBeginAllowThreads();
31850 (arg1)->InsertShape(arg2);
31851
31852 wxPyEndAllowThreads(__tstate);
31853 if (PyErr_Occurred()) SWIG_fail;
31854 }
31855 Py_INCREF(Py_None); resultobj = Py_None;
31856 return resultobj;
31857 fail:
31858 return NULL;
31859 }
31860
31861
31862 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31863 PyObject *resultobj;
31864 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31865 double arg2 ;
31866 double arg3 ;
31867 int arg4 = (int) 0 ;
31868 PyObject * obj0 = 0 ;
31869 PyObject * obj1 = 0 ;
31870 PyObject * obj2 = 0 ;
31871 PyObject * obj3 = 0 ;
31872 char *kwnames[] = {
31873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31874 };
31875
31876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31879 arg2 = (double) SWIG_AsDouble(obj1);
31880 if (PyErr_Occurred()) SWIG_fail;
31881 arg3 = (double) SWIG_AsDouble(obj2);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 if (obj3) {
31884 arg4 = (int) SWIG_AsInt(obj3);
31885 if (PyErr_Occurred()) SWIG_fail;
31886 }
31887 {
31888 PyThreadState* __tstate = wxPyBeginAllowThreads();
31889 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
31890
31891 wxPyEndAllowThreads(__tstate);
31892 if (PyErr_Occurred()) SWIG_fail;
31893 }
31894 Py_INCREF(Py_None); resultobj = Py_None;
31895 return resultobj;
31896 fail:
31897 return NULL;
31898 }
31899
31900
31901 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31902 PyObject *resultobj;
31903 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31904 double arg2 ;
31905 double arg3 ;
31906 int arg4 = (int) 0 ;
31907 PyObject * obj0 = 0 ;
31908 PyObject * obj1 = 0 ;
31909 PyObject * obj2 = 0 ;
31910 PyObject * obj3 = 0 ;
31911 char *kwnames[] = {
31912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31913 };
31914
31915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31918 arg2 = (double) SWIG_AsDouble(obj1);
31919 if (PyErr_Occurred()) SWIG_fail;
31920 arg3 = (double) SWIG_AsDouble(obj2);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 if (obj3) {
31923 arg4 = (int) SWIG_AsInt(obj3);
31924 if (PyErr_Occurred()) SWIG_fail;
31925 }
31926 {
31927 PyThreadState* __tstate = wxPyBeginAllowThreads();
31928 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
31929
31930 wxPyEndAllowThreads(__tstate);
31931 if (PyErr_Occurred()) SWIG_fail;
31932 }
31933 Py_INCREF(Py_None); resultobj = Py_None;
31934 return resultobj;
31935 fail:
31936 return NULL;
31937 }
31938
31939
31940 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31941 PyObject *resultobj;
31942 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31943 double arg2 ;
31944 double arg3 ;
31945 int arg4 = (int) 0 ;
31946 PyObject * obj0 = 0 ;
31947 PyObject * obj1 = 0 ;
31948 PyObject * obj2 = 0 ;
31949 PyObject * obj3 = 0 ;
31950 char *kwnames[] = {
31951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31952 };
31953
31954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31957 arg2 = (double) SWIG_AsDouble(obj1);
31958 if (PyErr_Occurred()) SWIG_fail;
31959 arg3 = (double) SWIG_AsDouble(obj2);
31960 if (PyErr_Occurred()) SWIG_fail;
31961 if (obj3) {
31962 arg4 = (int) SWIG_AsInt(obj3);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 {
31966 PyThreadState* __tstate = wxPyBeginAllowThreads();
31967 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
31968
31969 wxPyEndAllowThreads(__tstate);
31970 if (PyErr_Occurred()) SWIG_fail;
31971 }
31972 Py_INCREF(Py_None); resultobj = Py_None;
31973 return resultobj;
31974 fail:
31975 return NULL;
31976 }
31977
31978
31979 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31980 PyObject *resultobj;
31981 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31982 double arg2 ;
31983 double arg3 ;
31984 int arg4 = (int) 0 ;
31985 PyObject * obj0 = 0 ;
31986 PyObject * obj1 = 0 ;
31987 PyObject * obj2 = 0 ;
31988 PyObject * obj3 = 0 ;
31989 char *kwnames[] = {
31990 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31991 };
31992
31993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31996 arg2 = (double) SWIG_AsDouble(obj1);
31997 if (PyErr_Occurred()) SWIG_fail;
31998 arg3 = (double) SWIG_AsDouble(obj2);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 if (obj3) {
32001 arg4 = (int) SWIG_AsInt(obj3);
32002 if (PyErr_Occurred()) SWIG_fail;
32003 }
32004 {
32005 PyThreadState* __tstate = wxPyBeginAllowThreads();
32006 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32007
32008 wxPyEndAllowThreads(__tstate);
32009 if (PyErr_Occurred()) SWIG_fail;
32010 }
32011 Py_INCREF(Py_None); resultobj = Py_None;
32012 return resultobj;
32013 fail:
32014 return NULL;
32015 }
32016
32017
32018 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32019 PyObject *resultobj;
32020 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32021 bool arg2 ;
32022 double arg3 ;
32023 double arg4 ;
32024 int arg5 = (int) 0 ;
32025 PyObject * obj0 = 0 ;
32026 PyObject * obj1 = 0 ;
32027 PyObject * obj2 = 0 ;
32028 PyObject * obj3 = 0 ;
32029 PyObject * obj4 = 0 ;
32030 char *kwnames[] = {
32031 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32032 };
32033
32034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32037 arg2 = (bool) SWIG_AsBool(obj1);
32038 if (PyErr_Occurred()) SWIG_fail;
32039 arg3 = (double) SWIG_AsDouble(obj2);
32040 if (PyErr_Occurred()) SWIG_fail;
32041 arg4 = (double) SWIG_AsDouble(obj3);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 if (obj4) {
32044 arg5 = (int) SWIG_AsInt(obj4);
32045 if (PyErr_Occurred()) SWIG_fail;
32046 }
32047 {
32048 PyThreadState* __tstate = wxPyBeginAllowThreads();
32049 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32050
32051 wxPyEndAllowThreads(__tstate);
32052 if (PyErr_Occurred()) SWIG_fail;
32053 }
32054 Py_INCREF(Py_None); resultobj = Py_None;
32055 return resultobj;
32056 fail:
32057 return NULL;
32058 }
32059
32060
32061 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32062 PyObject *resultobj;
32063 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32064 bool arg2 ;
32065 double arg3 ;
32066 double arg4 ;
32067 int arg5 = (int) 0 ;
32068 PyObject * obj0 = 0 ;
32069 PyObject * obj1 = 0 ;
32070 PyObject * obj2 = 0 ;
32071 PyObject * obj3 = 0 ;
32072 PyObject * obj4 = 0 ;
32073 char *kwnames[] = {
32074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32075 };
32076
32077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32080 arg2 = (bool) SWIG_AsBool(obj1);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 arg3 = (double) SWIG_AsDouble(obj2);
32083 if (PyErr_Occurred()) SWIG_fail;
32084 arg4 = (double) SWIG_AsDouble(obj3);
32085 if (PyErr_Occurred()) SWIG_fail;
32086 if (obj4) {
32087 arg5 = (int) SWIG_AsInt(obj4);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 {
32091 PyThreadState* __tstate = wxPyBeginAllowThreads();
32092 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32093
32094 wxPyEndAllowThreads(__tstate);
32095 if (PyErr_Occurred()) SWIG_fail;
32096 }
32097 Py_INCREF(Py_None); resultobj = Py_None;
32098 return resultobj;
32099 fail:
32100 return NULL;
32101 }
32102
32103
32104 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32105 PyObject *resultobj;
32106 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32107 double arg2 ;
32108 double arg3 ;
32109 int arg4 = (int) 0 ;
32110 PyObject * obj0 = 0 ;
32111 PyObject * obj1 = 0 ;
32112 PyObject * obj2 = 0 ;
32113 PyObject * obj3 = 0 ;
32114 char *kwnames[] = {
32115 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32116 };
32117
32118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32121 arg2 = (double) SWIG_AsDouble(obj1);
32122 if (PyErr_Occurred()) SWIG_fail;
32123 arg3 = (double) SWIG_AsDouble(obj2);
32124 if (PyErr_Occurred()) SWIG_fail;
32125 if (obj3) {
32126 arg4 = (int) SWIG_AsInt(obj3);
32127 if (PyErr_Occurred()) SWIG_fail;
32128 }
32129 {
32130 PyThreadState* __tstate = wxPyBeginAllowThreads();
32131 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32132
32133 wxPyEndAllowThreads(__tstate);
32134 if (PyErr_Occurred()) SWIG_fail;
32135 }
32136 Py_INCREF(Py_None); resultobj = Py_None;
32137 return resultobj;
32138 fail:
32139 return NULL;
32140 }
32141
32142
32143 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
32144 PyObject *resultobj;
32145 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32146 double arg2 ;
32147 double arg3 ;
32148 int arg4 = (int) 0 ;
32149 PyObject * obj0 = 0 ;
32150 PyObject * obj1 = 0 ;
32151 PyObject * obj2 = 0 ;
32152 PyObject * obj3 = 0 ;
32153 char *kwnames[] = {
32154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32155 };
32156
32157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
32158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32160 arg2 = (double) SWIG_AsDouble(obj1);
32161 if (PyErr_Occurred()) SWIG_fail;
32162 arg3 = (double) SWIG_AsDouble(obj2);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 if (obj3) {
32165 arg4 = (int) SWIG_AsInt(obj3);
32166 if (PyErr_Occurred()) SWIG_fail;
32167 }
32168 {
32169 PyThreadState* __tstate = wxPyBeginAllowThreads();
32170 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32171
32172 wxPyEndAllowThreads(__tstate);
32173 if (PyErr_Occurred()) SWIG_fail;
32174 }
32175 Py_INCREF(Py_None); resultobj = Py_None;
32176 return resultobj;
32177 fail:
32178 return NULL;
32179 }
32180
32181
32182 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32183 PyObject *resultobj;
32184 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32185 wxDC *arg2 = 0 ;
32186 PyObject * obj0 = 0 ;
32187 PyObject * obj1 = 0 ;
32188 char *kwnames[] = {
32189 (char *) "self",(char *) "dc", NULL
32190 };
32191
32192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
32193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32196 SWIG_POINTER_EXCEPTION | 0)) == -1)
32197 SWIG_fail;
32198 if (arg2 == NULL) {
32199 PyErr_SetString(PyExc_TypeError,"null reference");
32200 SWIG_fail;
32201 }
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 (arg1)->Redraw(*arg2);
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 Py_INCREF(Py_None); resultobj = Py_None;
32210 return resultobj;
32211 fail:
32212 return NULL;
32213 }
32214
32215
32216 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32217 PyObject *resultobj;
32218 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32219 wxPyShape *arg2 = (wxPyShape *) 0 ;
32220 PyObject * obj0 = 0 ;
32221 PyObject * obj1 = 0 ;
32222 char *kwnames[] = {
32223 (char *) "self",(char *) "shape", NULL
32224 };
32225
32226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32231 {
32232 PyThreadState* __tstate = wxPyBeginAllowThreads();
32233 (arg1)->RemoveShape(arg2);
32234
32235 wxPyEndAllowThreads(__tstate);
32236 if (PyErr_Occurred()) SWIG_fail;
32237 }
32238 Py_INCREF(Py_None); resultobj = Py_None;
32239 return resultobj;
32240 fail:
32241 return NULL;
32242 }
32243
32244
32245 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32246 PyObject *resultobj;
32247 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32248 wxDiagram *arg2 = (wxDiagram *) 0 ;
32249 PyObject * obj0 = 0 ;
32250 PyObject * obj1 = 0 ;
32251 char *kwnames[] = {
32252 (char *) "self",(char *) "diagram", NULL
32253 };
32254
32255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
32256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32260 {
32261 PyThreadState* __tstate = wxPyBeginAllowThreads();
32262 (arg1)->SetDiagram(arg2);
32263
32264 wxPyEndAllowThreads(__tstate);
32265 if (PyErr_Occurred()) SWIG_fail;
32266 }
32267 Py_INCREF(Py_None); resultobj = Py_None;
32268 return resultobj;
32269 fail:
32270 return NULL;
32271 }
32272
32273
32274 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32275 PyObject *resultobj;
32276 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32277 double *arg2 = (double *) 0 ;
32278 double *arg3 = (double *) 0 ;
32279 double temp2 ;
32280 double temp3 ;
32281 PyObject * obj0 = 0 ;
32282 PyObject * obj1 = 0 ;
32283 PyObject * obj2 = 0 ;
32284 char *kwnames[] = {
32285 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32286 };
32287
32288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32291 {
32292 temp2 = PyFloat_AsDouble(obj1);
32293 if (PyErr_Occurred()) SWIG_fail;
32294 arg2 = &temp2;
32295 }
32296 {
32297 temp3 = PyFloat_AsDouble(obj2);
32298 if (PyErr_Occurred()) SWIG_fail;
32299 arg3 = &temp3;
32300 }
32301 {
32302 PyThreadState* __tstate = wxPyBeginAllowThreads();
32303 (arg1)->Snap(arg2,arg3);
32304
32305 wxPyEndAllowThreads(__tstate);
32306 if (PyErr_Occurred()) SWIG_fail;
32307 }
32308 Py_INCREF(Py_None); resultobj = Py_None;
32309 {
32310 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32311 resultobj = t_output_helper(resultobj,o);
32312 }
32313 {
32314 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32315 resultobj = t_output_helper(resultobj,o);
32316 }
32317 return resultobj;
32318 fail:
32319 return NULL;
32320 }
32321
32322
32323 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
32324 PyObject *obj;
32325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32326 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32327 Py_INCREF(obj);
32328 return Py_BuildValue((char *)"");
32329 }
32330 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
32331 PyObject *resultobj;
32332 char *kwnames[] = {
32333 NULL
32334 };
32335
32336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32337 {
32338 PyThreadState* __tstate = wxPyBeginAllowThreads();
32339 wxOGLInitialize();
32340
32341 wxPyEndAllowThreads(__tstate);
32342 if (PyErr_Occurred()) SWIG_fail;
32343 }
32344 Py_INCREF(Py_None); resultobj = Py_None;
32345 return resultobj;
32346 fail:
32347 return NULL;
32348 }
32349
32350
32351 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
32352 PyObject *resultobj;
32353 char *kwnames[] = {
32354 NULL
32355 };
32356
32357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32358 {
32359 PyThreadState* __tstate = wxPyBeginAllowThreads();
32360 wxOGLCleanUp();
32361
32362 wxPyEndAllowThreads(__tstate);
32363 if (PyErr_Occurred()) SWIG_fail;
32364 }
32365 Py_INCREF(Py_None); resultobj = Py_None;
32366 return resultobj;
32367 fail:
32368 return NULL;
32369 }
32370
32371
32372 static PyMethodDef SwigMethods[] = {
32373 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32374 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32375 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32376 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32377 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32378 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32379 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32380 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32381 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32382 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32383 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32384 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32385 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32386 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32387 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32388 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32389 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32390 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32391 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32392 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32393 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32394 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32395 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32396 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32397 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32398 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32399 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32400 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32401 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32402 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32403 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32404 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32405 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32406 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32407 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32408 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32409 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32410 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32411 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32412 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32413 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32414 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32415 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32416 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32417 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32418 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32419 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32420 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32421 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32422 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32423 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32424 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32425 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32426 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32427 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32428 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32429 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32430 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32431 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32432 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32433 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32434 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32435 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32436 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32437 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32438 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32439 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32440 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32441 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32442 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32443 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32444 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32445 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32446 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32447 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32448 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32449 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32450 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32451 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32452 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32453 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32454 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32455 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32456 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32457 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32458 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32459 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32460 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32461 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32462 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32463 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32464 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32465 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32466 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32467 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32468 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32469 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32470 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32471 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32472 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32473 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32474 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32475 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32476 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32477 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32478 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32479 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32480 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32481 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32482 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32483 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32484 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32485 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32486 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32487 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32488 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32489 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32490 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32491 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32492 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32493 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32494 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32495 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32496 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32497 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32498 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32499 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32500 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32501 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32502 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32503 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32504 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32505 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32506 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32507 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32508 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32509 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32510 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32511 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32512 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32513 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32514 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32515 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32516 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32517 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32518 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32519 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32520 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32521 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32522 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32523 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32524 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32525 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32526 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32527 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32528 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32529 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32530 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32531 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32532 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32533 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32534 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32535 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32536 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32537 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32538 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32539 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32540 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32541 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32542 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32543 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32544 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32545 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32546 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32547 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32548 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32549 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32550 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32551 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32552 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32553 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32554 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32555 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32556 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32557 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32558 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32559 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32560 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32561 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32562 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32563 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32564 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32565 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32566 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32567 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32568 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32569 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32574 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32599 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32607 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32617 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32645 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32659 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32693 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32726 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32762 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32813 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
32822 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
32827 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32855 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
32873 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32889 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32897 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
32907 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
32922 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32958 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
32964 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
32995 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33018 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33023 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33026 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33045 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33069 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33103 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33122 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33160 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33164 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33191 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33196 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33222 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33240 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33241 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33243 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33245 { NULL, NULL }
33246 };
33247
33248
33249 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33250
33251 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33252 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33253 }
33254 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33255 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33256 }
33257 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33258 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33259 }
33260 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33261 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33262 }
33263 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33264 return (void *)((wxPanel *) ((wxPyPanel *) x));
33265 }
33266 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33267 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33268 }
33269 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33270 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33271 }
33272 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33273 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33274 }
33275 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33276 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33277 }
33278 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33279 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33280 }
33281 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33282 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33283 }
33284 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33285 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33286 }
33287 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33288 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33289 }
33290 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33291 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33292 }
33293 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33294 return (void *)((wxWindow *) ((wxMenuBar *) x));
33295 }
33296 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33298 }
33299 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33301 }
33302 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33304 }
33305 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33306 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33307 }
33308 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33310 }
33311 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33313 }
33314 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33316 }
33317 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33318 return (void *)((wxWindow *) ((wxPanel *) x));
33319 }
33320 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33321 return (void *)((wxWindow *) ((wxStatusBar *) x));
33322 }
33323 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33324 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33325 }
33326 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33327 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33328 }
33329 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33330 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33331 }
33332 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33333 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33334 }
33335 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33336 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33337 }
33338 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33339 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33340 }
33341 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33342 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33343 }
33344 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33345 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33346 }
33347 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33348 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33349 }
33350 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33351 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33352 }
33353 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33354 return (void *)((wxWindow *) ((wxSashWindow *) x));
33355 }
33356 static void *_p_wxControlTo_p_wxWindow(void *x) {
33357 return (void *)((wxWindow *) ((wxControl *) x));
33358 }
33359 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33361 }
33362 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33364 }
33365 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33366 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33367 }
33368 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33369 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33370 }
33371 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33372 return (void *)((wxWindow *) ((wxPyWindow *) x));
33373 }
33374 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33375 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33376 }
33377 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33378 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33379 }
33380 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33381 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33382 }
33383 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33384 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33385 }
33386 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33387 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33388 }
33389 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33390 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33391 }
33392 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33393 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33394 }
33395 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33397 }
33398 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33400 }
33401 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33403 }
33404 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33405 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33406 }
33407 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33409 }
33410 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33412 }
33413 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33415 }
33416 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33417 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33418 }
33419 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33420 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33421 }
33422 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33423 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33424 }
33425 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33427 }
33428 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33430 }
33431 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33432 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33433 }
33434 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33435 return (void *)((wxObject *) ((wxSizerItem *) x));
33436 }
33437 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33439 }
33440 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33441 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33442 }
33443 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33444 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33445 }
33446 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33447 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33448 }
33449 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33450 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33451 }
33452 static void *_p_wxSizerTo_p_wxObject(void *x) {
33453 return (void *)((wxObject *) ((wxSizer *) x));
33454 }
33455 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33456 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33457 }
33458 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33459 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33460 }
33461 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33462 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33463 }
33464 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33465 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33466 }
33467 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33469 }
33470 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33471 return (void *)((wxObject *) ((wxArrowHead *) x));
33472 }
33473 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33475 }
33476 static void *_p_wxEventTo_p_wxObject(void *x) {
33477 return (void *)((wxObject *) ((wxEvent *) x));
33478 }
33479 static void *_p_wxFontDataTo_p_wxObject(void *x) {
33480 return (void *)((wxObject *) ((wxFontData *) x));
33481 }
33482 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33483 return (void *)((wxObject *) ((wxPrintData *) x));
33484 }
33485 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33486 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33487 }
33488 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33489 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33490 }
33491 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33492 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33493 }
33494 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33495 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33496 }
33497 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33498 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33499 }
33500 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33502 }
33503 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33504 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33505 }
33506 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33507 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33508 }
33509 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33510 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33511 }
33512 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33513 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33514 }
33515 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33516 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33517 }
33518 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33519 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33520 }
33521 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33523 }
33524 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33526 }
33527 static void *_p_wxControlTo_p_wxObject(void *x) {
33528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33529 }
33530 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33531 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33532 }
33533 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33534 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33535 }
33536 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33538 }
33539 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33540 return (void *)((wxObject *) ((wxFSFile *) x));
33541 }
33542 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33543 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33544 }
33545 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33546 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33547 }
33548 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33549 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33550 }
33551 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33553 }
33554 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33555 return (void *)((wxObject *) ((wxColourData *) x));
33556 }
33557 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33558 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33559 }
33560 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33562 }
33563 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33565 }
33566 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33568 }
33569 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33571 }
33572 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33574 }
33575 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33577 }
33578 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33580 }
33581 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33583 }
33584 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33586 }
33587 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33589 }
33590 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33591 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33592 }
33593 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33594 return (void *)((wxObject *) ((wxPrinter *) x));
33595 }
33596 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33597 return (void *)((wxObject *) ((wxMenuItem *) x));
33598 }
33599 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33600 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33601 }
33602 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33604 }
33605 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33606 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33607 }
33608 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33609 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33610 }
33611 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33612 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33613 }
33614 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33615 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33616 }
33617 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33618 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33619 }
33620 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33621 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33622 }
33623 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33624 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33625 }
33626 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33627 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33628 }
33629 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33630 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33631 }
33632 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33633 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33634 }
33635 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33636 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33637 }
33638 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33639 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33640 }
33641 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33642 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33643 }
33644 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33645 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33646 }
33647 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33648 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33649 }
33650 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33651 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33652 }
33653 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33654 return (void *)((wxObject *) ((wxImageHandler *) x));
33655 }
33656 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33657 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33658 }
33659 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33660 return (void *)((wxObject *) ((wxEvtHandler *) x));
33661 }
33662 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33663 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33664 }
33665 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33666 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33667 }
33668 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33670 }
33671 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33673 }
33674 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33675 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33676 }
33677 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33678 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33679 }
33680 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33681 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33682 }
33683 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33685 }
33686 static void *_p_wxImageTo_p_wxObject(void *x) {
33687 return (void *)((wxObject *) ((wxImage *) x));
33688 }
33689 static void *_p_wxFrameTo_p_wxObject(void *x) {
33690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33691 }
33692 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33693 return (void *)((wxObject *) ((wxPyPrintout *) x));
33694 }
33695 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33696 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33697 }
33698 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33699 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33700 }
33701 static void *_p_wxDiagramTo_p_wxObject(void *x) {
33702 return (void *)((wxObject *) ((wxDiagram *) x));
33703 }
33704 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33706 }
33707 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33709 }
33710 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33712 }
33713 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33714 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33715 }
33716 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33717 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33718 }
33719 static void *_p_wxWindowTo_p_wxObject(void *x) {
33720 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33721 }
33722 static void *_p_wxMenuTo_p_wxObject(void *x) {
33723 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33724 }
33725 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33727 }
33728 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33730 }
33731 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33733 }
33734 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33736 }
33737 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33739 }
33740 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33742 }
33743 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33745 }
33746 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33748 }
33749 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33751 }
33752 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33754 }
33755 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33757 }
33758 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33760 }
33761 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33763 }
33764 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33765 return (void *)((wxObject *) ((wxPrintPreview *) x));
33766 }
33767 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33768 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33769 }
33770 static void *_p_wxPanelTo_p_wxObject(void *x) {
33771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33772 }
33773 static void *_p_wxDialogTo_p_wxObject(void *x) {
33774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33775 }
33776 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33778 }
33779 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33781 }
33782 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33784 }
33785 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33787 }
33788 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33790 }
33791 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
33792 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
33793 }
33794 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
33795 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
33796 }
33797 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33798 return (void *)((wxObject *) ((wxFileSystem *) x));
33799 }
33800 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33801 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33802 }
33803 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33804 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33805 }
33806 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33807 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33808 }
33809 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33810 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33811 }
33812 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33813 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33814 }
33815 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33816 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33817 }
33818 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33820 }
33821 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33822 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33823 }
33824 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33826 }
33827 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33829 }
33830 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33831 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33832 }
33833 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33834 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33835 }
33836 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33838 }
33839 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
33840 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
33841 }
33842 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
33843 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33844 }
33845 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
33846 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33847 }
33848 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
33849 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
33850 }
33851 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
33852 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
33853 }
33854 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33856 }
33857 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33858 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33859 }
33860 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33861 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33862 }
33863 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33864 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33865 }
33866 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33867 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33868 }
33869 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
33870 return (void *)((wxObject *) ((wxShapeRegion *) x));
33871 }
33872 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33873 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
33874 }
33875 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
33876 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33877 }
33878 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
33879 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
33880 }
33881 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
33882 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
33883 }
33884 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
33885 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
33886 }
33887 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
33888 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33889 }
33890 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
33891 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33892 }
33893 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
33894 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33895 }
33896 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
33897 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33898 }
33899 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
33900 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
33901 }
33902 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
33903 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33904 }
33905 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
33906 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
33907 }
33908 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
33909 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
33910 }
33911 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
33912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33913 }
33914 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
33915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33916 }
33917 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
33918 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33919 }
33920 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33922 }
33923 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33924 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33925 }
33926 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33927 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33928 }
33929 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33930 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33931 }
33932 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
33933 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33934 }
33935 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
33936 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33937 }
33938 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
33939 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33940 }
33941 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
33942 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33943 }
33944 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
33945 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33946 }
33947 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
33948 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33949 }
33950 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
33951 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33952 }
33953 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
33954 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
33955 }
33956 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
33957 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
33958 }
33959 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
33960 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33961 }
33962 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
33963 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33964 }
33965 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
33966 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33967 }
33968 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
33969 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
33970 }
33971 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
33972 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33973 }
33974 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
33975 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
33976 }
33977 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
33978 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
33979 }
33980 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
33981 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
33982 }
33983 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33984 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33985 }
33986 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
33987 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33988 }
33989 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
33990 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
33991 }
33992 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
33993 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
33994 }
33995 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33996 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33997 }
33998 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
33999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34000 }
34001 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34003 }
34004 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34006 }
34007 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34008 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34009 }
34010 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34012 }
34013 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34014 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34015 }
34016 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34017 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34018 }
34019 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34020 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34021 }
34022 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34023 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34024 }
34025 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34026 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34027 }
34028 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34029 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34030 }
34031 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34032 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34033 }
34034 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34035 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34036 }
34037 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34039 }
34040 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34042 }
34043 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34045 }
34046 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34048 }
34049 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34051 }
34052 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34054 }
34055 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34057 }
34058 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34060 }
34061 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34062 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34063 }
34064 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34065 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34066 }
34067 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34068 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34069 }
34070 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34071 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34072 }
34073 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34074 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34075 }
34076 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34077 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34078 }
34079 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34080 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34081 }
34082 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34083 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34084 }
34085 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34086 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34087 }
34088 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34089 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34090 }
34091 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34092 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34093 }
34094 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34095 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34096 }
34097 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34098 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34099 }
34100 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34101 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34102 }
34103 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34104 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34105 }
34106 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34107 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34108 }
34109 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34110 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34111 }
34112 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34113 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34114 }
34115 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34116 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34117 }
34118 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34119 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34120 }
34121 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34122 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34123 }
34124 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}};
34125 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}};
34126 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}};
34127 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}};
34128 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}};
34129 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}};
34130 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}};
34131 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}};
34132 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}};
34133 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}};
34134 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}};
34135 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}};
34136 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}};
34137 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}};
34138 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}};
34139 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}};
34140 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}};
34141 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}};
34142 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}};
34143 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}};
34144 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}};
34145 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}};
34146 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}};
34147 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}};
34148 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}};
34149 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}};
34150 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}};
34151 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}};
34152 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}};
34153 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}};
34154 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}};
34155 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}};
34156 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}};
34157 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}};
34158 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}};
34159 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}};
34160 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}};
34161 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}};
34162 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}};
34163 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}};
34164 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}};
34165
34166 static swig_type_info *swig_types_initial[] = {
34167 _swigt__p_wxOGLConstraint,
34168 _swigt__p_wxBrush,
34169 _swigt__p_wxColour,
34170 _swigt__p_wxShapeRegion,
34171 _swigt__p_wxDC,
34172 _swigt__p_wxRealPoint,
34173 _swigt__p_wxPyControlPoint,
34174 _swigt__p_wxArrowHead,
34175 _swigt__p_char,
34176 _swigt__p_wxStringList,
34177 _swigt__p_wxPanel,
34178 _swigt__p_bool,
34179 _swigt__p_wxList,
34180 _swigt__p_wxFont,
34181 _swigt__p_wxScrolledWindow,
34182 _swigt__p_wxWindow,
34183 _swigt__p_double,
34184 _swigt__p_wxPyDivisionShape,
34185 _swigt__p_wxPyDrawnShape,
34186 _swigt__p_wxPyPolygonShape,
34187 _swigt__p_wxBitmap,
34188 _swigt__p_wxObject,
34189 _swigt__p_wxPyBitmapShape,
34190 _swigt__p_wxPyShapeEvtHandler,
34191 _swigt__p_wxEvtHandler,
34192 _swigt__p_wxPyEllipseShape,
34193 _swigt__p_wxPyShapeCanvas,
34194 _swigt__p_wxPoint,
34195 _swigt__p_wxDiagram,
34196 _swigt__p_wxPyShape,
34197 _swigt__p_wxAttachmentPoint,
34198 _swigt__p_wxClassInfo,
34199 _swigt__p_wxPyLineShape,
34200 _swigt__p_wxPyRectangleShape,
34201 _swigt__p_wxPyCompositeShape,
34202 _swigt__p_wxPyCircleShape,
34203 _swigt__p_wxPen,
34204 _swigt__p_int,
34205 _swigt__p_wxPseudoMetaFile,
34206 _swigt__p_wxPyTextShape,
34207 _swigt__p_wxPyDividedShape,
34208 0
34209 };
34210
34211
34212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34213
34214 static swig_const_info swig_const_table[] = {
34215 {0}};
34216
34217 #ifdef __cplusplus
34218 }
34219 #endif
34220
34221 #ifdef __cplusplus
34222 extern "C"
34223 #endif
34224 SWIGEXPORT(void) SWIG_init(void) {
34225 static PyObject *SWIG_globals = 0;
34226 static int typeinit = 0;
34227 PyObject *m, *d;
34228 int i;
34229 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34230 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34231 d = PyModule_GetDict(m);
34232
34233 if (!typeinit) {
34234 for (i = 0; swig_types_initial[i]; i++) {
34235 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34236 }
34237 typeinit = 1;
34238 }
34239 SWIG_InstallConstants(d,swig_const_table);
34240
34241 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34242 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34243 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34244 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34245 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34246 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34247 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34248 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34249 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34250 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34251 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34252 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34253 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34254 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34255 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34256 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34257 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34258 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34259 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34260 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34261 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34262 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34263 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34264 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34265 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34266 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34267 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34268 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34269 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34270 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34271 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34272 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34273 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34274 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34275 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34276 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34277 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34278 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34279 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34280 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34281 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34282 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34283 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34284 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34285 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34286 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34287 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34288 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34289 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34290 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34291 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34292 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34293 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34294 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34295 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34296 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34297 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34298 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34299 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34300 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34301 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34302 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34303 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34304 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
34305
34306
34307 // initoglbasicc();
34308 // initoglshapesc();
34309 // initoglshapes2c();
34310 // initoglcanvasc();
34311
34312
34313 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34314 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34315 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34316 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34317 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34318 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34319 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34320 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34321 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34322 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34323 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34324 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34325 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34326 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34327
34328
34329 }
34330