]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/msw/ogl_wrap.cpp
Cure link error under wxGTK on Mac
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
44127b65
RD
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
f0983263
RD
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
44127b65 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
f0983263 90# define SWIGRUNTIME(a) static a
44127b65
RD
91#endif
92
44127b65
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
f0983263 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
44127b65
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
120
121
122#ifdef __cplusplus
123}
124
125#endif
126
f0983263 127
44127b65
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
44127b65
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
44127b65
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
f0983263
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 197
44127b65
RD
198
199
200/* Contract support */
201
202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
44127b65
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
213#define SWIGTYPE_p_wxBrush swig_types[1]
214#define SWIGTYPE_p_wxColour swig_types[2]
215#define SWIGTYPE_p_wxShapeRegion swig_types[3]
216#define SWIGTYPE_p_wxDC swig_types[4]
217#define SWIGTYPE_p_wxRealPoint swig_types[5]
218#define SWIGTYPE_p_wxPyControlPoint swig_types[6]
219#define SWIGTYPE_p_wxArrowHead swig_types[7]
220#define SWIGTYPE_p_wxStringList swig_types[8]
221#define SWIGTYPE_p_wxPanel swig_types[9]
222#define SWIGTYPE_p_bool swig_types[10]
223#define SWIGTYPE_p_wxList swig_types[11]
224#define SWIGTYPE_p_wxFont swig_types[12]
225#define SWIGTYPE_p_wxScrolledWindow swig_types[13]
226#define SWIGTYPE_p_wxWindow swig_types[14]
227#define SWIGTYPE_p_double swig_types[15]
228#define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
229#define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
230#define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
231#define SWIGTYPE_p_wxBitmap swig_types[19]
232#define SWIGTYPE_p_wxObject swig_types[20]
233#define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
234#define SWIGTYPE_p_wxString swig_types[22]
235#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
236#define SWIGTYPE_p_wxEvtHandler swig_types[24]
237#define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
238#define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
239#define SWIGTYPE_p_wxPoint swig_types[27]
240#define SWIGTYPE_p_wxDiagram swig_types[28]
241#define SWIGTYPE_p_wxPyShape swig_types[29]
242#define SWIGTYPE_p_wxClassInfo swig_types[30]
243#define SWIGTYPE_p_wxPyLineShape swig_types[31]
244#define SWIGTYPE_p_wxPyRectangleShape swig_types[32]
245#define SWIGTYPE_p_wxPyCompositeShape swig_types[33]
246#define SWIGTYPE_p_wxPyCircleShape swig_types[34]
247#define SWIGTYPE_p_wxPen swig_types[35]
248#define SWIGTYPE_p_int swig_types[36]
249#define SWIGTYPE_p_wxPseudoMetaFile swig_types[37]
250#define SWIGTYPE_p_wxPyTextShape swig_types[38]
251#define SWIGTYPE_p_wxPyDividedShape swig_types[39]
252static swig_type_info *swig_types[41];
253
254/* -------- TYPES TABLE (END) -------- */
255
256
257/*-----------------------------------------------
258 @(target):= _ogl.so
259 ------------------------------------------------*/
260#define SWIG_init init_ogl
261
262#define SWIG_name "_ogl"
263
264#include "wx/wxPython/wxPython.h"
265#include "wx/wxPython/pyclasses.h"
266#include "oglhelpers.h"
267
268
d03fd34d 269 static const wxString wxPyEmptyString(wxEmptyString);
44127b65
RD
270
271static PyObject* t_output_helper(PyObject* target, PyObject* o) {
272 PyObject* o2;
273 PyObject* o3;
274
275 if (!target) {
276 target = o;
277 } else if (target == Py_None) {
278 Py_DECREF(Py_None);
279 target = o;
280 } else {
281 if (!PyTuple_Check(target)) {
282 o2 = target;
283 target = PyTuple_New(1);
284 PyTuple_SetItem(target, 0, o2);
285 }
286 o3 = PyTuple_New(1);
287 PyTuple_SetItem(o3, 0, o);
288
289 o2 = target;
290 target = PySequence_Concat(o2, o3);
291 Py_DECREF(o2);
292 Py_DECREF(o3);
293 }
294 return target;
295}
296
297
298 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
299
300void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
301 self->SetClientObject(new wxPyOORClientData(_self));
302 }
303
304 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
305
306PyObject *wxPyShape_GetChildren(wxPyShape *self){
307 wxList& list = self->GetChildren();
308 return wxPy_ConvertShapeList(&list);
309 }
310PyObject *wxPyShape_GetLines(wxPyShape *self){
311 wxList& list = self->GetLines();
312 return wxPy_ConvertShapeList(&list);
313 }
314PyObject *wxPyShape_GetRegions(wxPyShape *self){
315 wxList& list = self->GetRegions();
316 return wxPy_ConvertList(&list);
317 }
318void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
319 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
320 self->ApplyAttachmentOrdering(*list);
321 delete list;
322 }
323
324// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
325// 6, so instead I'l just expand it out by hand...
326// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
327
328 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
329 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
330 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
331 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
332 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
333 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
334 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
335 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
336 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
337 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
338 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
339 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
340 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
341 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
342 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
343 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
344 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
345 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
346 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
347 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
348 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
349 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
350 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
351 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
352 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
353 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
354 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
355 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
356 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
357
358
359
360 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
361
362
363 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
364
365
366 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
367
368wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
369 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
370 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
371 delete list;
372 return rv;
373 }
374
375 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
376
377wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
378 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
379 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
380 delete list;
381 return rv;
382 }
383PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
384 wxList& list = self->GetConstraints();
385 return wxPy_ConvertList(&list);
386 }
387PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
388 wxList& list = self->GetDivisions();
389 return wxPy_ConvertShapeList(&list);
390 }
391
392 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
393
394
395 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
396
397
398 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
399
400
401 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
402
403
404 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
405
406void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
407 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
408 self->AddArrowOrdered(arrow, *list, end);
409 delete list;
410 }
411PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
412 wxList* list = self->GetLineControlPoints();
413 return wxPy_ConvertShapeList(list);
414 }
415
416 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
417
418PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
419 wxList* list = wxPy_wxRealPoint_ListHelper(points);
420 if (list) {
421 self->Create(list);
422 Py_INCREF(Py_None);
423 return Py_None;
424 }
425 else return NULL;
426 }
427PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
428 wxList* list = self->GetPoints();
429 PyObject* pyList;
430 PyObject* pyObj;
431 wxObject* wxObj;
432 wxNode* node = list->GetFirst();
433
434 wxPyBeginBlockThreads();
435 pyList = PyList_New(0);
436 while (node) {
437 wxObj = node->GetData();
438 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
439 PyList_Append(pyList, pyObj);
440 node = node->GetNext();
441 }
442 wxPyEndBlockThreads();
443 return pyList;
444 }
445
446 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
447
448
449 // Put some wx default wxChar* values into wxStrings.
450 DECLARE_DEF_STRING(ShapeCanvasNameStr);
451
452PyObject *wxDiagram_GetShapeList(wxDiagram *self){
453 wxList* list = self->GetShapeList();
454 return wxPy_ConvertShapeList(list);
455 }
456
457 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
458 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
459 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
460 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
461 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
462 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
463 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
464 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
465
466
467//---------------------------------------------------------------------------
468
469// Convert from a Python list to a list of className objects. This one will
470// work for any class for the VERY generic cases, but beyond that the helper
471// needs to know more about the type.
472wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
473 wxPyBeginBlockThreads();
474 if (!PyList_Check(pyList)) {
475 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
476 wxPyEndBlockThreads();
477 return NULL;
478 }
479 int count = PyList_Size(pyList);
480 wxList* list = new wxList;
481 if (! list) {
482 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
483 wxPyEndBlockThreads();
484 return NULL;
485 }
486 for (int x=0; x<count; x++) {
487 PyObject* pyo = PyList_GetItem(pyList, x);
488 wxObject* wxo = NULL;
489
490 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
491 wxString errmsg;
492 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
493 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
494 wxPyEndBlockThreads();
495 return NULL;
496 }
497 list->Append(wxo);
498 }
499 wxPyEndBlockThreads();
500 return list;
501}
502
503//---------------------------------------------------------------------------
504
505wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
506 wxPyBeginBlockThreads();
507 if (!PyList_Check(pyList)) {
508 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
509 wxPyEndBlockThreads();
510 return NULL;
511 }
512 int count = PyList_Size(pyList);
513 wxList* list = new wxList;
514 if (! list) {
515 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
516 wxPyEndBlockThreads();
517 return NULL;
518 }
519 for (int x=0; x<count; x++) {
520 PyObject* pyo = PyList_GetItem(pyList, x);
521
522 if (PyTuple_Check(pyo)) {
523 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
524 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
525
526 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
527 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
528
529 list->Append((wxObject*) new wxRealPoint(val1, val2));
530
531 } else {
532 wxRealPoint* wxo = NULL;
533 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
534 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
535 wxPyEndBlockThreads();
536 return NULL;
537 }
538 list->Append((wxObject*) new wxRealPoint(*wxo));
539 }
540 }
541 wxPyEndBlockThreads();
542 return list;
543}
544
545//---------------------------------------------------------------------------
546
547PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
548 PyObject* target = NULL;
549
550 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
551 // If it's derived from wxShapeEvtHandler then there may
552 // already be a pointer to a Python object that we can use
553 // in the OOR data.
554 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
555 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
556 if (data) {
557 target = data->m_obj;
558 Py_INCREF(target);
559 }
560 }
561 if (! target) {
562 target = wxPyMake_wxObject2(source, FALSE);
563 if (target != Py_None)
564 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
565 }
566 return target;
567}
568
569//---------------------------------------------------------------------------
570
571PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
572 wxList* list = (wxList*)listbase;
573 PyObject* pyList;
574 PyObject* pyObj;
575 wxObject* wxObj;
576 wxNode* node = list->GetFirst();
577
578 wxPyBeginBlockThreads();
579 pyList = PyList_New(0);
580 while (node) {
581 wxObj = node->GetData();
582 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
583 PyList_Append(pyList, pyObj);
584 node = node->GetNext();
585 }
586 wxPyEndBlockThreads();
587 return pyList;
588}
589
590
591//---------------------------------------------------------------------------
592
593IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
594IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
595IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
596IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
597IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
598IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
599IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
600IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
601IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
602IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
603IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
604IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
605IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
606IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
607IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
608
609//---------------------------------------------------------------------------
610
611// extern "C" SWIGEXPORT(void) initoglbasicc();
612// extern "C" SWIGEXPORT(void) initoglshapesc();
613// extern "C" SWIGEXPORT(void) initoglshapes2c();
614// extern "C" SWIGEXPORT(void) initoglcanvasc();
615
616#ifdef __cplusplus
617extern "C" {
618#endif
619static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject *resultobj;
621 wxShapeRegion *result;
622 char *kwnames[] = {
623 NULL
624 };
625
626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
627 {
628 PyThreadState* __tstate = wxPyBeginAllowThreads();
629 result = (wxShapeRegion *)new wxShapeRegion();
630
631 wxPyEndAllowThreads(__tstate);
632 if (PyErr_Occurred()) SWIG_fail;
633 }
634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
635 return resultobj;
636 fail:
637 return NULL;
638}
639
640
641static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
642 PyObject *resultobj;
643 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
644 wxString *arg2 = 0 ;
645 bool temp2 = False ;
646 PyObject * obj0 = 0 ;
647 PyObject * obj1 = 0 ;
648 char *kwnames[] = {
649 (char *) "self",(char *) "s", NULL
650 };
651
652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
654 {
655 arg2 = wxString_in_helper(obj1);
656 if (arg2 == NULL) SWIG_fail;
657 temp2 = True;
658 }
659 {
660 PyThreadState* __tstate = wxPyBeginAllowThreads();
661 (arg1)->SetText((wxString const &)*arg2);
662
663 wxPyEndAllowThreads(__tstate);
664 if (PyErr_Occurred()) SWIG_fail;
665 }
666 Py_INCREF(Py_None); resultobj = Py_None;
667 {
668 if (temp2)
669 delete arg2;
670 }
671 return resultobj;
672 fail:
673 {
674 if (temp2)
675 delete arg2;
676 }
677 return NULL;
678}
679
680
681static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
682 PyObject *resultobj;
683 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
684 wxFont *arg2 = (wxFont *) 0 ;
685 PyObject * obj0 = 0 ;
686 PyObject * obj1 = 0 ;
687 char *kwnames[] = {
688 (char *) "self",(char *) "f", NULL
689 };
690
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
693 {
694 wxFont* temp;
695 if (obj1) {
696 if (obj1 == Py_None) {
697 temp = NULL;
698 }
699 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
700 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
701 return NULL;
702 }
703 }
704 if (temp)
705 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
706 temp->GetFamily(),
707 temp->GetStyle(),
708 temp->GetWeight(),
709 temp->GetUnderlined(),
710 temp->GetFaceName(),
711 temp->GetEncoding());
712 else
713 arg2 = NULL;
714 }
715 {
716 PyThreadState* __tstate = wxPyBeginAllowThreads();
717 (arg1)->SetFont(arg2);
718
719 wxPyEndAllowThreads(__tstate);
720 if (PyErr_Occurred()) SWIG_fail;
721 }
722 Py_INCREF(Py_None); resultobj = Py_None;
723 return resultobj;
724 fail:
725 return NULL;
726}
727
728
729static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
730 PyObject *resultobj;
731 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
732 double arg2 ;
733 double arg3 ;
734 PyObject * obj0 = 0 ;
735 char *kwnames[] = {
736 (char *) "self",(char *) "w",(char *) "h", NULL
737 };
738
739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetMinSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
741 {
742 PyThreadState* __tstate = wxPyBeginAllowThreads();
743 (arg1)->SetMinSize(arg2,arg3);
744
745 wxPyEndAllowThreads(__tstate);
746 if (PyErr_Occurred()) SWIG_fail;
747 }
748 Py_INCREF(Py_None); resultobj = Py_None;
749 return resultobj;
750 fail:
751 return NULL;
752}
753
754
755static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject *resultobj;
757 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
758 double arg2 ;
759 double arg3 ;
760 PyObject * obj0 = 0 ;
761 char *kwnames[] = {
762 (char *) "self",(char *) "w",(char *) "h", NULL
763 };
764
765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
767 {
768 PyThreadState* __tstate = wxPyBeginAllowThreads();
769 (arg1)->SetSize(arg2,arg3);
770
771 wxPyEndAllowThreads(__tstate);
772 if (PyErr_Occurred()) SWIG_fail;
773 }
774 Py_INCREF(Py_None); resultobj = Py_None;
775 return resultobj;
776 fail:
777 return NULL;
778}
779
780
781static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
782 PyObject *resultobj;
783 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
784 double arg2 ;
785 double arg3 ;
786 PyObject * obj0 = 0 ;
787 char *kwnames[] = {
788 (char *) "self",(char *) "x",(char *) "y", NULL
789 };
790
791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
793 {
794 PyThreadState* __tstate = wxPyBeginAllowThreads();
795 (arg1)->SetPosition(arg2,arg3);
796
797 wxPyEndAllowThreads(__tstate);
798 if (PyErr_Occurred()) SWIG_fail;
799 }
800 Py_INCREF(Py_None); resultobj = Py_None;
801 return resultobj;
802 fail:
803 return NULL;
804}
805
806
807static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject *resultobj;
809 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
810 double arg2 ;
811 double arg3 ;
812 PyObject * obj0 = 0 ;
813 char *kwnames[] = {
814 (char *) "self",(char *) "x",(char *) "y", NULL
815 };
816
817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetProportions",kwnames,&obj0,&arg2,&arg3)) goto fail;
818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
819 {
820 PyThreadState* __tstate = wxPyBeginAllowThreads();
821 (arg1)->SetProportions(arg2,arg3);
822
823 wxPyEndAllowThreads(__tstate);
824 if (PyErr_Occurred()) SWIG_fail;
825 }
826 Py_INCREF(Py_None); resultobj = Py_None;
827 return resultobj;
828 fail:
829 return NULL;
830}
831
832
833static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
834 PyObject *resultobj;
835 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
836 int arg2 ;
837 PyObject * obj0 = 0 ;
838 char *kwnames[] = {
839 (char *) "self",(char *) "mode", NULL
840 };
841
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames,&obj0,&arg2)) goto fail;
843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
844 {
845 PyThreadState* __tstate = wxPyBeginAllowThreads();
846 (arg1)->SetFormatMode(arg2);
847
848 wxPyEndAllowThreads(__tstate);
849 if (PyErr_Occurred()) SWIG_fail;
850 }
851 Py_INCREF(Py_None); resultobj = Py_None;
852 return resultobj;
853 fail:
854 return NULL;
855}
856
857
858static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
859 PyObject *resultobj;
860 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
861 wxString *arg2 = 0 ;
862 bool temp2 = False ;
863 PyObject * obj0 = 0 ;
864 PyObject * obj1 = 0 ;
865 char *kwnames[] = {
866 (char *) "self",(char *) "s", NULL
867 };
868
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
871 {
872 arg2 = wxString_in_helper(obj1);
873 if (arg2 == NULL) SWIG_fail;
874 temp2 = True;
875 }
876 {
877 PyThreadState* __tstate = wxPyBeginAllowThreads();
878 (arg1)->SetName((wxString const &)*arg2);
879
880 wxPyEndAllowThreads(__tstate);
881 if (PyErr_Occurred()) SWIG_fail;
882 }
883 Py_INCREF(Py_None); resultobj = Py_None;
884 {
885 if (temp2)
886 delete arg2;
887 }
888 return resultobj;
889 fail:
890 {
891 if (temp2)
892 delete arg2;
893 }
894 return NULL;
895}
896
897
898static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
899 PyObject *resultobj;
900 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
901 wxString *arg2 = 0 ;
902 bool temp2 = False ;
903 PyObject * obj0 = 0 ;
904 PyObject * obj1 = 0 ;
905 char *kwnames[] = {
906 (char *) "self",(char *) "col", NULL
907 };
908
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
911 {
912 arg2 = wxString_in_helper(obj1);
913 if (arg2 == NULL) SWIG_fail;
914 temp2 = True;
915 }
916 {
917 PyThreadState* __tstate = wxPyBeginAllowThreads();
918 (arg1)->SetColour((wxString const &)*arg2);
919
920 wxPyEndAllowThreads(__tstate);
921 if (PyErr_Occurred()) SWIG_fail;
922 }
923 Py_INCREF(Py_None); resultobj = Py_None;
924 {
925 if (temp2)
926 delete arg2;
927 }
928 return resultobj;
929 fail:
930 {
931 if (temp2)
932 delete arg2;
933 }
934 return NULL;
935}
936
937
938static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
939 PyObject *resultobj;
940 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
941 wxString result;
942 PyObject * obj0 = 0 ;
943 char *kwnames[] = {
944 (char *) "self", NULL
945 };
946
947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 result = (arg1)->GetText();
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 {
957#if wxUSE_UNICODE
958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
959#else
960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
961#endif
962 }
963 return resultobj;
964 fail:
965 return NULL;
966}
967
968
969static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
970 PyObject *resultobj;
971 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
972 wxFont *result;
973 PyObject * obj0 = 0 ;
974 char *kwnames[] = {
975 (char *) "self", NULL
976 };
977
978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
980 {
981 PyThreadState* __tstate = wxPyBeginAllowThreads();
982 result = (wxFont *)(arg1)->GetFont();
983
984 wxPyEndAllowThreads(__tstate);
985 if (PyErr_Occurred()) SWIG_fail;
986 }
987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
988 return resultobj;
989 fail:
990 return NULL;
991}
992
993
994static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject *resultobj;
996 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
997 double *arg2 = (double *) 0 ;
998 double *arg3 = (double *) 0 ;
999 double temp2 ;
1000 double temp3 ;
1001 PyObject * obj0 = 0 ;
1002 char *kwnames[] = {
1003 (char *) "self", NULL
1004 };
1005
1006 arg2 = &temp2;
1007 arg3 = &temp3;
1008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1010 {
1011 PyThreadState* __tstate = wxPyBeginAllowThreads();
1012 (arg1)->GetMinSize(arg2,arg3);
1013
1014 wxPyEndAllowThreads(__tstate);
1015 if (PyErr_Occurred()) SWIG_fail;
1016 }
1017 Py_INCREF(Py_None); resultobj = Py_None;
1018 {
1019 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1020 resultobj = t_output_helper(resultobj,o);
1021 }
1022 {
1023 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1024 resultobj = t_output_helper(resultobj,o);
1025 }
1026 return resultobj;
1027 fail:
1028 return NULL;
1029}
1030
1031
1032static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject *resultobj;
1034 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1035 double *arg2 = (double *) 0 ;
1036 double *arg3 = (double *) 0 ;
1037 double temp2 ;
1038 double temp3 ;
1039 PyObject * obj0 = 0 ;
1040 char *kwnames[] = {
1041 (char *) "self", NULL
1042 };
1043
1044 arg2 = &temp2;
1045 arg3 = &temp3;
1046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1048 {
1049 PyThreadState* __tstate = wxPyBeginAllowThreads();
1050 (arg1)->GetProportion(arg2,arg3);
1051
1052 wxPyEndAllowThreads(__tstate);
1053 if (PyErr_Occurred()) SWIG_fail;
1054 }
1055 Py_INCREF(Py_None); resultobj = Py_None;
1056 {
1057 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1058 resultobj = t_output_helper(resultobj,o);
1059 }
1060 {
1061 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1062 resultobj = t_output_helper(resultobj,o);
1063 }
1064 return resultobj;
1065 fail:
1066 return NULL;
1067}
1068
1069
1070static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1071 PyObject *resultobj;
1072 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1073 double *arg2 = (double *) 0 ;
1074 double *arg3 = (double *) 0 ;
1075 double temp2 ;
1076 double temp3 ;
1077 PyObject * obj0 = 0 ;
1078 char *kwnames[] = {
1079 (char *) "self", NULL
1080 };
1081
1082 arg2 = &temp2;
1083 arg3 = &temp3;
1084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 {
1087 PyThreadState* __tstate = wxPyBeginAllowThreads();
1088 (arg1)->GetSize(arg2,arg3);
1089
1090 wxPyEndAllowThreads(__tstate);
1091 if (PyErr_Occurred()) SWIG_fail;
1092 }
1093 Py_INCREF(Py_None); resultobj = Py_None;
1094 {
1095 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1096 resultobj = t_output_helper(resultobj,o);
1097 }
1098 {
1099 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1100 resultobj = t_output_helper(resultobj,o);
1101 }
1102 return resultobj;
1103 fail:
1104 return NULL;
1105}
1106
1107
1108static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject *resultobj;
1110 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1111 double *arg2 = (double *) 0 ;
1112 double *arg3 = (double *) 0 ;
1113 double temp2 ;
1114 double temp3 ;
1115 PyObject * obj0 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self", NULL
1118 };
1119
1120 arg2 = &temp2;
1121 arg3 = &temp3;
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1124 {
1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
1126 (arg1)->GetPosition(arg2,arg3);
1127
1128 wxPyEndAllowThreads(__tstate);
1129 if (PyErr_Occurred()) SWIG_fail;
1130 }
1131 Py_INCREF(Py_None); resultobj = Py_None;
1132 {
1133 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1134 resultobj = t_output_helper(resultobj,o);
1135 }
1136 {
1137 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1138 resultobj = t_output_helper(resultobj,o);
1139 }
1140 return resultobj;
1141 fail:
1142 return NULL;
1143}
1144
1145
1146static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject *resultobj;
1148 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1149 int result;
1150 PyObject * obj0 = 0 ;
1151 char *kwnames[] = {
1152 (char *) "self", NULL
1153 };
1154
1155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 result = (int)(arg1)->GetFormatMode();
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) SWIG_fail;
1163 }
1164 resultobj = PyInt_FromLong((long)result);
1165 return resultobj;
1166 fail:
1167 return NULL;
1168}
1169
1170
1171static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject *resultobj;
1173 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1174 wxString result;
1175 PyObject * obj0 = 0 ;
1176 char *kwnames[] = {
1177 (char *) "self", NULL
1178 };
1179
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1182 {
1183 PyThreadState* __tstate = wxPyBeginAllowThreads();
1184 result = (arg1)->GetName();
1185
1186 wxPyEndAllowThreads(__tstate);
1187 if (PyErr_Occurred()) SWIG_fail;
1188 }
1189 {
1190#if wxUSE_UNICODE
1191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1192#else
1193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1194#endif
1195 }
1196 return resultobj;
1197 fail:
1198 return NULL;
1199}
1200
1201
1202static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1203 PyObject *resultobj;
1204 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1205 wxString result;
1206 PyObject * obj0 = 0 ;
1207 char *kwnames[] = {
1208 (char *) "self", NULL
1209 };
1210
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 {
1214 PyThreadState* __tstate = wxPyBeginAllowThreads();
1215 result = (arg1)->GetColour();
1216
1217 wxPyEndAllowThreads(__tstate);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 {
1221#if wxUSE_UNICODE
1222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1223#else
1224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1225#endif
1226 }
1227 return resultobj;
1228 fail:
1229 return NULL;
1230}
1231
1232
1233static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject *resultobj;
1235 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1236 wxColour *result;
1237 PyObject * obj0 = 0 ;
1238 char *kwnames[] = {
1239 (char *) "self", NULL
1240 };
1241
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 result = (wxColour *)(arg1)->GetActualColourObject();
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
1251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
1252 return resultobj;
1253 fail:
1254 return NULL;
1255}
1256
1257
1258static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1259 PyObject *resultobj;
1260 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1261 wxList *result;
1262 PyObject * obj0 = 0 ;
1263 char *kwnames[] = {
1264 (char *) "self", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269 {
1270 PyThreadState* __tstate = wxPyBeginAllowThreads();
1271 {
1272 wxList &_result_ref = (arg1)->GetFormattedText();
1273 result = (wxList *) &_result_ref;
1274 }
1275
1276 wxPyEndAllowThreads(__tstate);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 }
1279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1280 return resultobj;
1281 fail:
1282 return NULL;
1283}
1284
1285
1286static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1287 PyObject *resultobj;
1288 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1289 wxString result;
1290 PyObject * obj0 = 0 ;
1291 char *kwnames[] = {
1292 (char *) "self", NULL
1293 };
1294
1295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 result = (arg1)->GetPenColour();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 {
1305#if wxUSE_UNICODE
1306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1307#else
1308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1309#endif
1310 }
1311 return resultobj;
1312 fail:
1313 return NULL;
1314}
1315
1316
1317static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1320 int result;
1321 PyObject * obj0 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "self", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (int)(arg1)->GetPenStyle();
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 resultobj = PyInt_FromLong((long)result);
1336 return resultobj;
1337 fail:
1338 return NULL;
1339}
1340
1341
1342static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1343 PyObject *resultobj;
1344 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1345 int arg2 ;
1346 PyObject * obj0 = 0 ;
1347 char *kwnames[] = {
1348 (char *) "self",(char *) "style", NULL
1349 };
1350
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames,&obj0,&arg2)) goto fail;
1352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 (arg1)->SetPenStyle(arg2);
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 Py_INCREF(Py_None); resultobj = Py_None;
1361 return resultobj;
1362 fail:
1363 return NULL;
1364}
1365
1366
1367static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1370 wxString *arg2 = 0 ;
1371 bool temp2 = False ;
1372 PyObject * obj0 = 0 ;
1373 PyObject * obj1 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self",(char *) "col", NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 {
1381 arg2 = wxString_in_helper(obj1);
1382 if (arg2 == NULL) SWIG_fail;
1383 temp2 = True;
1384 }
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 (arg1)->SetPenColour((wxString const &)*arg2);
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 Py_INCREF(Py_None); resultobj = Py_None;
1393 {
1394 if (temp2)
1395 delete arg2;
1396 }
1397 return resultobj;
1398 fail:
1399 {
1400 if (temp2)
1401 delete arg2;
1402 }
1403 return NULL;
1404}
1405
1406
1407static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1410 wxPen *result;
1411 PyObject * obj0 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (wxPen *)(arg1)->GetActualPen();
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1426 return resultobj;
1427 fail:
1428 return NULL;
1429}
1430
1431
1432static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1435 double result;
1436 PyObject * obj0 = 0 ;
1437 char *kwnames[] = {
1438 (char *) "self", NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 result = (double)(arg1)->GetWidth();
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 resultobj = PyFloat_FromDouble(result);
1451 return resultobj;
1452 fail:
1453 return NULL;
1454}
1455
1456
1457static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1460 double result;
1461 PyObject * obj0 = 0 ;
1462 char *kwnames[] = {
1463 (char *) "self", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 result = (double)(arg1)->GetHeight();
1471
1472 wxPyEndAllowThreads(__tstate);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 resultobj = PyFloat_FromDouble(result);
1476 return resultobj;
1477 fail:
1478 return NULL;
1479}
1480
1481
1482static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject *resultobj;
1484 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1492 {
1493 PyThreadState* __tstate = wxPyBeginAllowThreads();
1494 (arg1)->ClearText();
1495
1496 wxPyEndAllowThreads(__tstate);
1497 if (PyErr_Occurred()) SWIG_fail;
1498 }
1499 Py_INCREF(Py_None); resultobj = Py_None;
1500 return resultobj;
1501 fail:
1502 return NULL;
1503}
1504
1505
1506static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1507 PyObject *obj;
1508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1510 Py_INCREF(obj);
1511 return Py_BuildValue((char *)"");
1512}
1513static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject *resultobj;
1515 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1516 wxPyShape *arg2 = (wxPyShape *) NULL ;
1517 wxPyShapeEvtHandler *result;
1518 PyObject * obj0 = 0 ;
1519 PyObject * obj1 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "prev",(char *) "shape", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1525 if (obj0) {
1526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1527 }
1528 if (obj1) {
1529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 }
1531 {
1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
1533 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1534
1535 wxPyEndAllowThreads(__tstate);
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
1538 {
1539 resultobj = wxPyMake_wxShapeEvtHandler(result);
1540 }
1541 return resultobj;
1542 fail:
1543 return NULL;
1544}
1545
1546
1547static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1550 PyObject *arg2 = (PyObject *) 0 ;
1551 PyObject *arg3 = (PyObject *) 0 ;
1552 PyObject * obj0 = 0 ;
1553 PyObject * obj1 = 0 ;
1554 PyObject * obj2 = 0 ;
1555 char *kwnames[] = {
1556 (char *) "self",(char *) "self",(char *) "_class", NULL
1557 };
1558
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 arg2 = obj1;
1562 arg3 = obj2;
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 (arg1)->_setCallbackInfo(arg2,arg3);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 Py_INCREF(Py_None); resultobj = Py_None;
1571 return resultobj;
1572 fail:
1573 return NULL;
1574}
1575
1576
1577static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1578 PyObject *resultobj;
1579 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1580 PyObject *arg2 = (PyObject *) 0 ;
1581 PyObject * obj0 = 0 ;
1582 PyObject * obj1 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self",(char *) "_self", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1589 arg2 = obj1;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601}
1602
1603
1604static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1607 wxPyShape *arg2 = (wxPyShape *) 0 ;
1608 PyObject * obj0 = 0 ;
1609 PyObject * obj1 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "self",(char *) "sh", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 (arg1)->SetShape(arg2);
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 Py_INCREF(Py_None); resultobj = Py_None;
1625 return resultobj;
1626 fail:
1627 return NULL;
1628}
1629
1630
1631static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1632 PyObject *resultobj;
1633 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1634 wxPyShape *result;
1635 PyObject * obj0 = 0 ;
1636 char *kwnames[] = {
1637 (char *) "self", NULL
1638 };
1639
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
1641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 result = (wxPyShape *)(arg1)->GetShape();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 {
1650 resultobj = wxPyMake_wxShapeEvtHandler(result);
1651 }
1652 return resultobj;
1653 fail:
1654 return NULL;
1655}
1656
1657
1658static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1659 PyObject *resultobj;
1660 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1661 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
1662 PyObject * obj0 = 0 ;
1663 PyObject * obj1 = 0 ;
1664 char *kwnames[] = {
1665 (char *) "self",(char *) "handler", NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
1669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1671 {
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 (arg1)->SetPreviousHandler(arg2);
1674
1675 wxPyEndAllowThreads(__tstate);
1676 if (PyErr_Occurred()) SWIG_fail;
1677 }
1678 Py_INCREF(Py_None); resultobj = Py_None;
1679 return resultobj;
1680 fail:
1681 return NULL;
1682}
1683
1684
1685static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1686 PyObject *resultobj;
1687 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1688 wxPyShapeEvtHandler *result;
1689 PyObject * obj0 = 0 ;
1690 char *kwnames[] = {
1691 (char *) "self", NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
1695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 {
1704 resultobj = wxPyMake_wxShapeEvtHandler(result);
1705 }
1706 return resultobj;
1707 fail:
1708 return NULL;
1709}
1710
1711
1712static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject *resultobj;
1714 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1715 wxPyShapeEvtHandler *result;
1716 PyObject * obj0 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "self", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 {
1731 resultobj = wxPyMake_wxShapeEvtHandler(result);
1732 }
1733 return resultobj;
1734 fail:
1735 return NULL;
1736}
1737
1738
1739static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1742 PyObject * obj0 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 (arg1)->base_OnDelete();
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 Py_INCREF(Py_None); resultobj = Py_None;
1757 return resultobj;
1758 fail:
1759 return NULL;
1760}
1761
1762
1763static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject *resultobj;
1765 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1766 wxDC *arg2 = 0 ;
1767 PyObject * obj0 = 0 ;
1768 PyObject * obj1 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self",(char *) "dc", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 if (arg2 == NULL) {
1777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1778 }
1779 {
1780 PyThreadState* __tstate = wxPyBeginAllowThreads();
1781 (arg1)->base_OnDraw(*arg2);
1782
1783 wxPyEndAllowThreads(__tstate);
1784 if (PyErr_Occurred()) SWIG_fail;
1785 }
1786 Py_INCREF(Py_None); resultobj = Py_None;
1787 return resultobj;
1788 fail:
1789 return NULL;
1790}
1791
1792
1793static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1796 wxDC *arg2 = 0 ;
1797 PyObject * obj0 = 0 ;
1798 PyObject * obj1 = 0 ;
1799 char *kwnames[] = {
1800 (char *) "self",(char *) "dc", NULL
1801 };
1802
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
1804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1806 if (arg2 == NULL) {
1807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1808 }
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 (arg1)->base_OnDrawContents(*arg2);
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 Py_INCREF(Py_None); resultobj = Py_None;
1817 return resultobj;
1818 fail:
1819 return NULL;
1820}
1821
1822
1823static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1826 wxDC *arg2 = 0 ;
1827 bool arg3 = (bool) False ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830 PyObject * obj2 = 0 ;
1831 char *kwnames[] = {
1832 (char *) "self",(char *) "dc",(char *) "erase", NULL
1833 };
1834
1835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
1836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1838 if (arg2 == NULL) {
1839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1840 }
1841 if (obj2) {
1842 arg3 = PyInt_AsLong(obj2) ? true : false;
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 (arg1)->base_OnDrawBranches(*arg2,arg3);
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 Py_INCREF(Py_None); resultobj = Py_None;
1853 return resultobj;
1854 fail:
1855 return NULL;
1856}
1857
1858
1859static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1862 wxDC *arg2 = 0 ;
1863 PyObject * obj0 = 0 ;
1864 PyObject * obj1 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self",(char *) "dc", NULL
1867 };
1868
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1872 if (arg2 == NULL) {
1873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1874 }
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 (arg1)->base_OnMoveLinks(*arg2);
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 Py_INCREF(Py_None); resultobj = Py_None;
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1892 wxDC *arg2 = 0 ;
1893 PyObject * obj0 = 0 ;
1894 PyObject * obj1 = 0 ;
1895 char *kwnames[] = {
1896 (char *) "self",(char *) "dc", NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
1900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1902 if (arg2 == NULL) {
1903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1904 }
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 (arg1)->base_OnErase(*arg2);
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 Py_INCREF(Py_None); resultobj = Py_None;
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
1919static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1922 wxDC *arg2 = 0 ;
1923 PyObject * obj0 = 0 ;
1924 PyObject * obj1 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self",(char *) "dc", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 if (arg2 == NULL) {
1933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1934 }
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 (arg1)->base_OnEraseContents(*arg2);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 Py_INCREF(Py_None); resultobj = Py_None;
1943 return resultobj;
1944 fail:
1945 return NULL;
1946}
1947
1948
1949static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1952 wxDC *arg2 = 0 ;
1953 PyObject * obj0 = 0 ;
1954 PyObject * obj1 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "dc", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 if (arg2 == NULL) {
1963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1964 }
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 (arg1)->base_OnHighlight(*arg2);
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
1972 Py_INCREF(Py_None); resultobj = Py_None;
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
1979static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject *resultobj;
1981 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1982 double arg2 ;
1983 double arg3 ;
1984 int arg4 = (int) 0 ;
1985 int arg5 = (int) 0 ;
1986 PyObject * obj0 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1993 {
1994 PyThreadState* __tstate = wxPyBeginAllowThreads();
1995 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
1996
1997 wxPyEndAllowThreads(__tstate);
1998 if (PyErr_Occurred()) SWIG_fail;
1999 }
2000 Py_INCREF(Py_None); resultobj = Py_None;
2001 return resultobj;
2002 fail:
2003 return NULL;
2004}
2005
2006
2007static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject *resultobj;
2009 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2010 double arg2 ;
2011 double arg3 ;
2012 int arg4 = (int) 0 ;
2013 int arg5 = (int) 0 ;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032}
2033
2034
2035static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2036 PyObject *resultobj;
2037 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2038 double arg2 ;
2039 double arg3 ;
2040 int arg4 = (int) 0 ;
2041 int arg5 = (int) 0 ;
2042 PyObject * obj0 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 return resultobj;
2058 fail:
2059 return NULL;
2060}
2061
2062
2063static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2066 double arg2 ;
2067 double arg3 ;
2068 PyObject * obj0 = 0 ;
2069 char *kwnames[] = {
2070 (char *) "self",(char *) "x",(char *) "y", NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 (arg1)->base_OnSize(arg2,arg3);
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 Py_INCREF(Py_None); resultobj = Py_None;
2083 return resultobj;
2084 fail:
2085 return NULL;
2086}
2087
2088
2089static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2092 wxDC *arg2 = 0 ;
2093 double arg3 ;
2094 double arg4 ;
2095 double arg5 ;
2096 double arg6 ;
2097 bool arg7 = (bool) True ;
2098 bool result;
2099 PyObject * obj0 = 0 ;
2100 PyObject * obj1 = 0 ;
2101 PyObject * obj6 = 0 ;
2102 char *kwnames[] = {
2103 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2104 };
2105
2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2109 if (arg2 == NULL) {
2110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2111 }
2112 if (obj6) {
2113 arg7 = PyInt_AsLong(obj6) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 resultobj = PyInt_FromLong((long)result);
2124 return resultobj;
2125 fail:
2126 return NULL;
2127}
2128
2129
2130static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2133 wxDC *arg2 = 0 ;
2134 double arg3 ;
2135 double arg4 ;
2136 double arg5 ;
2137 double arg6 ;
2138 bool arg7 = (bool) True ;
2139 PyObject * obj0 = 0 ;
2140 PyObject * obj1 = 0 ;
2141 PyObject * obj6 = 0 ;
2142 char *kwnames[] = {
2143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 if (arg2 == NULL) {
2150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2151 }
2152 if (obj6) {
2153 arg7 = PyInt_AsLong(obj6) ? true : false;
2154 if (PyErr_Occurred()) SWIG_fail;
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 Py_INCREF(Py_None); resultobj = Py_None;
2164 return resultobj;
2165 fail:
2166 return NULL;
2167}
2168
2169
2170static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2171 PyObject *resultobj;
2172 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2173 bool arg2 ;
2174 double arg3 ;
2175 double arg4 ;
2176 int arg5 = (int) 0 ;
2177 int arg6 = (int) 0 ;
2178 PyObject * obj0 = 0 ;
2179 PyObject * obj1 = 0 ;
2180 char *kwnames[] = {
2181 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2182 };
2183
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2186 arg2 = PyInt_AsLong(obj1) ? true : false;
2187 if (PyErr_Occurred()) SWIG_fail;
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
2195 Py_INCREF(Py_None); resultobj = Py_None;
2196 return resultobj;
2197 fail:
2198 return NULL;
2199}
2200
2201
2202static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2205 double arg2 ;
2206 double arg3 ;
2207 int arg4 = (int) 0 ;
2208 int arg5 = (int) 0 ;
2209 PyObject * obj0 = 0 ;
2210 char *kwnames[] = {
2211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 Py_INCREF(Py_None); resultobj = Py_None;
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2233 double arg2 ;
2234 double arg3 ;
2235 int arg4 = (int) 0 ;
2236 int arg5 = (int) 0 ;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 Py_INCREF(Py_None); resultobj = Py_None;
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2261 bool arg2 ;
2262 double arg3 ;
2263 double arg4 ;
2264 int arg5 = (int) 0 ;
2265 int arg6 = (int) 0 ;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj1 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2274 arg2 = PyInt_AsLong(obj1) ? true : false;
2275 if (PyErr_Occurred()) SWIG_fail;
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 return resultobj;
2285 fail:
2286 return NULL;
2287}
2288
2289
2290static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2293 double arg2 ;
2294 double arg3 ;
2295 int arg4 = (int) 0 ;
2296 int arg5 = (int) 0 ;
2297 PyObject * obj0 = 0 ;
2298 char *kwnames[] = {
2299 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2304 {
2305 PyThreadState* __tstate = wxPyBeginAllowThreads();
2306 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2307
2308 wxPyEndAllowThreads(__tstate);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 }
2311 Py_INCREF(Py_None); resultobj = Py_None;
2312 return resultobj;
2313 fail:
2314 return NULL;
2315}
2316
2317
2318static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2321 double arg2 ;
2322 double arg3 ;
2323 int arg4 = (int) 0 ;
2324 int arg5 = (int) 0 ;
2325 PyObject * obj0 = 0 ;
2326 char *kwnames[] = {
2327 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2328 };
2329
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 Py_INCREF(Py_None); resultobj = Py_None;
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
2346static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2349 wxDC *arg2 = 0 ;
2350 double arg3 ;
2351 double arg4 ;
2352 double arg5 ;
2353 double arg6 ;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2363 if (arg2 == NULL) {
2364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2365 }
2366 {
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 Py_INCREF(Py_None); resultobj = Py_None;
2374 return resultobj;
2375 fail:
2376 return NULL;
2377}
2378
2379
2380static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj;
2382 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2383 wxDC *arg2 = 0 ;
2384 PyObject * obj0 = 0 ;
2385 PyObject * obj1 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self",(char *) "dc", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2393 if (arg2 == NULL) {
2394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->base_OnDrawControlPoints(*arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
2410static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2413 wxDC *arg2 = 0 ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj1 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self",(char *) "dc", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423 if (arg2 == NULL) {
2424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 (arg1)->base_OnEraseControlPoints(*arg2);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 Py_INCREF(Py_None); resultobj = Py_None;
2434 return resultobj;
2435 fail:
2436 return NULL;
2437}
2438
2439
2440static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject *resultobj;
2442 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2443 wxDC *arg2 = 0 ;
2444 bool arg3 = (bool) True ;
2445 PyObject * obj0 = 0 ;
2446 PyObject * obj1 = 0 ;
2447 PyObject * obj2 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if (arg2 == NULL) {
2456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2457 }
2458 if (obj2) {
2459 arg3 = PyInt_AsLong(obj2) ? true : false;
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 (arg1)->base_OnMoveLink(*arg2,arg3);
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 }
2469 Py_INCREF(Py_None); resultobj = Py_None;
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject *resultobj;
2478 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2479 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2480 bool arg3 ;
2481 double arg4 ;
2482 double arg5 ;
2483 int arg6 = (int) 0 ;
2484 int arg7 = (int) 0 ;
2485 PyObject * obj0 = 0 ;
2486 PyObject * obj1 = 0 ;
2487 PyObject * obj2 = 0 ;
2488 char *kwnames[] = {
2489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2490 };
2491
2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
2493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2495 arg3 = PyInt_AsLong(obj2) ? true : false;
2496 if (PyErr_Occurred()) SWIG_fail;
2497 {
2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
2499 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
2500
2501 wxPyEndAllowThreads(__tstate);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
2504 Py_INCREF(Py_None); resultobj = Py_None;
2505 return resultobj;
2506 fail:
2507 return NULL;
2508}
2509
2510
2511static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2514 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2515 double arg3 ;
2516 double arg4 ;
2517 int arg5 = (int) 0 ;
2518 int arg6 = (int) 0 ;
2519 PyObject * obj0 = 0 ;
2520 PyObject * obj1 = 0 ;
2521 char *kwnames[] = {
2522 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2523 };
2524
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2528 {
2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
2530 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
2531
2532 wxPyEndAllowThreads(__tstate);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 Py_INCREF(Py_None); resultobj = Py_None;
2536 return resultobj;
2537 fail:
2538 return NULL;
2539}
2540
2541
2542static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject *resultobj;
2544 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2545 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2546 double arg3 ;
2547 double arg4 ;
2548 int arg5 = (int) 0 ;
2549 int arg6 = (int) 0 ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 Py_INCREF(Py_None); resultobj = Py_None;
2567 return resultobj;
2568 fail:
2569 return NULL;
2570}
2571
2572
2573static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject *resultobj;
2575 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2576 double arg2 ;
2577 double arg3 ;
2578 PyObject * obj0 = 0 ;
2579 char *kwnames[] = {
2580 (char *) "self",(char *) "w",(char *) "h", NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2585 {
2586 PyThreadState* __tstate = wxPyBeginAllowThreads();
2587 (arg1)->base_OnBeginSize(arg2,arg3);
2588
2589 wxPyEndAllowThreads(__tstate);
2590 if (PyErr_Occurred()) SWIG_fail;
2591 }
2592 Py_INCREF(Py_None); resultobj = Py_None;
2593 return resultobj;
2594 fail:
2595 return NULL;
2596}
2597
2598
2599static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject *resultobj;
2601 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2602 double arg2 ;
2603 double arg3 ;
2604 PyObject * obj0 = 0 ;
2605 char *kwnames[] = {
2606 (char *) "self",(char *) "w",(char *) "h", NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 (arg1)->base_OnEndSize(arg2,arg3);
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 Py_INCREF(Py_None); resultobj = Py_None;
2619 return resultobj;
2620 fail:
2621 return NULL;
2622}
2623
2624
2625static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
2626 PyObject *obj;
2627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2628 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
2629 Py_INCREF(obj);
2630 return Py_BuildValue((char *)"");
2631}
2632static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
2635 wxPyShape *result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "can", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
2642 if (obj0) {
2643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2644 }
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = (wxPyShape *)new wxPyShape(arg1);
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 {
2653 resultobj = wxPyMake_wxShapeEvtHandler(result);
2654 }
2655 return resultobj;
2656 fail:
2657 return NULL;
2658}
2659
2660
2661static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxPyShape *arg1 = (wxPyShape *) 0 ;
2664 PyObject *arg2 = (PyObject *) 0 ;
2665 PyObject *arg3 = (PyObject *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 PyObject * obj1 = 0 ;
2668 PyObject * obj2 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "self",(char *) "_class", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2675 arg2 = obj1;
2676 arg3 = obj2;
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 (arg1)->_setCallbackInfo(arg2,arg3);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 Py_INCREF(Py_None); resultobj = Py_None;
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
2691static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxPyShape *arg1 = (wxPyShape *) 0 ;
2694 double *arg2 = (double *) 0 ;
2695 double *arg3 = (double *) 0 ;
2696 double temp2 ;
2697 double temp3 ;
2698 PyObject * obj0 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self", NULL
2701 };
2702
2703 arg2 = &temp2;
2704 arg3 = &temp3;
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 (arg1)->GetBoundingBoxMax(arg2,arg3);
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 Py_INCREF(Py_None); resultobj = Py_None;
2715 {
2716 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2717 resultobj = t_output_helper(resultobj,o);
2718 }
2719 {
2720 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2721 resultobj = t_output_helper(resultobj,o);
2722 }
2723 return resultobj;
2724 fail:
2725 return NULL;
2726}
2727
2728
2729static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxPyShape *arg1 = (wxPyShape *) 0 ;
2732 double *arg2 = (double *) 0 ;
2733 double *arg3 = (double *) 0 ;
2734 double temp2 ;
2735 double temp3 ;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self", NULL
2739 };
2740
2741 arg2 = &temp2;
2742 arg3 = &temp3;
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->GetBoundingBoxMin(arg2,arg3);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 {
2754 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2755 resultobj = t_output_helper(resultobj,o);
2756 }
2757 {
2758 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2759 resultobj = t_output_helper(resultobj,o);
2760 }
2761 return resultobj;
2762 fail:
2763 return NULL;
2764}
2765
2766
2767static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2768 PyObject *resultobj;
2769 wxPyShape *arg1 = (wxPyShape *) 0 ;
2770 double arg2 ;
2771 double arg3 ;
2772 double arg4 ;
2773 double arg5 ;
2774 double *arg6 = (double *) 0 ;
2775 double *arg7 = (double *) 0 ;
2776 bool result;
2777 double temp6 ;
2778 double temp7 ;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2782 };
2783
2784 arg6 = &temp6;
2785 arg7 = &temp7;
2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2788 {
2789 PyThreadState* __tstate = wxPyBeginAllowThreads();
2790 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
2791
2792 wxPyEndAllowThreads(__tstate);
2793 if (PyErr_Occurred()) SWIG_fail;
2794 }
2795 resultobj = PyInt_FromLong((long)result);
2796 {
2797 PyObject *o = PyFloat_FromDouble((double) (*arg6));
2798 resultobj = t_output_helper(resultobj,o);
2799 }
2800 {
2801 PyObject *o = PyFloat_FromDouble((double) (*arg7));
2802 resultobj = t_output_helper(resultobj,o);
2803 }
2804 return resultobj;
2805 fail:
2806 return NULL;
2807}
2808
2809
2810static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxPyShape *arg1 = (wxPyShape *) 0 ;
2813 wxPyShapeCanvas *result;
2814 PyObject * obj0 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 {
2829 resultobj = wxPyMake_wxObject(result);
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834}
2835
2836
2837static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxPyShape *arg1 = (wxPyShape *) 0 ;
2840 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 PyObject * obj1 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self",(char *) "the_canvas", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 (arg1)->SetCanvas(arg2);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 Py_INCREF(Py_None); resultobj = Py_None;
2858 return resultobj;
2859 fail:
2860 return NULL;
2861}
2862
2863
2864static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxPyShape *arg1 = (wxPyShape *) 0 ;
2867 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2868 wxPyShape *arg3 = (wxPyShape *) NULL ;
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 PyObject * obj2 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2879 if (obj2) {
2880 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2881 }
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 (arg1)->AddToCanvas(arg2,arg3);
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 Py_INCREF(Py_None); resultobj = Py_None;
2890 return resultobj;
2891 fail:
2892 return NULL;
2893}
2894
2895
2896static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject *resultobj;
2898 wxPyShape *arg1 = (wxPyShape *) 0 ;
2899 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2900 PyObject * obj0 = 0 ;
2901 PyObject * obj1 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "the_canvas", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 (arg1)->InsertInCanvas(arg2);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 Py_INCREF(Py_None); resultobj = Py_None;
2917 return resultobj;
2918 fail:
2919 return NULL;
2920}
2921
2922
2923static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxPyShape *arg1 = (wxPyShape *) 0 ;
2926 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self",(char *) "the_canvas", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->RemoveFromCanvas(arg2);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947}
2948
2949
2950static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxPyShape *arg1 = (wxPyShape *) 0 ;
2953 double result;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 result = (double)(arg1)->GetX();
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 resultobj = PyFloat_FromDouble(result);
2969 return resultobj;
2970 fail:
2971 return NULL;
2972}
2973
2974
2975static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxPyShape *arg1 = (wxPyShape *) 0 ;
2978 double result;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (double)(arg1)->GetY();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 resultobj = PyFloat_FromDouble(result);
2994 return resultobj;
2995 fail:
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxPyShape *arg1 = (wxPyShape *) 0 ;
3003 double arg2 ;
3004 PyObject * obj0 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self",(char *) "x", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetX",kwnames,&obj0,&arg2)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 (arg1)->SetX(arg2);
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
3018 Py_INCREF(Py_None); resultobj = Py_None;
3019 return resultobj;
3020 fail:
3021 return NULL;
3022}
3023
3024
3025static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxPyShape *arg1 = (wxPyShape *) 0 ;
3028 double arg2 ;
3029 PyObject * obj0 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self",(char *) "y", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetY",kwnames,&obj0,&arg2)) goto fail;
3035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3036 {
3037 PyThreadState* __tstate = wxPyBeginAllowThreads();
3038 (arg1)->SetY(arg2);
3039
3040 wxPyEndAllowThreads(__tstate);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 }
3043 Py_INCREF(Py_None); resultobj = Py_None;
3044 return resultobj;
3045 fail:
3046 return NULL;
3047}
3048
3049
3050static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxPyShape *arg1 = (wxPyShape *) 0 ;
3053 wxPyShape *result;
3054 PyObject * obj0 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "self", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = (wxPyShape *)(arg1)->GetParent();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 resultobj = wxPyMake_wxShapeEvtHandler(result);
3070 }
3071 return resultobj;
3072 fail:
3073 return NULL;
3074}
3075
3076
3077static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3078 PyObject *resultobj;
3079 wxPyShape *arg1 = (wxPyShape *) 0 ;
3080 wxPyShape *arg2 = (wxPyShape *) 0 ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self",(char *) "p", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->SetParent(arg2);
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxPyShape *arg1 = (wxPyShape *) 0 ;
3107 wxPyShape *result;
3108 PyObject * obj0 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (wxPyShape *)(arg1)->GetTopAncestor();
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 {
3123 resultobj = wxPyMake_wxShapeEvtHandler(result);
3124 }
3125 return resultobj;
3126 fail:
3127 return NULL;
3128}
3129
3130
3131static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxPyShape *arg1 = (wxPyShape *) 0 ;
3134 PyObject *result;
3135 PyObject * obj0 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3142 {
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
3144 result = (PyObject *)wxPyShape_GetChildren(arg1);
3145
3146 wxPyEndAllowThreads(__tstate);
3147 if (PyErr_Occurred()) SWIG_fail;
3148 }
3149 resultobj = result;
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
3156static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj;
3158 wxPyShape *arg1 = (wxPyShape *) 0 ;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 {
3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
3168 (arg1)->Unlink();
3169
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 Py_INCREF(Py_None); resultobj = Py_None;
3174 return resultobj;
3175 fail:
3176 return NULL;
3177}
3178
3179
3180static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxPyShape *arg1 = (wxPyShape *) 0 ;
3183 bool arg2 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186 char *kwnames[] = {
3187 (char *) "self",(char *) "drawH", NULL
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3192 arg2 = PyInt_AsLong(obj1) ? true : false;
3193 if (PyErr_Occurred()) SWIG_fail;
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 (arg1)->SetDrawHandles(arg2);
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205}
3206
3207
3208static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxPyShape *arg1 = (wxPyShape *) 0 ;
3211 bool result;
3212 PyObject * obj0 = 0 ;
3213 char *kwnames[] = {
3214 (char *) "self", NULL
3215 };
3216
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
3218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 result = (bool)(arg1)->GetDrawHandles();
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 resultobj = PyInt_FromLong((long)result);
3227 return resultobj;
3228 fail:
3229 return NULL;
3230}
3231
3232
3233static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxPyShape *arg1 = (wxPyShape *) 0 ;
3236 PyObject * obj0 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->MakeControlPoints();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 Py_INCREF(Py_None); resultobj = Py_None;
3251 return resultobj;
3252 fail:
3253 return NULL;
3254}
3255
3256
3257static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxPyShape *arg1 = (wxPyShape *) 0 ;
3260 wxDC *arg2 = (wxDC *) NULL ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "dc", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 if (obj1) {
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->DeleteControlPoints(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283}
3284
3285
3286static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxPyShape *arg1 = (wxPyShape *) 0 ;
3289 PyObject * obj0 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 (arg1)->ResetControlPoints();
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307}
3308
3309
3310static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxPyShape *arg1 = (wxPyShape *) 0 ;
3313 wxPyShapeEvtHandler *result;
3314 PyObject * obj0 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 {
3329 resultobj = wxPyMake_wxShapeEvtHandler(result);
3330 }
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxPyShape *arg1 = (wxPyShape *) 0 ;
3340 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3341 PyObject * obj0 = 0 ;
3342 PyObject * obj1 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "self",(char *) "handler", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
3348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 (arg1)->SetEventHandler(arg2);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 Py_INCREF(Py_None); resultobj = Py_None;
3358 return resultobj;
3359 fail:
3360 return NULL;
3361}
3362
3363
3364static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxPyShape *arg1 = (wxPyShape *) 0 ;
3367 PyObject * obj0 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
3373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 (arg1)->MakeMandatoryControlPoints();
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 Py_INCREF(Py_None); resultobj = Py_None;
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxPyShape *arg1 = (wxPyShape *) 0 ;
3391 PyObject * obj0 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 (arg1)->ResetMandatoryControlPoints();
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 Py_INCREF(Py_None); resultobj = Py_None;
3406 return resultobj;
3407 fail:
3408 return NULL;
3409}
3410
3411
3412static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject *resultobj;
3414 wxPyShape *arg1 = (wxPyShape *) 0 ;
3415 bool result;
3416 PyObject * obj0 = 0 ;
3417 char *kwnames[] = {
3418 (char *) "self", NULL
3419 };
3420
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
3422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (bool)(arg1)->Recompute();
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 resultobj = PyInt_FromLong((long)result);
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
3437static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxPyShape *arg1 = (wxPyShape *) 0 ;
3440 PyObject * obj0 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "self", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->CalculateSize();
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
3461static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxPyShape *arg1 = (wxPyShape *) 0 ;
3464 bool arg2 = (bool) True ;
3465 wxDC *arg3 = (wxDC *) NULL ;
3466 PyObject * obj0 = 0 ;
3467 PyObject * obj1 = 0 ;
3468 PyObject * obj2 = 0 ;
3469 char *kwnames[] = {
3470 (char *) "self",(char *) "select",(char *) "dc", NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
3474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3475 if (obj1) {
3476 arg2 = PyInt_AsLong(obj1) ? true : false;
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 if (obj2) {
3480 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3481 }
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 (arg1)->Select(arg2,arg3);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 Py_INCREF(Py_None); resultobj = Py_None;
3490 return resultobj;
3491 fail:
3492 return NULL;
3493}
3494
3495
3496static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject *resultobj;
3498 wxPyShape *arg1 = (wxPyShape *) 0 ;
3499 bool arg2 = (bool) True ;
3500 bool arg3 = (bool) False ;
3501 PyObject * obj0 = 0 ;
3502 PyObject * obj1 = 0 ;
3503 PyObject * obj2 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
3509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3510 if (obj1) {
3511 arg2 = PyInt_AsLong(obj1) ? true : false;
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 if (obj2) {
3515 arg3 = PyInt_AsLong(obj2) ? true : false;
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 (arg1)->SetHighlight(arg2,arg3);
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 Py_INCREF(Py_None); resultobj = Py_None;
3526 return resultobj;
3527 fail:
3528 return NULL;
3529}
3530
3531
3532static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxPyShape *arg1 = (wxPyShape *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
3542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 result = (bool)(arg1)->IsHighlighted();
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 resultobj = PyInt_FromLong((long)result);
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
3557static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxPyShape *arg1 = (wxPyShape *) 0 ;
3560 bool result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (bool)(arg1)->Selected();
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 resultobj = PyInt_FromLong((long)result);
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
3582static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxPyShape *arg1 = (wxPyShape *) 0 ;
3585 bool result;
3586 PyObject * obj0 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
3592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 result = (bool)(arg1)->AncestorSelected();
3596
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 resultobj = PyInt_FromLong((long)result);
3601 return resultobj;
3602 fail:
3603 return NULL;
3604}
3605
3606
3607static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxPyShape *arg1 = (wxPyShape *) 0 ;
3610 int arg2 = (int) OP_ALL ;
3611 bool arg3 = (bool) False ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames,&obj0,&arg2,&obj2)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 if (obj2) {
3621 arg3 = PyInt_AsLong(obj2) ? true : false;
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 (arg1)->SetSensitivityFilter(arg2,arg3);
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 Py_INCREF(Py_None); resultobj = Py_None;
3632 return resultobj;
3633 fail:
3634 return NULL;
3635}
3636
3637
3638static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxPyShape *arg1 = (wxPyShape *) 0 ;
3641 int result;
3642 PyObject * obj0 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "self", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (int)(arg1)->GetSensitivityFilter();
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 resultobj = PyInt_FromLong((long)result);
3657 return resultobj;
3658 fail:
3659 return NULL;
3660}
3661
3662
3663static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxPyShape *arg1 = (wxPyShape *) 0 ;
3666 bool arg2 ;
3667 bool arg3 = (bool) False ;
3668 PyObject * obj0 = 0 ;
3669 PyObject * obj1 = 0 ;
3670 PyObject * obj2 = 0 ;
3671 char *kwnames[] = {
3672 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3673 };
3674
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3677 arg2 = PyInt_AsLong(obj1) ? true : false;
3678 if (PyErr_Occurred()) SWIG_fail;
3679 if (obj2) {
3680 arg3 = PyInt_AsLong(obj2) ? true : false;
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 (arg1)->SetDraggable(arg2,arg3);
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 Py_INCREF(Py_None); resultobj = Py_None;
3691 return resultobj;
3692 fail:
3693 return NULL;
3694}
3695
3696
3697static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxPyShape *arg1 = (wxPyShape *) 0 ;
3700 bool arg2 ;
3701 bool arg3 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704 PyObject * obj2 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "x",(char *) "y", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 arg2 = PyInt_AsLong(obj1) ? true : false;
3712 if (PyErr_Occurred()) SWIG_fail;
3713 arg3 = PyInt_AsLong(obj2) ? true : false;
3714 if (PyErr_Occurred()) SWIG_fail;
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 (arg1)->SetFixedSize(arg2,arg3);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726}
3727
3728
3729static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxPyShape *arg1 = (wxPyShape *) 0 ;
3732 bool *arg2 = (bool *) 0 ;
3733 bool *arg3 = (bool *) 0 ;
3734 bool temp2 ;
3735 bool temp3 ;
3736 PyObject * obj0 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self", NULL
3739 };
3740
3741 arg2 = &temp2;
3742 arg3 = &temp3;
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->GetFixedSize(arg2,arg3);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 {
3754 PyObject *o = PyInt_FromLong((long) (*arg2));
3755 resultobj = t_output_helper(resultobj,o);
3756 }
3757 {
3758 PyObject *o = PyInt_FromLong((long) (*arg3));
3759 resultobj = t_output_helper(resultobj,o);
3760 }
3761 return resultobj;
3762 fail:
3763 return NULL;
3764}
3765
3766
3767static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxPyShape *arg1 = (wxPyShape *) 0 ;
3770 bool result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 result = (bool)(arg1)->GetFixedWidth();
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 resultobj = PyInt_FromLong((long)result);
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
3792static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxPyShape *arg1 = (wxPyShape *) 0 ;
3795 bool result;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
3802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (bool)(arg1)->GetFixedHeight();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = PyInt_FromLong((long)result);
3811 return resultobj;
3812 fail:
3813 return NULL;
3814}
3815
3816
3817static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject *resultobj;
3819 wxPyShape *arg1 = (wxPyShape *) 0 ;
3820 bool arg2 ;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "self",(char *) "sp", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
3828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3829 arg2 = PyInt_AsLong(obj1) ? true : false;
3830 if (PyErr_Occurred()) SWIG_fail;
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->SetSpaceAttachments(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
3845static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxPyShape *arg1 = (wxPyShape *) 0 ;
3848 bool result;
3849 PyObject * obj0 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (bool)(arg1)->GetSpaceAttachments();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = PyInt_FromLong((long)result);
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
3870static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj;
3872 wxPyShape *arg1 = (wxPyShape *) 0 ;
3873 int arg2 ;
3874 bool arg3 = (bool) False ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj2 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:PyShape_SetShadowMode",kwnames,&obj0,&arg2,&obj2)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 if (obj2) {
3884 arg3 = PyInt_AsLong(obj2) ? true : false;
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetShadowMode(arg2,arg3);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898}
3899
3900
3901static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxPyShape *arg1 = (wxPyShape *) 0 ;
3904 int result;
3905 PyObject * obj0 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
3911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (int)(arg1)->GetShadowMode();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = PyInt_FromLong((long)result);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923}
3924
3925
3926static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxPyShape *arg1 = (wxPyShape *) 0 ;
3929 double arg2 ;
3930 double arg3 ;
3931 int *arg4 = (int *) 0 ;
3932 double *arg5 = (double *) 0 ;
3933 bool result;
3934 int temp4 ;
3935 double temp5 ;
3936 PyObject * obj0 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self",(char *) "x",(char *) "y", NULL
3939 };
3940
3941 arg4 = &temp4;
3942 arg5 = &temp5;
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_HitTest",kwnames,&obj0,&arg2,&arg3)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 resultobj = PyInt_FromLong((long)result);
3953 {
3954 PyObject *o = PyInt_FromLong((long) (*arg4));
3955 resultobj = t_output_helper(resultobj,o);
3956 }
3957 {
3958 PyObject *o = PyFloat_FromDouble((double) (*arg5));
3959 resultobj = t_output_helper(resultobj,o);
3960 }
3961 return resultobj;
3962 fail:
3963 return NULL;
3964}
3965
3966
3967static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject *resultobj;
3969 wxPyShape *arg1 = (wxPyShape *) 0 ;
3970 bool arg2 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "self",(char *) "cr", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3979 arg2 = PyInt_AsLong(obj1) ? true : false;
3980 if (PyErr_Occurred()) SWIG_fail;
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 (arg1)->SetCentreResize(arg2);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 Py_INCREF(Py_None); resultobj = Py_None;
3989 return resultobj;
3990 fail:
3991 return NULL;
3992}
3993
3994
3995static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 wxPyShape *arg1 = (wxPyShape *) 0 ;
3998 bool result;
3999 PyObject * obj0 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (bool)(arg1)->GetCentreResize();
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 resultobj = PyInt_FromLong((long)result);
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
4020static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxPyShape *arg1 = (wxPyShape *) 0 ;
4023 bool arg2 ;
4024 PyObject * obj0 = 0 ;
4025 PyObject * obj1 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "self",(char *) "ar", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 arg2 = PyInt_AsLong(obj1) ? true : false;
4033 if (PyErr_Occurred()) SWIG_fail;
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 (arg1)->SetMaintainAspectRatio(arg2);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 Py_INCREF(Py_None); resultobj = Py_None;
4042 return resultobj;
4043 fail:
4044 return NULL;
4045}
4046
4047
4048static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxPyShape *arg1 = (wxPyShape *) 0 ;
4051 bool result;
4052 PyObject * obj0 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (bool)(arg1)->GetMaintainAspectRatio();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = PyInt_FromLong((long)result);
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
4073static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxPyShape *arg1 = (wxPyShape *) 0 ;
4076 PyObject *result;
4077 PyObject * obj0 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (PyObject *)wxPyShape_GetLines(arg1);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = result;
4092 return resultobj;
4093 fail:
4094 return NULL;
4095}
4096
4097
4098static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj;
4100 wxPyShape *arg1 = (wxPyShape *) 0 ;
4101 bool arg2 ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "self",(char *) "flag", NULL
4106 };
4107
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4110 arg2 = PyInt_AsLong(obj1) ? true : false;
4111 if (PyErr_Occurred()) SWIG_fail;
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 (arg1)->SetDisableLabel(arg2);
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 Py_INCREF(Py_None); resultobj = Py_None;
4120 return resultobj;
4121 fail:
4122 return NULL;
4123}
4124
4125
4126static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxPyShape *arg1 = (wxPyShape *) 0 ;
4129 bool result;
4130 PyObject * obj0 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "self", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (bool)(arg1)->GetDisableLabel();
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 resultobj = PyInt_FromLong((long)result);
4145 return resultobj;
4146 fail:
4147 return NULL;
4148}
4149
4150
4151static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxPyShape *arg1 = (wxPyShape *) 0 ;
4154 int arg2 ;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self",(char *) "mode", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetAttachmentMode",kwnames,&obj0,&arg2)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->SetAttachmentMode(arg2);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 return resultobj;
4171 fail:
4172 return NULL;
4173}
4174
4175
4176static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxPyShape *arg1 = (wxPyShape *) 0 ;
4179 int result;
4180 PyObject * obj0 = 0 ;
4181 char *kwnames[] = {
4182 (char *) "self", NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
4186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (int)(arg1)->GetAttachmentMode();
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 resultobj = PyInt_FromLong((long)result);
4195 return resultobj;
4196 fail:
4197 return NULL;
4198}
4199
4200
4201static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxPyShape *arg1 = (wxPyShape *) 0 ;
4204 long arg2 ;
4205 PyObject * obj0 = 0 ;
4206 char *kwnames[] = {
4207 (char *) "self",(char *) "i", NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetId",kwnames,&obj0,&arg2)) goto fail;
4211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 (arg1)->SetId(arg2);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 Py_INCREF(Py_None); resultobj = Py_None;
4220 return resultobj;
4221 fail:
4222 return NULL;
4223}
4224
4225
4226static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject *resultobj;
4228 wxPyShape *arg1 = (wxPyShape *) 0 ;
4229 long result;
4230 PyObject * obj0 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 result = (long)(arg1)->GetId();
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4244 resultobj = PyInt_FromLong((long)result);
4245 return resultobj;
4246 fail:
4247 return NULL;
4248}
4249
4250
4251static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject *resultobj;
4253 wxPyShape *arg1 = (wxPyShape *) 0 ;
4254 wxPen *arg2 = (wxPen *) 0 ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self",(char *) "pen", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4263 {
4264 wxPen* temp;
4265 if (obj1) {
4266 if (obj1 == Py_None) {
4267 temp = NULL;
4268 }
4269 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
4270 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
4271 return NULL;
4272 }
4273 }
4274 if (temp)
4275 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4276 temp->GetWidth(),
4277 temp->GetStyle());
4278 else
4279 arg2 = NULL;
4280 }
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 (arg1)->SetPen(arg2);
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 Py_INCREF(Py_None); resultobj = Py_None;
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
4295static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 wxPyShape *arg1 = (wxPyShape *) 0 ;
4298 wxBrush *arg2 = (wxBrush *) 0 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "brush", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 {
4308 wxBrush* temp;
4309 if (obj1) {
4310 if (obj1 == Py_None) {
4311 temp = NULL;
4312 }
4313 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
4314 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
4315 return NULL;
4316 }
4317 }
4318 if (temp)
4319 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4320 else
4321 arg2 = NULL;
4322 }
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 (arg1)->SetBrush(arg2);
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 Py_INCREF(Py_None); resultobj = Py_None;
4331 return resultobj;
4332 fail:
4333 return NULL;
4334}
4335
4336
4337static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxPyShape *arg1 = (wxPyShape *) 0 ;
4340 bool arg2 ;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self",(char *) "show", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
4348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4349 arg2 = PyInt_AsLong(obj1) ? true : false;
4350 if (PyErr_Occurred()) SWIG_fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 (arg1)->Show(arg2);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 Py_INCREF(Py_None); resultobj = Py_None;
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxPyShape *arg1 = (wxPyShape *) 0 ;
4368 bool result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
4375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (bool)(arg1)->IsShown();
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = PyInt_FromLong((long)result);
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
4390static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxPyShape *arg1 = (wxPyShape *) 0 ;
4393 wxDC *arg2 = 0 ;
4394 double arg3 ;
4395 double arg4 ;
4396 bool arg5 = (bool) True ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj4 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|O:PyShape_Move",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4407 if (arg2 == NULL) {
4408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4409 }
4410 if (obj4) {
4411 arg5 = PyInt_AsLong(obj4) ? true : false;
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 (arg1)->Move(*arg2,arg3,arg4,arg5);
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 Py_INCREF(Py_None); resultobj = Py_None;
4422 return resultobj;
4423 fail:
4424 return NULL;
4425}
4426
4427
4428static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxPyShape *arg1 = (wxPyShape *) 0 ;
4431 wxDC *arg2 = 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self",(char *) "dc", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 if (arg2 == NULL) {
4442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4443 }
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 (arg1)->Erase(*arg2);
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 Py_INCREF(Py_None); resultobj = Py_None;
4452 return resultobj;
4453 fail:
4454 return NULL;
4455}
4456
4457
4458static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 wxPyShape *arg1 = (wxPyShape *) 0 ;
4461 wxDC *arg2 = 0 ;
4462 PyObject * obj0 = 0 ;
4463 PyObject * obj1 = 0 ;
4464 char *kwnames[] = {
4465 (char *) "self",(char *) "dc", NULL
4466 };
4467
4468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
4469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4471 if (arg2 == NULL) {
4472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->EraseContents(*arg2);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
4488static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxPyShape *arg1 = (wxPyShape *) 0 ;
4491 wxDC *arg2 = 0 ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "dc", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 if (arg2 == NULL) {
4502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4503 }
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 (arg1)->Draw(*arg2);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 Py_INCREF(Py_None); resultobj = Py_None;
4512 return resultobj;
4513 fail:
4514 return NULL;
4515}
4516
4517
4518static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxPyShape *arg1 = (wxPyShape *) 0 ;
4521 PyObject * obj0 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
4527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 (arg1)->Flash();
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 Py_INCREF(Py_None); resultobj = Py_None;
4536 return resultobj;
4537 fail:
4538 return NULL;
4539}
4540
4541
4542static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxPyShape *arg1 = (wxPyShape *) 0 ;
4545 wxDC *arg2 = 0 ;
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "self",(char *) "dc", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
4553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4555 if (arg2 == NULL) {
4556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4557 }
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->MoveLinks(*arg2);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxPyShape *arg1 = (wxPyShape *) 0 ;
4575 wxDC *arg2 = 0 ;
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "dc", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
4583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4585 if (arg2 == NULL) {
4586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4587 }
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 (arg1)->DrawContents(*arg2);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 Py_INCREF(Py_None); resultobj = Py_None;
4596 return resultobj;
4597 fail:
4598 return NULL;
4599}
4600
4601
4602static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4603 PyObject *resultobj;
4604 wxPyShape *arg1 = (wxPyShape *) 0 ;
4605 double arg2 ;
4606 double arg3 ;
4607 bool arg4 = (bool) True ;
4608 PyObject * obj0 = 0 ;
4609 PyObject * obj3 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|O:PyShape_SetSize",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4616 if (obj3) {
4617 arg4 = PyInt_AsLong(obj3) ? true : false;
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->SetSize(arg2,arg3,arg4);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 return resultobj;
4629 fail:
4630 return NULL;
4631}
4632
4633
4634static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject *resultobj;
4636 wxPyShape *arg1 = (wxPyShape *) 0 ;
4637 double arg2 ;
4638 double arg3 ;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self",(char *) "x",(char *) "y", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_SetAttachmentSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
4645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 (arg1)->SetAttachmentSize(arg2,arg3);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657}
4658
4659
4660static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4661 PyObject *resultobj;
4662 wxPyShape *arg1 = (wxPyShape *) 0 ;
4663 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self",(char *) "can", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 (arg1)->Attach(arg2);
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684}
4685
4686
4687static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj;
4689 wxPyShape *arg1 = (wxPyShape *) 0 ;
4690 PyObject * obj0 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
4696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->Detach();
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 return resultobj;
4706 fail:
4707 return NULL;
4708}
4709
4710
4711static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxPyShape *arg1 = (wxPyShape *) 0 ;
4714 bool result;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (bool)(arg1)->Constrain();
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 resultobj = PyInt_FromLong((long)result);
4730 return resultobj;
4731 fail:
4732 return NULL;
4733}
4734
4735
4736static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxPyShape *arg1 = (wxPyShape *) 0 ;
4739 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4740 wxPyShape *arg3 = (wxPyShape *) 0 ;
4741 int arg4 = (int) 0 ;
4742 int arg5 = (int) 0 ;
4743 int arg6 = (int) -1 ;
4744 int arg7 = (int) -1 ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 PyObject * obj2 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiii:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 Py_INCREF(Py_None); resultobj = Py_None;
4764 return resultobj;
4765 fail:
4766 return NULL;
4767}
4768
4769
4770static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxPyShape *arg1 = (wxPyShape *) 0 ;
4773 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4774 int result;
4775 PyObject * obj0 = 0 ;
4776 PyObject * obj1 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "line", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (int)(arg1)->GetLinePosition(arg2);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 resultobj = PyInt_FromLong((long)result);
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxPyShape *arg1 = (wxPyShape *) 0 ;
4801 wxString *arg2 = 0 ;
4802 bool temp2 = False ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self",(char *) "string", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 {
4812 arg2 = wxString_in_helper(obj1);
4813 if (arg2 == NULL) SWIG_fail;
4814 temp2 = True;
4815 }
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 (arg1)->AddText((wxString const &)*arg2);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 Py_INCREF(Py_None); resultobj = Py_None;
4824 {
4825 if (temp2)
4826 delete arg2;
4827 }
4828 return resultobj;
4829 fail:
4830 {
4831 if (temp2)
4832 delete arg2;
4833 }
4834 return NULL;
4835}
4836
4837
4838static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject *resultobj;
4840 wxPyShape *arg1 = (wxPyShape *) 0 ;
4841 wxPen *result;
4842 PyObject * obj0 = 0 ;
4843 char *kwnames[] = {
4844 (char *) "self", NULL
4845 };
4846
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
4848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 result = (wxPen *)(arg1)->GetPen();
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
4857 return resultobj;
4858 fail:
4859 return NULL;
4860}
4861
4862
4863static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxPyShape *arg1 = (wxPyShape *) 0 ;
4866 wxBrush *result;
4867 PyObject * obj0 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
4873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (wxBrush *)(arg1)->GetBrush();
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
4882 return resultobj;
4883 fail:
4884 return NULL;
4885}
4886
4887
4888static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj;
4890 wxPyShape *arg1 = (wxPyShape *) 0 ;
4891 PyObject * obj0 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 (arg1)->SetDefaultRegionSize();
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 Py_INCREF(Py_None); resultobj = Py_None;
4906 return resultobj;
4907 fail:
4908 return NULL;
4909}
4910
4911
4912static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxPyShape *arg1 = (wxPyShape *) 0 ;
4915 wxDC *arg2 = 0 ;
4916 wxString *arg3 = 0 ;
4917 int arg4 = (int) 0 ;
4918 bool temp3 = False ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 PyObject * obj2 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4929 if (arg2 == NULL) {
4930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4931 }
4932 {
4933 arg3 = wxString_in_helper(obj2);
4934 if (arg3 == NULL) SWIG_fail;
4935 temp3 = True;
4936 }
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 Py_INCREF(Py_None); resultobj = Py_None;
4945 {
4946 if (temp3)
4947 delete arg3;
4948 }
4949 return resultobj;
4950 fail:
4951 {
4952 if (temp3)
4953 delete arg3;
4954 }
4955 return NULL;
4956}
4957
4958
4959static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxPyShape *arg1 = (wxPyShape *) 0 ;
4962 int arg2 ;
4963 int arg3 = (int) 0 ;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:PyShape_SetFormatMode",kwnames,&obj0,&arg2,&arg3)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 (arg1)->SetFormatMode(arg2,arg3);
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 Py_INCREF(Py_None); resultobj = Py_None;
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
4985static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxPyShape *arg1 = (wxPyShape *) 0 ;
4988 int arg2 = (int) 0 ;
4989 int result;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "regionId", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFormatMode",kwnames,&obj0,&arg2)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 result = (int)(arg1)->GetFormatMode(arg2);
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = PyInt_FromLong((long)result);
5005 return resultobj;
5006 fail:
5007 return NULL;
5008}
5009
5010
5011static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxPyShape *arg1 = (wxPyShape *) 0 ;
5014 wxFont *arg2 = (wxFont *) 0 ;
5015 int arg3 = (int) 0 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "font",(char *) "regionId", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 {
5025 wxFont* temp;
5026 if (obj1) {
5027 if (obj1 == Py_None) {
5028 temp = NULL;
5029 }
5030 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5031 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5032 return NULL;
5033 }
5034 }
5035 if (temp)
5036 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5037 temp->GetFamily(),
5038 temp->GetStyle(),
5039 temp->GetWeight(),
5040 temp->GetUnderlined(),
5041 temp->GetFaceName(),
5042 temp->GetEncoding());
5043 else
5044 arg2 = NULL;
5045 }
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 (arg1)->SetFont(arg2,arg3);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 Py_INCREF(Py_None); resultobj = Py_None;
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
5060static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxPyShape *arg1 = (wxPyShape *) 0 ;
5063 int arg2 = (int) 0 ;
5064 wxFont *result;
5065 PyObject * obj0 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "regionId", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFont",kwnames,&obj0,&arg2)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 result = (wxFont *)(arg1)->GetFont(arg2);
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
5086static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxPyShape *arg1 = (wxPyShape *) 0 ;
5089 wxString *arg2 = 0 ;
5090 int arg3 = (int) 0 ;
5091 bool temp2 = False ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetTextColour",kwnames,&obj0,&obj1,&arg3)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 {
5101 arg2 = wxString_in_helper(obj1);
5102 if (arg2 == NULL) SWIG_fail;
5103 temp2 = True;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 {
5114 if (temp2)
5115 delete arg2;
5116 }
5117 return resultobj;
5118 fail:
5119 {
5120 if (temp2)
5121 delete arg2;
5122 }
5123 return NULL;
5124}
5125
5126
5127static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxPyShape *arg1 = (wxPyShape *) 0 ;
5130 int arg2 = (int) 0 ;
5131 wxString result;
5132 PyObject * obj0 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "regionId", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetTextColour",kwnames,&obj0,&arg2)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = (arg1)->GetTextColour(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 {
5147#if wxUSE_UNICODE
5148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5149#else
5150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5151#endif
5152 }
5153 return resultobj;
5154 fail:
5155 return NULL;
5156}
5157
5158
5159static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxPyShape *arg1 = (wxPyShape *) 0 ;
5162 int result;
5163 PyObject * obj0 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
5169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (int)(arg1)->GetNumberOfTextRegions();
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = PyInt_FromLong((long)result);
5178 return resultobj;
5179 fail:
5180 return NULL;
5181}
5182
5183
5184static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj;
5186 wxPyShape *arg1 = (wxPyShape *) 0 ;
5187 wxString *arg2 = 0 ;
5188 int arg3 = (int) 0 ;
5189 bool temp2 = False ;
5190 PyObject * obj0 = 0 ;
5191 PyObject * obj1 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self",(char *) "name",(char *) "regionId", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetRegionName",kwnames,&obj0,&obj1,&arg3)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 {
5199 arg2 = wxString_in_helper(obj1);
5200 if (arg2 == NULL) SWIG_fail;
5201 temp2 = True;
5202 }
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 {
5212 if (temp2)
5213 delete arg2;
5214 }
5215 return resultobj;
5216 fail:
5217 {
5218 if (temp2)
5219 delete arg2;
5220 }
5221 return NULL;
5222}
5223
5224
5225static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxPyShape *arg1 = (wxPyShape *) 0 ;
5228 int arg2 ;
5229 wxString result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self",(char *) "regionId", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetRegionName",kwnames,&obj0,&arg2)) goto fail;
5236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (arg1)->GetRegionName(arg2);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 {
5245#if wxUSE_UNICODE
5246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5247#else
5248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5249#endif
5250 }
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxPyShape *arg1 = (wxPyShape *) 0 ;
5260 wxString *arg2 = 0 ;
5261 int result;
5262 bool temp2 = False ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "name", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 {
5272 arg2 = wxString_in_helper(obj1);
5273 if (arg2 == NULL) SWIG_fail;
5274 temp2 = True;
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = PyInt_FromLong((long)result);
5284 {
5285 if (temp2)
5286 delete arg2;
5287 }
5288 return resultobj;
5289 fail:
5290 {
5291 if (temp2)
5292 delete arg2;
5293 }
5294 return NULL;
5295}
5296
5297
5298static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxPyShape *arg1 = (wxPyShape *) 0 ;
a64def11 5301 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65
RD
5302 wxString *arg2 = (wxString *) &arg2_defvalue ;
5303 bool temp2 = False ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "parentName", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 if (obj1) {
5313 {
5314 arg2 = wxString_in_helper(obj1);
5315 if (arg2 == NULL) SWIG_fail;
5316 temp2 = True;
5317 }
5318 }
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 (arg1)->NameRegions((wxString const &)*arg2);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 Py_INCREF(Py_None); resultobj = Py_None;
5327 {
5328 if (temp2)
5329 delete arg2;
5330 }
5331 return resultobj;
5332 fail:
5333 {
5334 if (temp2)
5335 delete arg2;
5336 }
5337 return NULL;
5338}
5339
5340
5341static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxPyShape *arg1 = (wxPyShape *) 0 ;
5344 PyObject *result;
5345 PyObject * obj0 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 result = (PyObject *)wxPyShape_GetRegions(arg1);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 resultobj = result;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
5366static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxPyShape *arg1 = (wxPyShape *) 0 ;
5369 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "region", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
5377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->AddRegion(arg2);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 return resultobj;
5388 fail:
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxPyShape *arg1 = (wxPyShape *) 0 ;
5396 PyObject * obj0 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->ClearRegions();
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 return resultobj;
5412 fail:
5413 return NULL;
5414}
5415
5416
5417static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj;
5419 wxPyShape *arg1 = (wxPyShape *) 0 ;
5420 PyObject * obj0 = 0 ;
5421 char *kwnames[] = {
5422 (char *) "self", NULL
5423 };
5424
5425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
5426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 (arg1)->AssignNewIds();
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 Py_INCREF(Py_None); resultobj = Py_None;
5435 return resultobj;
5436 fail:
5437 return NULL;
5438}
5439
5440
5441static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj;
5443 wxPyShape *arg1 = (wxPyShape *) 0 ;
5444 wxString *arg2 = 0 ;
5445 int *arg3 = (int *) 0 ;
5446 wxPyShape *result;
5447 bool temp2 = False ;
5448 int temp3 ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "regionName", NULL
5453 };
5454
5455 arg3 = &temp3;
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5458 {
5459 arg2 = wxString_in_helper(obj1);
5460 if (arg2 == NULL) SWIG_fail;
5461 temp2 = True;
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 {
5471 resultobj = wxPyMake_wxShapeEvtHandler(result);
5472 }
5473 {
5474 PyObject *o = PyInt_FromLong((long) (*arg3));
5475 resultobj = t_output_helper(resultobj,o);
5476 }
5477 {
5478 if (temp2)
5479 delete arg2;
5480 }
5481 return resultobj;
5482 fail:
5483 {
5484 if (temp2)
5485 delete arg2;
5486 }
5487 return NULL;
5488}
5489
5490
5491static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxPyShape *arg1 = (wxPyShape *) 0 ;
5494 wxStringList *arg2 = 0 ;
5495 PyObject * obj0 = 0 ;
5496 PyObject * obj1 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "list", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 if (arg2 == NULL) {
5505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5506 }
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 (arg1)->FindRegionNames(*arg2);
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 Py_INCREF(Py_None); resultobj = Py_None;
5515 return resultobj;
5516 fail:
5517 return NULL;
5518}
5519
5520
5521static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxPyShape *arg1 = (wxPyShape *) 0 ;
5524 int arg2 = (int) 0 ;
5525 PyObject * obj0 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "regionId", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_ClearText",kwnames,&obj0,&arg2)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 (arg1)->ClearText(arg2);
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 Py_INCREF(Py_None); resultobj = Py_None;
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
5546static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxPyShape *arg1 = (wxPyShape *) 0 ;
5549 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5550 PyObject * obj0 = 0 ;
5551 PyObject * obj1 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "line", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
5557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->RemoveLine(arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
5573static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxPyShape *arg1 = (wxPyShape *) 0 ;
5576 int arg2 ;
5577 double *arg3 = (double *) 0 ;
5578 double *arg4 = (double *) 0 ;
5579 int arg5 = (int) 0 ;
5580 int arg6 = (int) 1 ;
5581 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5582 bool result;
5583 double temp3 ;
5584 double temp4 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj4 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5589 };
5590
5591 arg3 = &temp3;
5592 arg4 = &temp4;
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 if (obj4) {
5596 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 }
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = PyInt_FromLong((long)result);
5606 {
5607 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5608 resultobj = t_output_helper(resultobj,o);
5609 }
5610 {
5611 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5612 resultobj = t_output_helper(resultobj,o);
5613 }
5614 return resultobj;
5615 fail:
5616 return NULL;
5617}
5618
5619
5620static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj;
5622 wxPyShape *arg1 = (wxPyShape *) 0 ;
5623 int result;
5624 PyObject * obj0 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (int)(arg1)->GetNumberOfAttachments();
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = PyInt_FromLong((long)result);
5639 return resultobj;
5640 fail:
5641 return NULL;
5642}
5643
5644
5645static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj;
5647 wxPyShape *arg1 = (wxPyShape *) 0 ;
5648 int arg2 ;
5649 bool result;
5650 PyObject * obj0 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self",(char *) "attachment", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_AttachmentIsValid",kwnames,&obj0,&arg2)) goto fail;
5656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5657 {
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 result = (bool)(arg1)->AttachmentIsValid(arg2);
5660
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 resultobj = PyInt_FromLong((long)result);
5665 return resultobj;
5666 fail:
5667 return NULL;
5668}
5669
5670
5671static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj;
5673 wxPyShape *arg1 = (wxPyShape *) 0 ;
5674 int arg2 ;
5675 double *arg3 = (double *) 0 ;
5676 double *arg4 = (double *) 0 ;
5677 int arg5 = (int) 0 ;
5678 int arg6 = (int) 1 ;
5679 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5680 bool result;
5681 double temp3 ;
5682 double temp4 ;
5683 PyObject * obj0 = 0 ;
5684 PyObject * obj4 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5687 };
5688
5689 arg3 = &temp3;
5690 arg4 = &temp4;
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5693 if (obj4) {
5694 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5695 }
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = PyInt_FromLong((long)result);
5704 {
5705 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5706 resultobj = t_output_helper(resultobj,o);
5707 }
5708 {
5709 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5710 resultobj = t_output_helper(resultobj,o);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715}
5716
5717
5718static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxPyShape *arg1 = (wxPyShape *) 0 ;
5721 wxRealPoint *arg2 = 0 ;
5722 wxRealPoint *arg3 = 0 ;
5723 int arg4 ;
5724 int arg5 ;
5725 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
5726 wxRealPoint result;
5727 wxRealPoint temp2 ;
5728 wxRealPoint temp3 ;
5729 PyObject * obj0 = 0 ;
5730 PyObject * obj1 = 0 ;
5731 PyObject * obj2 = 0 ;
5732 PyObject * obj5 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5739 {
5740 arg2 = &temp2;
5741 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
5742 }
5743 {
5744 arg3 = &temp3;
5745 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5746 }
5747 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 wxRealPoint * resultptr;
5757 resultptr = new wxRealPoint((wxRealPoint &) result);
5758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5759 }
5760 return resultobj;
5761 fail:
5762 return NULL;
5763}
5764
5765
5766static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxPyShape *arg1 = (wxPyShape *) 0 ;
5769 int arg2 ;
5770 wxRealPoint *arg3 = 0 ;
5771 wxRealPoint *arg4 = 0 ;
5772 bool result;
5773 wxRealPoint temp3 ;
5774 wxRealPoint temp4 ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj2 = 0 ;
5777 PyObject * obj3 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
5783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5784 {
5785 arg3 = &temp3;
5786 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5787 }
5788 {
5789 arg4 = &temp4;
5790 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
5791 }
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = PyInt_FromLong((long)result);
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
5806static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxPyShape *arg1 = (wxPyShape *) 0 ;
5809 wxDC *arg2 = 0 ;
5810 int arg3 = (int) -1 ;
5811 bool arg4 = (bool) False ;
5812 PyObject * obj0 = 0 ;
5813 PyObject * obj1 = 0 ;
5814 PyObject * obj3 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5821 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 if (arg2 == NULL) {
5823 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5824 }
5825 if (obj3) {
5826 arg4 = PyInt_AsLong(obj3) ? true : false;
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 (arg1)->EraseLinks(*arg2,arg3,arg4);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 Py_INCREF(Py_None); resultobj = Py_None;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
5843static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxPyShape *arg1 = (wxPyShape *) 0 ;
5846 wxDC *arg2 = 0 ;
5847 int arg3 = (int) -1 ;
5848 bool arg4 = (bool) False ;
5849 PyObject * obj0 = 0 ;
5850 PyObject * obj1 = 0 ;
5851 PyObject * obj3 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 if (arg2 == NULL) {
5860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5861 }
5862 if (obj3) {
5863 arg4 = PyInt_AsLong(obj3) ? true : false;
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 (arg1)->DrawLinks(*arg2,arg3,arg4);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 Py_INCREF(Py_None); resultobj = Py_None;
5874 return resultobj;
5875 fail:
5876 return NULL;
5877}
5878
5879
5880static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxPyShape *arg1 = (wxPyShape *) 0 ;
5883 wxDC *arg2 = 0 ;
5884 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
5885 double arg4 ;
5886 double arg5 ;
5887 bool result;
5888 PyObject * obj0 = 0 ;
5889 PyObject * obj1 = 0 ;
5890 PyObject * obj2 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 if (arg2 == NULL) {
5899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5900 }
5901 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 resultobj = PyInt_FromLong((long)result);
5910 return resultobj;
5911 fail:
5912 return NULL;
5913}
5914
5915
5916static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxPyShape *arg1 = (wxPyShape *) 0 ;
5919 PyObject *arg2 = (PyObject *) 0 ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self",(char *) "linesToSort", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 arg2 = obj1;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 return resultobj;
5938 fail:
5939 return NULL;
5940}
5941
5942
5943static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxPyShape *arg1 = (wxPyShape *) 0 ;
5946 int arg2 ;
5947 wxRealPoint result;
5948 PyObject * obj0 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "attachment", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&arg2)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (arg1)->GetBranchingAttachmentRoot(arg2);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
5963 wxRealPoint * resultptr;
5964 resultptr = new wxRealPoint((wxRealPoint &) result);
5965 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5966 }
5967 return resultobj;
5968 fail:
5969 return NULL;
5970}
5971
5972
5973static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxPyShape *arg1 = (wxPyShape *) 0 ;
5976 int arg2 ;
5977 wxRealPoint *arg3 = 0 ;
5978 wxRealPoint *arg4 = 0 ;
5979 wxRealPoint *arg5 = 0 ;
5980 wxRealPoint *arg6 = 0 ;
5981 bool result;
5982 wxRealPoint temp3 ;
5983 wxRealPoint temp4 ;
5984 wxRealPoint temp5 ;
5985 wxRealPoint temp6 ;
5986 PyObject * obj0 = 0 ;
5987 PyObject * obj2 = 0 ;
5988 PyObject * obj3 = 0 ;
5989 PyObject * obj4 = 0 ;
5990 PyObject * obj5 = 0 ;
5991 char *kwnames[] = {
5992 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
5993 };
5994
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5)) goto fail;
5996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5997 {
5998 arg3 = &temp3;
5999 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6000 }
6001 {
6002 arg4 = &temp4;
6003 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6004 }
6005 {
6006 arg5 = &temp5;
6007 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6008 }
6009 {
6010 arg6 = &temp6;
6011 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
6012 }
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = PyInt_FromLong((long)result);
6021 return resultobj;
6022 fail:
6023 return NULL;
6024}
6025
6026
6027static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxPyShape *arg1 = (wxPyShape *) 0 ;
6030 int arg2 ;
6031 int arg3 ;
6032 wxRealPoint *arg4 = 0 ;
6033 wxRealPoint *arg5 = 0 ;
6034 bool result;
6035 wxRealPoint temp4 ;
6036 wxRealPoint temp5 ;
6037 PyObject * obj0 = 0 ;
6038 PyObject * obj3 = 0 ;
6039 PyObject * obj4 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6046 {
6047 arg4 = &temp4;
6048 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6049 }
6050 {
6051 arg5 = &temp5;
6052 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = PyInt_FromLong((long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
6068static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxPyShape *arg1 = (wxPyShape *) 0 ;
6071 int arg2 ;
6072 int result;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "attachment", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames,&obj0,&arg2)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (int)(arg1)->GetAttachmentLineCount(arg2);
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 resultobj = PyInt_FromLong((long)result);
6088 return resultobj;
6089 fail:
6090 return NULL;
6091}
6092
6093
6094static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxPyShape *arg1 = (wxPyShape *) 0 ;
6097 int arg2 ;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self",(char *) "len", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames,&obj0,&arg2)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 (arg1)->SetBranchNeckLength(arg2);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 Py_INCREF(Py_None); resultobj = Py_None;
6113 return resultobj;
6114 fail:
6115 return NULL;
6116}
6117
6118
6119static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxPyShape *arg1 = (wxPyShape *) 0 ;
6122 int result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (int)(arg1)->GetBranchNeckLength();
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = PyInt_FromLong((long)result);
6138 return resultobj;
6139 fail:
6140 return NULL;
6141}
6142
6143
6144static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxPyShape *arg1 = (wxPyShape *) 0 ;
6147 int arg2 ;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self",(char *) "len", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchStemLength",kwnames,&obj0,&arg2)) goto fail;
6154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetBranchStemLength(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
6169static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxPyShape *arg1 = (wxPyShape *) 0 ;
6172 int result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (int)(arg1)->GetBranchStemLength();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = PyInt_FromLong((long)result);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
6194static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxPyShape *arg1 = (wxPyShape *) 0 ;
6197 int arg2 ;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self",(char *) "len", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchSpacing",kwnames,&obj0,&arg2)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->SetBranchSpacing(arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
6219static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxPyShape *arg1 = (wxPyShape *) 0 ;
6222 int result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (int)(arg1)->GetBranchSpacing();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = PyInt_FromLong((long)result);
6238 return resultobj;
6239 fail:
6240 return NULL;
6241}
6242
6243
6244static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxPyShape *arg1 = (wxPyShape *) 0 ;
6247 long arg2 ;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self",(char *) "style", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetBranchStyle",kwnames,&obj0,&arg2)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->SetBranchStyle(arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266}
6267
6268
6269static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxPyShape *arg1 = (wxPyShape *) 0 ;
6272 long result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (long)(arg1)->GetBranchStyle();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = PyInt_FromLong((long)result);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
6294static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxPyShape *arg1 = (wxPyShape *) 0 ;
6297 int arg2 ;
6298 int result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self",(char *) "physicalAttachment", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = PyInt_FromLong((long)result);
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
6320static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxPyShape *arg1 = (wxPyShape *) 0 ;
6323 int arg2 ;
6324 int result;
6325 PyObject * obj0 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "logicalAttachment", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 resultobj = PyInt_FromLong((long)result);
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
6346static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxPyShape *arg1 = (wxPyShape *) 0 ;
6349 bool result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (bool)(arg1)->Draggable();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = PyInt_FromLong((long)result);
6365 return resultobj;
6366 fail:
6367 return NULL;
6368}
6369
6370
6371static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxPyShape *arg1 = (wxPyShape *) 0 ;
6374 wxPyShape *arg2 = (wxPyShape *) 0 ;
6375 bool result;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "image", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)(arg1)->HasDescendant(arg2);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 resultobj = PyInt_FromLong((long)result);
6393 return resultobj;
6394 fail:
6395 return NULL;
6396}
6397
6398
6399static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxPyShape *arg1 = (wxPyShape *) 0 ;
6402 bool arg2 = (bool) True ;
6403 bool arg3 = (bool) True ;
6404 wxPyShape *result;
6405 PyObject * obj0 = 0 ;
6406 PyObject * obj1 = 0 ;
6407 PyObject * obj2 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6414 if (obj1) {
6415 arg2 = PyInt_AsLong(obj1) ? true : false;
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 if (obj2) {
6419 arg3 = PyInt_AsLong(obj2) ? true : false;
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 {
6430 resultobj = wxPyMake_wxShapeEvtHandler(result);
6431 }
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyShape *arg1 = (wxPyShape *) 0 ;
6441 wxPyShape *arg2 = 0 ;
6442 PyObject * obj0 = 0 ;
6443 PyObject * obj1 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self",(char *) "copy", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 if (arg2 == NULL) {
6452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 (arg1)->Copy(*arg2);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465}
6466
6467
6468static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxPyShape *arg1 = (wxPyShape *) 0 ;
6471 wxPyShape *arg2 = 0 ;
6472 PyObject * obj0 = 0 ;
6473 PyObject * obj1 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self",(char *) "copy", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 if (arg2 == NULL) {
6482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6483 }
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 (arg1)->CopyWithHandler(*arg2);
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 Py_INCREF(Py_None); resultobj = Py_None;
6492 return resultobj;
6493 fail:
6494 return NULL;
6495}
6496
6497
6498static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6499 PyObject *resultobj;
6500 wxPyShape *arg1 = (wxPyShape *) 0 ;
6501 double arg2 ;
6502 double arg3 ;
6503 double arg4 ;
6504 PyObject * obj0 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->Rotate(arg2,arg3,arg4);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxPyShape *arg1 = (wxPyShape *) 0 ;
6528 double result;
6529 PyObject * obj0 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
6535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (double)(arg1)->GetRotation();
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 resultobj = PyFloat_FromDouble(result);
6544 return resultobj;
6545 fail:
6546 return NULL;
6547}
6548
6549
6550static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxPyShape *arg1 = (wxPyShape *) 0 ;
6553 PyObject * obj0 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 (arg1)->ClearAttachments();
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 Py_INCREF(Py_None); resultobj = Py_None;
6568 return resultobj;
6569 fail:
6570 return NULL;
6571}
6572
6573
6574static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxPyShape *arg1 = (wxPyShape *) 0 ;
6577 wxDC *arg2 = 0 ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "dc", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6587 if (arg2 == NULL) {
6588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->Recentre(*arg2);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601}
6602
6603
6604static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxPyShape *arg1 = (wxPyShape *) 0 ;
6607 wxList *arg2 = 0 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "list", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6617 if (arg2 == NULL) {
6618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->ClearPointList(*arg2);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 return resultobj;
6629 fail:
6630 return NULL;
6631}
6632
6633
6634static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxPyShape *arg1 = (wxPyShape *) 0 ;
6637 wxPen result;
6638 PyObject * obj0 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
6644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (arg1)->GetBackgroundPen();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 {
6653 wxPen * resultptr;
6654 resultptr = new wxPen((wxPen &) result);
6655 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
6656 }
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
6663static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxPyShape *arg1 = (wxPyShape *) 0 ;
6666 wxBrush result;
6667 PyObject * obj0 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "self", NULL
6670 };
6671
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
6673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = (arg1)->GetBackgroundBrush();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 {
6682 wxBrush * resultptr;
6683 resultptr = new wxBrush((wxBrush &) result);
6684 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
6685 }
6686 return resultobj;
6687 fail:
6688 return NULL;
6689}
6690
6691
6692static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj;
6694 wxPyShape *arg1 = (wxPyShape *) 0 ;
6695 PyObject * obj0 = 0 ;
6696 char *kwnames[] = {
6697 (char *) "self", NULL
6698 };
6699
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
6701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 (arg1)->base_OnDelete();
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 Py_INCREF(Py_None); resultobj = Py_None;
6710 return resultobj;
6711 fail:
6712 return NULL;
6713}
6714
6715
6716static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxPyShape *arg1 = (wxPyShape *) 0 ;
6719 wxDC *arg2 = 0 ;
6720 PyObject * obj0 = 0 ;
6721 PyObject * obj1 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "dc", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729 if (arg2 == NULL) {
6730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6731 }
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 (arg1)->base_OnDraw(*arg2);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 Py_INCREF(Py_None); resultobj = Py_None;
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
6746static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxPyShape *arg1 = (wxPyShape *) 0 ;
6749 wxDC *arg2 = 0 ;
6750 PyObject * obj0 = 0 ;
6751 PyObject * obj1 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "dc", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 if (arg2 == NULL) {
6760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6761 }
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 (arg1)->base_OnDrawContents(*arg2);
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 Py_INCREF(Py_None); resultobj = Py_None;
6770 return resultobj;
6771 fail:
6772 return NULL;
6773}
6774
6775
6776static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxPyShape *arg1 = (wxPyShape *) 0 ;
6779 wxDC *arg2 = 0 ;
6780 bool arg3 = (bool) False ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 PyObject * obj2 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "dc",(char *) "erase", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 if (arg2 == NULL) {
6792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6793 }
6794 if (obj2) {
6795 arg3 = PyInt_AsLong(obj2) ? true : false;
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->base_OnDrawBranches(*arg2,arg3);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 return resultobj;
6807 fail:
6808 return NULL;
6809}
6810
6811
6812static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxPyShape *arg1 = (wxPyShape *) 0 ;
6815 wxDC *arg2 = 0 ;
6816 PyObject * obj0 = 0 ;
6817 PyObject * obj1 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self",(char *) "dc", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
6823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 if (arg2 == NULL) {
6826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 (arg1)->base_OnMoveLinks(*arg2);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 Py_INCREF(Py_None); resultobj = Py_None;
6836 return resultobj;
6837 fail:
6838 return NULL;
6839}
6840
6841
6842static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxPyShape *arg1 = (wxPyShape *) 0 ;
6845 wxDC *arg2 = 0 ;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "dc", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6855 if (arg2 == NULL) {
6856 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 (arg1)->base_OnErase(*arg2);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869}
6870
6871
6872static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxPyShape *arg1 = (wxPyShape *) 0 ;
6875 wxDC *arg2 = 0 ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 char *kwnames[] = {
6879 (char *) "self",(char *) "dc", NULL
6880 };
6881
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
6883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6885 if (arg2 == NULL) {
6886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6887 }
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->base_OnEraseContents(*arg2);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899}
6900
6901
6902static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxPyShape *arg1 = (wxPyShape *) 0 ;
6905 wxDC *arg2 = 0 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "dc", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
6913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6915 if (arg2 == NULL) {
6916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6917 }
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->base_OnHighlight(*arg2);
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 Py_INCREF(Py_None); resultobj = Py_None;
6926 return resultobj;
6927 fail:
6928 return NULL;
6929}
6930
6931
6932static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxPyShape *arg1 = (wxPyShape *) 0 ;
6935 double arg2 ;
6936 double arg3 ;
6937 int arg4 = (int) 0 ;
6938 int arg5 = (int) 0 ;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 return resultobj;
6955 fail:
6956 return NULL;
6957}
6958
6959
6960static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxPyShape *arg1 = (wxPyShape *) 0 ;
6963 double arg2 ;
6964 double arg3 ;
6965 int arg4 = (int) 0 ;
6966 int arg5 = (int) 0 ;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
6988static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxPyShape *arg1 = (wxPyShape *) 0 ;
6991 double arg2 ;
6992 double arg3 ;
6993 int arg4 = (int) 0 ;
6994 int arg5 = (int) 0 ;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013}
7014
7015
7016static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxPyShape *arg1 = (wxPyShape *) 0 ;
7019 double arg2 ;
7020 double arg3 ;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self",(char *) "x",(char *) "y", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->base_OnSize(arg2,arg3);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039}
7040
7041
7042static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxPyShape *arg1 = (wxPyShape *) 0 ;
7045 wxDC *arg2 = 0 ;
7046 double arg3 ;
7047 double arg4 ;
7048 double arg5 ;
7049 double arg6 ;
7050 bool arg7 = (bool) True ;
7051 bool result;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 PyObject * obj6 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 if (arg2 == NULL) {
7063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7064 }
7065 if (obj6) {
7066 arg7 = PyInt_AsLong(obj6) ? true : false;
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = PyInt_FromLong((long)result);
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
7083static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxPyShape *arg1 = (wxPyShape *) 0 ;
7086 wxDC *arg2 = 0 ;
7087 double arg3 ;
7088 double arg4 ;
7089 double arg5 ;
7090 double arg6 ;
7091 bool arg7 = (bool) True ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 PyObject * obj6 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 if (arg2 == NULL) {
7103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7104 }
7105 if (obj6) {
7106 arg7 = PyInt_AsLong(obj6) ? true : false;
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 Py_INCREF(Py_None); resultobj = Py_None;
7117 return resultobj;
7118 fail:
7119 return NULL;
7120}
7121
7122
7123static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxPyShape *arg1 = (wxPyShape *) 0 ;
7126 bool arg2 ;
7127 double arg3 ;
7128 double arg4 ;
7129 int arg5 = (int) 0 ;
7130 int arg6 = (int) 0 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 arg2 = PyInt_AsLong(obj1) ? true : false;
7140 if (PyErr_Occurred()) SWIG_fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 return resultobj;
7150 fail:
7151 return NULL;
7152}
7153
7154
7155static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxPyShape *arg1 = (wxPyShape *) 0 ;
7158 double arg2 ;
7159 double arg3 ;
7160 int arg4 = (int) 0 ;
7161 int arg5 = (int) 0 ;
7162 PyObject * obj0 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 Py_INCREF(Py_None); resultobj = Py_None;
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
7183static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxPyShape *arg1 = (wxPyShape *) 0 ;
7186 double arg2 ;
7187 double arg3 ;
7188 int arg4 = (int) 0 ;
7189 int arg5 = (int) 0 ;
7190 PyObject * obj0 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 Py_INCREF(Py_None); resultobj = Py_None;
7205 return resultobj;
7206 fail:
7207 return NULL;
7208}
7209
7210
7211static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxPyShape *arg1 = (wxPyShape *) 0 ;
7214 bool arg2 ;
7215 double arg3 ;
7216 double arg4 ;
7217 int arg5 = (int) 0 ;
7218 int arg6 = (int) 0 ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 arg2 = PyInt_AsLong(obj1) ? true : false;
7228 if (PyErr_Occurred()) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 return resultobj;
7238 fail:
7239 return NULL;
7240}
7241
7242
7243static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxPyShape *arg1 = (wxPyShape *) 0 ;
7246 double arg2 ;
7247 double arg3 ;
7248 int arg4 = (int) 0 ;
7249 int arg5 = (int) 0 ;
7250 PyObject * obj0 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 Py_INCREF(Py_None); resultobj = Py_None;
7265 return resultobj;
7266 fail:
7267 return NULL;
7268}
7269
7270
7271static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxPyShape *arg1 = (wxPyShape *) 0 ;
7274 double arg2 ;
7275 double arg3 ;
7276 int arg4 = (int) 0 ;
7277 int arg5 = (int) 0 ;
7278 PyObject * obj0 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 Py_INCREF(Py_None); resultobj = Py_None;
7293 return resultobj;
7294 fail:
7295 return NULL;
7296}
7297
7298
7299static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxPyShape *arg1 = (wxPyShape *) 0 ;
7302 wxDC *arg2 = 0 ;
7303 double arg3 ;
7304 double arg4 ;
7305 double arg5 ;
7306 double arg6 ;
7307 PyObject * obj0 = 0 ;
7308 PyObject * obj1 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 if (arg2 == NULL) {
7317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7318 }
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 return resultobj;
7328 fail:
7329 return NULL;
7330}
7331
7332
7333static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxPyShape *arg1 = (wxPyShape *) 0 ;
7336 wxDC *arg2 = 0 ;
7337 PyObject * obj0 = 0 ;
7338 PyObject * obj1 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "self",(char *) "dc", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7346 if (arg2 == NULL) {
7347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7348 }
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 (arg1)->base_OnDrawControlPoints(*arg2);
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 Py_INCREF(Py_None); resultobj = Py_None;
7357 return resultobj;
7358 fail:
7359 return NULL;
7360}
7361
7362
7363static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxPyShape *arg1 = (wxPyShape *) 0 ;
7366 wxDC *arg2 = 0 ;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "dc", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
7374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 if (arg2 == NULL) {
7377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7378 }
7379 {
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 (arg1)->base_OnEraseControlPoints(*arg2);
7382
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 Py_INCREF(Py_None); resultobj = Py_None;
7387 return resultobj;
7388 fail:
7389 return NULL;
7390}
7391
7392
7393static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7394 PyObject *resultobj;
7395 wxPyShape *arg1 = (wxPyShape *) 0 ;
7396 wxDC *arg2 = 0 ;
7397 bool arg3 = (bool) True ;
7398 PyObject * obj0 = 0 ;
7399 PyObject * obj1 = 0 ;
7400 PyObject * obj2 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7408 if (arg2 == NULL) {
7409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7410 }
7411 if (obj2) {
7412 arg3 = PyInt_AsLong(obj2) ? true : false;
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 (arg1)->base_OnMoveLink(*arg2,arg3);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426}
7427
7428
7429static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxPyShape *arg1 = (wxPyShape *) 0 ;
7432 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7433 bool arg3 ;
7434 double arg4 ;
7435 double arg5 ;
7436 int arg6 = (int) 0 ;
7437 int arg7 = (int) 0 ;
7438 PyObject * obj0 = 0 ;
7439 PyObject * obj1 = 0 ;
7440 PyObject * obj2 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 arg3 = PyInt_AsLong(obj2) ? true : false;
7449 if (PyErr_Occurred()) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 return resultobj;
7459 fail:
7460 return NULL;
7461}
7462
7463
7464static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxPyShape *arg1 = (wxPyShape *) 0 ;
7467 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7468 double arg3 ;
7469 double arg4 ;
7470 int arg5 = (int) 0 ;
7471 int arg6 = (int) 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
7495static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxPyShape *arg1 = (wxPyShape *) 0 ;
7498 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7499 double arg3 ;
7500 double arg4 ;
7501 int arg5 = (int) 0 ;
7502 int arg6 = (int) 0 ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523}
7524
7525
7526static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxPyShape *arg1 = (wxPyShape *) 0 ;
7529 double arg2 ;
7530 double arg3 ;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "w",(char *) "h", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 (arg1)->base_OnBeginSize(arg2,arg3);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 Py_INCREF(Py_None); resultobj = Py_None;
7546 return resultobj;
7547 fail:
7548 return NULL;
7549}
7550
7551
7552static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxPyShape *arg1 = (wxPyShape *) 0 ;
7555 double arg2 ;
7556 double arg3 ;
7557 PyObject * obj0 = 0 ;
7558 char *kwnames[] = {
7559 (char *) "self",(char *) "w",(char *) "h", NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 (arg1)->base_OnEndSize(arg2,arg3);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 Py_INCREF(Py_None); resultobj = Py_None;
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
7578static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
7579 PyObject *obj;
7580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7581 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
7582 Py_INCREF(obj);
7583 return Py_BuildValue((char *)"");
7584}
7585static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxPseudoMetaFile *result;
7588 char *kwnames[] = {
7589 NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 {
7601 resultobj = wxPyMake_wxObject(result);
7602 }
7603 return resultobj;
7604 fail:
7605 return NULL;
7606}
7607
7608
7609static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 delete arg1;
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 Py_INCREF(Py_None); resultobj = Py_None;
7627 return resultobj;
7628 fail:
7629 return NULL;
7630}
7631
7632
7633static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7636 wxDC *arg2 = 0 ;
7637 double arg3 ;
7638 double arg4 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7648 if (arg2 == NULL) {
7649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7650 }
7651 {
7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
7653 (arg1)->Draw(*arg2,arg3,arg4);
7654
7655 wxPyEndAllowThreads(__tstate);
7656 if (PyErr_Occurred()) SWIG_fail;
7657 }
7658 Py_INCREF(Py_None); resultobj = Py_None;
7659 return resultobj;
7660 fail:
7661 return NULL;
7662}
7663
7664
7665static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7668 PyObject * obj0 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
7674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 (arg1)->Clear();
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
7682 Py_INCREF(Py_None); resultobj = Py_None;
7683 return resultobj;
7684 fail:
7685 return NULL;
7686}
7687
7688
7689static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7692 wxPseudoMetaFile *arg2 = 0 ;
7693 PyObject * obj0 = 0 ;
7694 PyObject * obj1 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self",(char *) "copy", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 if (arg2 == NULL) {
7703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 (arg1)->Copy(*arg2);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 Py_INCREF(Py_None); resultobj = Py_None;
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7722 double arg2 ;
7723 double arg3 ;
7724 PyObject * obj0 = 0 ;
7725 char *kwnames[] = {
7726 (char *) "self",(char *) "sx",(char *) "sy", NULL
7727 };
7728
7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->Scale(arg2,arg3);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
7745static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7748 double arg2 ;
7749 double arg3 ;
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self",(char *) "w",(char *) "h", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames,&obj0,&arg2,&arg3)) goto fail;
7756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 (arg1)->ScaleTo(arg2,arg3);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 Py_INCREF(Py_None); resultobj = Py_None;
7765 return resultobj;
7766 fail:
7767 return NULL;
7768}
7769
7770
7771static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7774 double arg2 ;
7775 double arg3 ;
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self",(char *) "x",(char *) "y", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
7782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 (arg1)->Translate(arg2,arg3);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 Py_INCREF(Py_None); resultobj = Py_None;
7791 return resultobj;
7792 fail:
7793 return NULL;
7794}
7795
7796
7797static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7800 double arg2 ;
7801 double arg3 ;
7802 double arg4 ;
7803 PyObject * obj0 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
7809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->Rotate(arg2,arg3,arg4);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 Py_INCREF(Py_None); resultobj = Py_None;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
7824static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7827 wxString *arg2 = 0 ;
7828 double *arg3 = (double *) 0 ;
7829 double *arg4 = (double *) 0 ;
7830 bool result;
7831 bool temp2 = False ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 PyObject * obj2 = 0 ;
7835 PyObject * obj3 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 {
7843 arg2 = wxString_in_helper(obj1);
7844 if (arg2 == NULL) SWIG_fail;
7845 temp2 = True;
7846 }
7847 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = PyInt_FromLong((long)result);
7857 {
7858 if (temp2)
7859 delete arg2;
7860 }
7861 return resultobj;
7862 fail:
7863 {
7864 if (temp2)
7865 delete arg2;
7866 }
7867 return NULL;
7868}
7869
7870
7871static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7874 double *arg2 = (double *) 0 ;
7875 double *arg3 = (double *) 0 ;
7876 double *arg4 = (double *) 0 ;
7877 double *arg5 = (double *) 0 ;
7878 PyObject * obj0 = 0 ;
7879 PyObject * obj1 = 0 ;
7880 PyObject * obj2 = 0 ;
7881 PyObject * obj3 = 0 ;
7882 PyObject * obj4 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7890 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7891 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7892 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 Py_INCREF(Py_None); resultobj = Py_None;
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
7907static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7910 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self",(char *) "shape", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 (arg1)->CalculateSize(arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 return resultobj;
7929 fail:
7930 return NULL;
7931}
7932
7933
7934static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7937 bool arg2 ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self",(char *) "rot", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946 arg2 = PyInt_AsLong(obj1) ? true : false;
7947 if (PyErr_Occurred()) SWIG_fail;
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 (arg1)->SetRotateable(arg2);
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 Py_INCREF(Py_None); resultobj = Py_None;
7956 return resultobj;
7957 fail:
7958 return NULL;
7959}
7960
7961
7962static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7965 bool result;
7966 PyObject * obj0 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 result = (bool)(arg1)->GetRotateable();
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = PyInt_FromLong((long)result);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984}
7985
7986
7987static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj;
7989 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7990 double arg2 ;
7991 double arg3 ;
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self",(char *) "w",(char *) "h", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 (arg1)->SetSize(arg2,arg3);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 Py_INCREF(Py_None); resultobj = Py_None;
8007 return resultobj;
8008 fail:
8009 return NULL;
8010}
8011
8012
8013static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8016 wxBrush *arg2 = (wxBrush *) 0 ;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "self",(char *) "brush", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
8024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8025 {
8026 wxBrush* temp;
8027 if (obj1) {
8028 if (obj1 == Py_None) {
8029 temp = NULL;
8030 }
8031 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8032 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8033 return NULL;
8034 }
8035 }
8036 if (temp)
8037 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8038 else
8039 arg2 = NULL;
8040 }
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 (arg1)->SetFillBrush(arg2);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 return resultobj;
8050 fail:
8051 return NULL;
8052}
8053
8054
8055static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8058 wxBrush *result;
8059 PyObject * obj0 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (wxBrush *)(arg1)->GetFillBrush();
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
8080static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8083 wxPen *arg2 = (wxPen *) 0 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "pen", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 {
8093 wxPen* temp;
8094 if (obj1) {
8095 if (obj1 == Py_None) {
8096 temp = NULL;
8097 }
8098 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8099 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8100 return NULL;
8101 }
8102 }
8103 if (temp)
8104 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8105 temp->GetWidth(),
8106 temp->GetStyle());
8107 else
8108 arg2 = NULL;
8109 }
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 (arg1)->SetOutlinePen(arg2);
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 Py_INCREF(Py_None); resultobj = Py_None;
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
8124static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8127 wxPen *result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (wxPen *)(arg1)->GetOutlinePen();
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
8149static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8152 int arg2 ;
8153 PyObject * obj0 = 0 ;
8154 char *kwnames[] = {
8155 (char *) "self",(char *) "op", NULL
8156 };
8157
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&arg2)) goto fail;
8159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 (arg1)->SetOutlineOp(arg2);
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 Py_INCREF(Py_None); resultobj = Py_None;
8168 return resultobj;
8169 fail:
8170 return NULL;
8171}
8172
8173
8174static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8177 int result;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
8184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = (int)(arg1)->GetOutlineOp();
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 resultobj = PyInt_FromLong((long)result);
8193 return resultobj;
8194 fail:
8195 return NULL;
8196}
8197
8198
8199static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8202 bool result;
8203 PyObject * obj0 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
8209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (bool)(arg1)->IsValid();
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 resultobj = PyInt_FromLong((long)result);
8218 return resultobj;
8219 fail:
8220 return NULL;
8221}
8222
8223
8224static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8227 wxPoint *arg2 = 0 ;
8228 wxPoint *arg3 = 0 ;
8229 wxPoint temp2 ;
8230 wxPoint temp3 ;
8231 PyObject * obj0 = 0 ;
8232 PyObject * obj1 = 0 ;
8233 PyObject * obj2 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8240 {
8241 arg2 = &temp2;
8242 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8243 }
8244 {
8245 arg3 = &temp3;
8246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8247 }
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 Py_INCREF(Py_None); resultobj = Py_None;
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
8262static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8265 wxRect *arg2 = 0 ;
8266 wxRect temp2 ;
8267 PyObject * obj0 = 0 ;
8268 PyObject * obj1 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "rect", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8275 {
8276 arg2 = &temp2;
8277 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8278 }
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->DrawRectangle((wxRect const &)*arg2);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
8293static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8296 wxRect *arg2 = 0 ;
8297 double arg3 ;
8298 wxRect temp2 ;
8299 PyObject * obj0 = 0 ;
8300 PyObject * obj1 = 0 ;
8301 char *kwnames[] = {
8302 (char *) "self",(char *) "rect",(char *) "radius", NULL
8303 };
8304
8305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
8306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8307 {
8308 arg2 = &temp2;
8309 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8310 }
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 return resultobj;
8320 fail:
8321 return NULL;
8322}
8323
8324
8325static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj;
8327 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8328 wxPoint *arg2 = 0 ;
8329 wxPoint *arg3 = 0 ;
8330 wxPoint *arg4 = 0 ;
8331 wxPoint temp2 ;
8332 wxPoint temp3 ;
8333 wxPoint temp4 ;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 PyObject * obj2 = 0 ;
8337 PyObject * obj3 = 0 ;
8338 char *kwnames[] = {
8339 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8340 };
8341
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8344 {
8345 arg2 = &temp2;
8346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8347 }
8348 {
8349 arg3 = &temp3;
8350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8351 }
8352 {
8353 arg4 = &temp4;
8354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 Py_INCREF(Py_None); resultobj = Py_None;
8364 return resultobj;
8365 fail:
8366 return NULL;
8367}
8368
8369
8370static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj;
8372 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8373 wxRect *arg2 = 0 ;
8374 double arg3 ;
8375 double arg4 ;
8376 wxRect temp2 ;
8377 PyObject * obj0 = 0 ;
8378 PyObject * obj1 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 {
8386 arg2 = &temp2;
8387 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8388 }
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 Py_INCREF(Py_None); resultobj = Py_None;
8397 return resultobj;
8398 fail:
8399 return NULL;
8400}
8401
8402
8403static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8406 wxRect *arg2 = 0 ;
8407 wxRect temp2 ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj1 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "rect", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8416 {
8417 arg2 = &temp2;
8418 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 (arg1)->DrawEllipse((wxRect const &)*arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431}
8432
8433
8434static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8437 wxPoint *arg2 = 0 ;
8438 wxPoint temp2 ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self",(char *) "pt", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
8446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8447 {
8448 arg2 = &temp2;
8449 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8450 }
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 (arg1)->DrawPoint((wxPoint const &)*arg2);
8454
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 Py_INCREF(Py_None); resultobj = Py_None;
8459 return resultobj;
8460 fail:
8461 return NULL;
8462}
8463
8464
8465static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8468 wxString *arg2 = 0 ;
8469 wxPoint *arg3 = 0 ;
8470 bool temp2 = False ;
8471 wxPoint temp3 ;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 PyObject * obj2 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self",(char *) "text",(char *) "pt", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8481 {
8482 arg2 = wxString_in_helper(obj1);
8483 if (arg2 == NULL) SWIG_fail;
8484 temp2 = True;
8485 }
8486 {
8487 arg3 = &temp3;
8488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 Py_INCREF(Py_None); resultobj = Py_None;
8498 {
8499 if (temp2)
8500 delete arg2;
8501 }
8502 return resultobj;
8503 fail:
8504 {
8505 if (temp2)
8506 delete arg2;
8507 }
8508 return NULL;
8509}
8510
8511
8512static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8515 int arg2 ;
8516 wxPoint *arg3 = (wxPoint *) 0 ;
8517 PyObject * obj0 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 (arg1)->DrawLines(arg2,arg3);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 Py_INCREF(Py_None); resultobj = Py_None;
8534 return resultobj;
8535 fail:
8536 return NULL;
8537}
8538
8539
8540static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8543 int arg2 ;
8544 wxPoint *arg3 = (wxPoint *) 0 ;
8545 int arg4 = (int) 0 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj2 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8554 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 (arg1)->DrawPolygon(arg2,arg3,arg4);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 Py_INCREF(Py_None); resultobj = Py_None;
8563 return resultobj;
8564 fail:
8565 return NULL;
8566}
8567
8568
8569static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8572 int arg2 ;
8573 wxPoint *arg3 = (wxPoint *) 0 ;
8574 PyObject * obj0 = 0 ;
8575 PyObject * obj2 = 0 ;
8576 char *kwnames[] = {
8577 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
8581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8582 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 (arg1)->DrawSpline(arg2,arg3);
8586
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 Py_INCREF(Py_None); resultobj = Py_None;
8591 return resultobj;
8592 fail:
8593 return NULL;
8594}
8595
8596
8597static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8600 wxRect *arg2 = 0 ;
8601 wxRect temp2 ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self",(char *) "rect", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8610 {
8611 arg2 = &temp2;
8612 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 (arg1)->SetClippingRect((wxRect const &)*arg2);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 return resultobj;
8623 fail:
8624 return NULL;
8625}
8626
8627
8628static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 (arg1)->DestroyClippingRect();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 Py_INCREF(Py_None); resultobj = Py_None;
8646 return resultobj;
8647 fail:
8648 return NULL;
8649}
8650
8651
8652static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8655 wxPen *arg2 = (wxPen *) 0 ;
8656 bool arg3 = (bool) FALSE ;
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
8659 PyObject * obj2 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 {
8667 wxPen* temp;
8668 if (obj1) {
8669 if (obj1 == Py_None) {
8670 temp = NULL;
8671 }
8672 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8673 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8674 return NULL;
8675 }
8676 }
8677 if (temp)
8678 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8679 temp->GetWidth(),
8680 temp->GetStyle());
8681 else
8682 arg2 = NULL;
8683 }
8684 if (obj2) {
8685 arg3 = PyInt_AsLong(obj2) ? true : false;
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 (arg1)->SetPen(arg2,arg3);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 Py_INCREF(Py_None); resultobj = Py_None;
8696 return resultobj;
8697 fail:
8698 return NULL;
8699}
8700
8701
8702static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8705 wxBrush *arg2 = (wxBrush *) 0 ;
8706 bool arg3 = (bool) FALSE ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 PyObject * obj2 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8716 {
8717 wxBrush* temp;
8718 if (obj1) {
8719 if (obj1 == Py_None) {
8720 temp = NULL;
8721 }
8722 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8723 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8724 return NULL;
8725 }
8726 }
8727 if (temp)
8728 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8729 else
8730 arg2 = NULL;
8731 }
8732 if (obj2) {
8733 arg3 = PyInt_AsLong(obj2) ? true : false;
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetBrush(arg2,arg3);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
8750static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8753 wxFont *arg2 = (wxFont *) 0 ;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "self",(char *) "font", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
8761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8762 {
8763 wxFont* temp;
8764 if (obj1) {
8765 if (obj1 == Py_None) {
8766 temp = NULL;
8767 }
8768 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
8769 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
8770 return NULL;
8771 }
8772 }
8773 if (temp)
8774 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
8775 temp->GetFamily(),
8776 temp->GetStyle(),
8777 temp->GetWeight(),
8778 temp->GetUnderlined(),
8779 temp->GetFaceName(),
8780 temp->GetEncoding());
8781 else
8782 arg2 = NULL;
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->SetFont(arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
8798static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8801 wxColour *arg2 = 0 ;
8802 wxColour temp2 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "colour", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8811 {
8812 arg2 = &temp2;
8813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8814 }
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetTextColour((wxColour const &)*arg2);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8832 wxColour *arg2 = 0 ;
8833 wxColour temp2 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "colour", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 {
8843 arg2 = &temp2;
8844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857}
8858
8859
8860static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8863 int arg2 ;
8864 PyObject * obj0 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "mode", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 (arg1)->SetBackgroundMode(arg2);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 Py_INCREF(Py_None); resultobj = Py_None;
8879 return resultobj;
8880 fail:
8881 return NULL;
8882}
8883
8884
8885static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
8886 PyObject *obj;
8887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8888 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
8889 Py_INCREF(obj);
8890 return Py_BuildValue((char *)"");
8891}
8892static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj;
8894 double arg1 = (double) 0.0 ;
8895 double arg2 = (double) 0.0 ;
8896 wxPyRectangleShape *result;
8897 char *kwnames[] = {
8898 (char *) "width",(char *) "height", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyRectangleShape",kwnames,&arg1,&arg2)) goto fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
8910 return resultobj;
8911 fail:
8912 return NULL;
8913}
8914
8915
8916static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8919 PyObject *arg2 = (PyObject *) 0 ;
8920 PyObject *arg3 = (PyObject *) 0 ;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 PyObject * obj2 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "self",(char *) "_class", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8930 arg2 = obj1;
8931 arg3 = obj2;
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 (arg1)->_setCallbackInfo(arg2,arg3);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 Py_INCREF(Py_None); resultobj = Py_None;
8940 return resultobj;
8941 fail:
8942 return NULL;
8943}
8944
8945
8946static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj;
8948 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8949 double arg2 ;
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "radius", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->SetCornerRadius(arg2);
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 Py_INCREF(Py_None); resultobj = Py_None;
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
8971static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
8980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 (arg1)->base_OnDelete();
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 Py_INCREF(Py_None); resultobj = Py_None;
8989 return resultobj;
8990 fail:
8991 return NULL;
8992}
8993
8994
8995static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8996 PyObject *resultobj;
8997 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8998 wxDC *arg2 = 0 ;
8999 PyObject * obj0 = 0 ;
9000 PyObject * obj1 = 0 ;
9001 char *kwnames[] = {
9002 (char *) "self",(char *) "dc", NULL
9003 };
9004
9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 if (arg2 == NULL) {
9009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9010 }
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->base_OnDraw(*arg2);
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 Py_INCREF(Py_None); resultobj = Py_None;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022}
9023
9024
9025static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9028 wxDC *arg2 = 0 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self",(char *) "dc", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038 if (arg2 == NULL) {
9039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 (arg1)->base_OnDrawContents(*arg2);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
9055static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9058 wxDC *arg2 = 0 ;
9059 bool arg3 = (bool) FALSE ;
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
9062 PyObject * obj2 = 0 ;
9063 char *kwnames[] = {
9064 (char *) "self",(char *) "dc",(char *) "erase", NULL
9065 };
9066
9067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
9068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 if (arg2 == NULL) {
9071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9072 }
9073 if (obj2) {
9074 arg3 = PyInt_AsLong(obj2) ? true : false;
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 (arg1)->base_OnDrawBranches(*arg2,arg3);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 Py_INCREF(Py_None); resultobj = Py_None;
9085 return resultobj;
9086 fail:
9087 return NULL;
9088}
9089
9090
9091static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9094 wxDC *arg2 = 0 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "dc", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
9102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9104 if (arg2 == NULL) {
9105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 (arg1)->base_OnMoveLinks(*arg2);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 Py_INCREF(Py_None); resultobj = Py_None;
9115 return resultobj;
9116 fail:
9117 return NULL;
9118}
9119
9120
9121static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9122 PyObject *resultobj;
9123 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9124 wxDC *arg2 = 0 ;
9125 PyObject * obj0 = 0 ;
9126 PyObject * obj1 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self",(char *) "dc", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
9132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9134 if (arg2 == NULL) {
9135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->base_OnErase(*arg2);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
9151static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9154 wxDC *arg2 = 0 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "dc", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9164 if (arg2 == NULL) {
9165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 (arg1)->base_OnEraseContents(*arg2);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 Py_INCREF(Py_None); resultobj = Py_None;
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
9181static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9184 wxDC *arg2 = 0 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "dc", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9194 if (arg2 == NULL) {
9195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->base_OnHighlight(*arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
9211static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9214 double arg2 ;
9215 double arg3 ;
9216 int arg4 = (int) 0 ;
9217 int arg5 = (int) 0 ;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 Py_INCREF(Py_None); resultobj = Py_None;
9233 return resultobj;
9234 fail:
9235 return NULL;
9236}
9237
9238
9239static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9242 double arg2 ;
9243 double arg3 ;
9244 int arg4 = (int) 0 ;
9245 int arg5 = (int) 0 ;
9246 PyObject * obj0 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 Py_INCREF(Py_None); resultobj = Py_None;
9261 return resultobj;
9262 fail:
9263 return NULL;
9264}
9265
9266
9267static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9270 double arg2 ;
9271 double arg3 ;
9272 int arg4 = (int) 0 ;
9273 int arg5 = (int) 0 ;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
9295static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9298 double arg2 ;
9299 double arg3 ;
9300 PyObject * obj0 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self",(char *) "x",(char *) "y", NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 (arg1)->base_OnSize(arg2,arg3);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 Py_INCREF(Py_None); resultobj = Py_None;
9315 return resultobj;
9316 fail:
9317 return NULL;
9318}
9319
9320
9321static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject *resultobj;
9323 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9324 wxDC *arg2 = 0 ;
9325 double arg3 ;
9326 double arg4 ;
9327 double arg5 ;
9328 double arg6 ;
9329 bool arg7 = (bool) True ;
9330 bool result;
9331 PyObject * obj0 = 0 ;
9332 PyObject * obj1 = 0 ;
9333 PyObject * obj6 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341 if (arg2 == NULL) {
9342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9343 }
9344 if (obj6) {
9345 arg7 = PyInt_AsLong(obj6) ? true : false;
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = PyInt_FromLong((long)result);
9356 return resultobj;
9357 fail:
9358 return NULL;
9359}
9360
9361
9362static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9365 wxDC *arg2 = 0 ;
9366 double arg3 ;
9367 double arg4 ;
9368 double arg5 ;
9369 double arg6 ;
9370 bool arg7 = (bool) True ;
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9373 PyObject * obj6 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 if (arg2 == NULL) {
9382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9383 }
9384 if (obj6) {
9385 arg7 = PyInt_AsLong(obj6) ? true : false;
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 Py_INCREF(Py_None); resultobj = Py_None;
9396 return resultobj;
9397 fail:
9398 return NULL;
9399}
9400
9401
9402static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9405 bool arg2 ;
9406 double arg3 ;
9407 double arg4 ;
9408 int arg5 = (int) 0 ;
9409 int arg6 = (int) 0 ;
9410 PyObject * obj0 = 0 ;
9411 PyObject * obj1 = 0 ;
9412 char *kwnames[] = {
9413 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9414 };
9415
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9418 arg2 = PyInt_AsLong(obj1) ? true : false;
9419 if (PyErr_Occurred()) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
9434static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9437 double arg2 ;
9438 double arg3 ;
9439 int arg4 = (int) 0 ;
9440 int arg5 = (int) 0 ;
9441 PyObject * obj0 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 Py_INCREF(Py_None); resultobj = Py_None;
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
9462static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9463 PyObject *resultobj;
9464 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9465 double arg2 ;
9466 double arg3 ;
9467 int arg4 = (int) 0 ;
9468 int arg5 = (int) 0 ;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 Py_INCREF(Py_None); resultobj = Py_None;
9484 return resultobj;
9485 fail:
9486 return NULL;
9487}
9488
9489
9490static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9493 bool arg2 ;
9494 double arg3 ;
9495 double arg4 ;
9496 int arg5 = (int) 0 ;
9497 int arg6 = (int) 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506 arg2 = PyInt_AsLong(obj1) ? true : false;
9507 if (PyErr_Occurred()) SWIG_fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519}
9520
9521
9522static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9525 double arg2 ;
9526 double arg3 ;
9527 int arg4 = (int) 0 ;
9528 int arg5 = (int) 0 ;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 Py_INCREF(Py_None); resultobj = Py_None;
9544 return resultobj;
9545 fail:
9546 return NULL;
9547}
9548
9549
9550static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9553 double arg2 ;
9554 double arg3 ;
9555 int arg4 = (int) 0 ;
9556 int arg5 = (int) 0 ;
9557 PyObject * obj0 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 Py_INCREF(Py_None); resultobj = Py_None;
9572 return resultobj;
9573 fail:
9574 return NULL;
9575}
9576
9577
9578static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9581 wxDC *arg2 = 0 ;
9582 double arg3 ;
9583 double arg4 ;
9584 double arg5 ;
9585 double arg6 ;
9586 PyObject * obj0 = 0 ;
9587 PyObject * obj1 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 if (arg2 == NULL) {
9596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9597 }
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 Py_INCREF(Py_None); resultobj = Py_None;
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
9612static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9615 wxDC *arg2 = 0 ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self",(char *) "dc", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 if (arg2 == NULL) {
9626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9627 }
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 (arg1)->base_OnDrawControlPoints(*arg2);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 Py_INCREF(Py_None); resultobj = Py_None;
9636 return resultobj;
9637 fail:
9638 return NULL;
9639}
9640
9641
9642static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj;
9644 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9645 wxDC *arg2 = 0 ;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self",(char *) "dc", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 if (arg2 == NULL) {
9656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9657 }
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 (arg1)->base_OnEraseControlPoints(*arg2);
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 Py_INCREF(Py_None); resultobj = Py_None;
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
9672static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9675 wxDC *arg2 = 0 ;
9676 bool arg3 = (bool) True ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 PyObject * obj2 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
9685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9687 if (arg2 == NULL) {
9688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9689 }
9690 if (obj2) {
9691 arg3 = PyInt_AsLong(obj2) ? true : false;
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 (arg1)->base_OnMoveLink(*arg2,arg3);
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 Py_INCREF(Py_None); resultobj = Py_None;
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
9708static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9711 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9712 bool arg3 ;
9713 double arg4 ;
9714 double arg5 ;
9715 int arg6 = (int) 0 ;
9716 int arg7 = (int) 0 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 PyObject * obj2 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 arg3 = PyInt_AsLong(obj2) ? true : false;
9728 if (PyErr_Occurred()) SWIG_fail;
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740}
9741
9742
9743static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9746 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9747 double arg3 ;
9748 double arg4 ;
9749 int arg5 = (int) 0 ;
9750 int arg6 = (int) 0 ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 Py_INCREF(Py_None); resultobj = Py_None;
9768 return resultobj;
9769 fail:
9770 return NULL;
9771}
9772
9773
9774static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9777 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9778 double arg3 ;
9779 double arg4 ;
9780 int arg5 = (int) 0 ;
9781 int arg6 = (int) 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 Py_INCREF(Py_None); resultobj = Py_None;
9799 return resultobj;
9800 fail:
9801 return NULL;
9802}
9803
9804
9805static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9808 double arg2 ;
9809 double arg3 ;
9810 PyObject * obj0 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "w",(char *) "h", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 (arg1)->base_OnBeginSize(arg2,arg3);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828}
9829
9830
9831static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9834 double arg2 ;
9835 double arg3 ;
9836 PyObject * obj0 = 0 ;
9837 char *kwnames[] = {
9838 (char *) "self",(char *) "w",(char *) "h", NULL
9839 };
9840
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->base_OnEndSize(arg2,arg3);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854}
9855
9856
9857static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
9858 PyObject *obj;
9859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9860 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
9861 Py_INCREF(obj);
9862 return Py_BuildValue((char *)"");
9863}
9864static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
9867 wxPyShape *arg2 = (wxPyShape *) NULL ;
9868 double arg3 = (double) 0.0 ;
9869 double arg4 = (double) 0.0 ;
9870 double arg5 = (double) 0.0 ;
9871 int arg6 = (int) 0 ;
9872 wxPyControlPoint *result;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOdddi:new_PyControlPoint",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9880 if (obj0) {
9881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9882 }
9883 if (obj1) {
9884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
9894 return resultobj;
9895 fail:
9896 return NULL;
9897}
9898
9899
9900static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9903 PyObject *arg2 = (PyObject *) 0 ;
9904 PyObject *arg3 = (PyObject *) 0 ;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj1 = 0 ;
9907 PyObject * obj2 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "self",(char *) "_class", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 arg2 = obj1;
9915 arg3 = obj2;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 (arg1)->_setCallbackInfo(arg2,arg3);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 Py_INCREF(Py_None); resultobj = Py_None;
9924 return resultobj;
9925 fail:
9926 return NULL;
9927}
9928
9929
9930static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9933 double arg2 ;
9934 PyObject * obj0 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "radius", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
9940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 (arg1)->SetCornerRadius(arg2);
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 Py_INCREF(Py_None); resultobj = Py_None;
9949 return resultobj;
9950 fail:
9951 return NULL;
9952}
9953
9954
9955static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9958 PyObject * obj0 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 (arg1)->base_OnDelete();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 Py_INCREF(Py_None); resultobj = Py_None;
9973 return resultobj;
9974 fail:
9975 return NULL;
9976}
9977
9978
9979static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9982 wxDC *arg2 = 0 ;
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "dc", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 if (arg2 == NULL) {
9993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9994 }
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 (arg1)->base_OnDraw(*arg2);
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 Py_INCREF(Py_None); resultobj = Py_None;
10003 return resultobj;
10004 fail:
10005 return NULL;
10006}
10007
10008
10009static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj;
10011 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10012 wxDC *arg2 = 0 ;
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self",(char *) "dc", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 if (arg2 == NULL) {
10023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 (arg1)->base_OnDrawContents(*arg2);
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 Py_INCREF(Py_None); resultobj = Py_None;
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
10039static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10042 wxDC *arg2 = 0 ;
10043 bool arg3 = (bool) FALSE ;
10044 PyObject * obj0 = 0 ;
10045 PyObject * obj1 = 0 ;
10046 PyObject * obj2 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self",(char *) "dc",(char *) "erase", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10054 if (arg2 == NULL) {
10055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10056 }
10057 if (obj2) {
10058 arg3 = PyInt_AsLong(obj2) ? true : false;
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 (arg1)->base_OnDrawBranches(*arg2,arg3);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 Py_INCREF(Py_None); resultobj = Py_None;
10069 return resultobj;
10070 fail:
10071 return NULL;
10072}
10073
10074
10075static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj;
10077 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10078 wxDC *arg2 = 0 ;
10079 PyObject * obj0 = 0 ;
10080 PyObject * obj1 = 0 ;
10081 char *kwnames[] = {
10082 (char *) "self",(char *) "dc", NULL
10083 };
10084
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10088 if (arg2 == NULL) {
10089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10090 }
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 (arg1)->base_OnMoveLinks(*arg2);
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 Py_INCREF(Py_None); resultobj = Py_None;
10099 return resultobj;
10100 fail:
10101 return NULL;
10102}
10103
10104
10105static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10108 wxDC *arg2 = 0 ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 char *kwnames[] = {
10112 (char *) "self",(char *) "dc", NULL
10113 };
10114
10115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10118 if (arg2 == NULL) {
10119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10120 }
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 (arg1)->base_OnErase(*arg2);
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 Py_INCREF(Py_None); resultobj = Py_None;
10129 return resultobj;
10130 fail:
10131 return NULL;
10132}
10133
10134
10135static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj;
10137 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10138 wxDC *arg2 = 0 ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "dc", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10148 if (arg2 == NULL) {
10149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10150 }
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 (arg1)->base_OnEraseContents(*arg2);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 Py_INCREF(Py_None); resultobj = Py_None;
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
10165static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10168 wxDC *arg2 = 0 ;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "dc", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 if (arg2 == NULL) {
10179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 (arg1)->base_OnHighlight(*arg2);
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 Py_INCREF(Py_None); resultobj = Py_None;
10189 return resultobj;
10190 fail:
10191 return NULL;
10192}
10193
10194
10195static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10198 double arg2 ;
10199 double arg3 ;
10200 int arg4 = (int) 0 ;
10201 int arg5 = (int) 0 ;
10202 PyObject * obj0 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10212
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 Py_INCREF(Py_None); resultobj = Py_None;
10217 return resultobj;
10218 fail:
10219 return NULL;
10220}
10221
10222
10223static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10226 double arg2 ;
10227 double arg3 ;
10228 int arg4 = (int) 0 ;
10229 int arg5 = (int) 0 ;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 Py_INCREF(Py_None); resultobj = Py_None;
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
10251static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10254 double arg2 ;
10255 double arg3 ;
10256 int arg4 = (int) 0 ;
10257 int arg5 = (int) 0 ;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 Py_INCREF(Py_None); resultobj = Py_None;
10273 return resultobj;
10274 fail:
10275 return NULL;
10276}
10277
10278
10279static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10282 double arg2 ;
10283 double arg3 ;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self",(char *) "x",(char *) "y", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 (arg1)->base_OnSize(arg2,arg3);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 Py_INCREF(Py_None); resultobj = Py_None;
10299 return resultobj;
10300 fail:
10301 return NULL;
10302}
10303
10304
10305static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10308 wxDC *arg2 = 0 ;
10309 double arg3 ;
10310 double arg4 ;
10311 double arg5 ;
10312 double arg6 ;
10313 bool arg7 = (bool) True ;
10314 bool result;
10315 PyObject * obj0 = 0 ;
10316 PyObject * obj1 = 0 ;
10317 PyObject * obj6 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10325 if (arg2 == NULL) {
10326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10327 }
10328 if (obj6) {
10329 arg7 = PyInt_AsLong(obj6) ? true : false;
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 resultobj = PyInt_FromLong((long)result);
10340 return resultobj;
10341 fail:
10342 return NULL;
10343}
10344
10345
10346static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj;
10348 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10349 wxDC *arg2 = 0 ;
10350 double arg3 ;
10351 double arg4 ;
10352 double arg5 ;
10353 double arg6 ;
10354 bool arg7 = (bool) True ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 PyObject * obj6 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 if (arg2 == NULL) {
10366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10367 }
10368 if (obj6) {
10369 arg7 = PyInt_AsLong(obj6) ? true : false;
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 Py_INCREF(Py_None); resultobj = Py_None;
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
10386static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10387 PyObject *resultobj;
10388 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10389 bool arg2 ;
10390 double arg3 ;
10391 double arg4 ;
10392 int arg5 = (int) 0 ;
10393 int arg6 = (int) 0 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402 arg2 = PyInt_AsLong(obj1) ? true : false;
10403 if (PyErr_Occurred()) SWIG_fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 Py_INCREF(Py_None); resultobj = Py_None;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
10418static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10421 double arg2 ;
10422 double arg3 ;
10423 int arg4 = (int) 0 ;
10424 int arg5 = (int) 0 ;
10425 PyObject * obj0 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443}
10444
10445
10446static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10449 double arg2 ;
10450 double arg3 ;
10451 int arg4 = (int) 0 ;
10452 int arg5 = (int) 0 ;
10453 PyObject * obj0 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
10474static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10477 bool arg2 ;
10478 double arg3 ;
10479 double arg4 ;
10480 int arg5 = (int) 0 ;
10481 int arg6 = (int) 0 ;
10482 PyObject * obj0 = 0 ;
10483 PyObject * obj1 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10490 arg2 = PyInt_AsLong(obj1) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 return resultobj;
10501 fail:
10502 return NULL;
10503}
10504
10505
10506static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10509 double arg2 ;
10510 double arg3 ;
10511 int arg4 = (int) 0 ;
10512 int arg5 = (int) 0 ;
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
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
10534static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10537 double arg2 ;
10538 double arg3 ;
10539 int arg4 = (int) 0 ;
10540 int arg5 = (int) 0 ;
10541 PyObject * obj0 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10565 wxDC *arg2 = 0 ;
10566 double arg3 ;
10567 double arg4 ;
10568 double arg5 ;
10569 double arg6 ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10579 if (arg2 == NULL) {
10580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 Py_INCREF(Py_None); resultobj = Py_None;
10590 return resultobj;
10591 fail:
10592 return NULL;
10593}
10594
10595
10596static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10599 wxDC *arg2 = 0 ;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "dc", NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
10607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609 if (arg2 == NULL) {
10610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10611 }
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 (arg1)->base_OnDrawControlPoints(*arg2);
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 Py_INCREF(Py_None); resultobj = Py_None;
10620 return resultobj;
10621 fail:
10622 return NULL;
10623}
10624
10625
10626static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10629 wxDC *arg2 = 0 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "dc", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 if (arg2 == NULL) {
10640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10641 }
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 (arg1)->base_OnEraseControlPoints(*arg2);
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 Py_INCREF(Py_None); resultobj = Py_None;
10650 return resultobj;
10651 fail:
10652 return NULL;
10653}
10654
10655
10656static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10659 wxDC *arg2 = 0 ;
10660 bool arg3 = (bool) True ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 PyObject * obj2 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10671 if (arg2 == NULL) {
10672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10673 }
10674 if (obj2) {
10675 arg3 = PyInt_AsLong(obj2) ? true : false;
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 (arg1)->base_OnMoveLink(*arg2,arg3);
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 Py_INCREF(Py_None); resultobj = Py_None;
10686 return resultobj;
10687 fail:
10688 return NULL;
10689}
10690
10691
10692static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10695 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10696 bool arg3 ;
10697 double arg4 ;
10698 double arg5 ;
10699 int arg6 = (int) 0 ;
10700 int arg7 = (int) 0 ;
10701 PyObject * obj0 = 0 ;
10702 PyObject * obj1 = 0 ;
10703 PyObject * obj2 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 arg3 = PyInt_AsLong(obj2) ? true : false;
10712 if (PyErr_Occurred()) SWIG_fail;
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 Py_INCREF(Py_None); resultobj = Py_None;
10721 return resultobj;
10722 fail:
10723 return NULL;
10724}
10725
10726
10727static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj;
10729 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10730 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10731 double arg3 ;
10732 double arg4 ;
10733 int arg5 = (int) 0 ;
10734 int arg6 = (int) 0 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755}
10756
10757
10758static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10761 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10762 double arg3 ;
10763 double arg4 ;
10764 int arg5 = (int) 0 ;
10765 int arg6 = (int) 0 ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 Py_INCREF(Py_None); resultobj = Py_None;
10783 return resultobj;
10784 fail:
10785 return NULL;
10786}
10787
10788
10789static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10790 PyObject *resultobj;
10791 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10792 double arg2 ;
10793 double arg3 ;
10794 PyObject * obj0 = 0 ;
10795 char *kwnames[] = {
10796 (char *) "self",(char *) "w",(char *) "h", NULL
10797 };
10798
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->base_OnBeginSize(arg2,arg3);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 Py_INCREF(Py_None); resultobj = Py_None;
10809 return resultobj;
10810 fail:
10811 return NULL;
10812}
10813
10814
10815static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10816 PyObject *resultobj;
10817 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10818 double arg2 ;
10819 double arg3 ;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "w",(char *) "h", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 (arg1)->base_OnEndSize(arg2,arg3);
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 Py_INCREF(Py_None); resultobj = Py_None;
10835 return resultobj;
10836 fail:
10837 return NULL;
10838}
10839
10840
10841static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
10842 PyObject *obj;
10843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10844 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
10845 Py_INCREF(obj);
10846 return Py_BuildValue((char *)"");
10847}
10848static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxPyBitmapShape *result;
10851 char *kwnames[] = {
10852 NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = (wxPyBitmapShape *)new wxPyBitmapShape();
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
10870static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10873 PyObject *arg2 = (PyObject *) 0 ;
10874 PyObject *arg3 = (PyObject *) 0 ;
10875 PyObject * obj0 = 0 ;
10876 PyObject * obj1 = 0 ;
10877 PyObject * obj2 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "self",(char *) "_class", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10884 arg2 = obj1;
10885 arg3 = obj2;
10886 {
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 (arg1)->_setCallbackInfo(arg2,arg3);
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 Py_INCREF(Py_None); resultobj = Py_None;
10894 return resultobj;
10895 fail:
10896 return NULL;
10897}
10898
10899
10900static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj;
10902 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10903 wxBitmap *result;
10904 PyObject * obj0 = 0 ;
10905 char *kwnames[] = {
10906 (char *) "self", NULL
10907 };
10908
10909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
10910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 {
10914 wxBitmap &_result_ref = (arg1)->GetBitmap();
10915 result = (wxBitmap *) &_result_ref;
10916 }
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
10928static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10931 wxString result;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (arg1)->GetFilename();
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 {
10947#if wxUSE_UNICODE
10948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10949#else
10950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10951#endif
10952 }
10953 return resultobj;
10954 fail:
10955 return NULL;
10956}
10957
10958
10959static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10962 wxBitmap *arg2 = 0 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self",(char *) "bitmap", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10972 if (arg2 == NULL) {
10973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10974 }
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 Py_INCREF(Py_None); resultobj = Py_None;
10983 return resultobj;
10984 fail:
10985 return NULL;
10986}
10987
10988
10989static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10992 wxString *arg2 = 0 ;
10993 bool temp2 = False ;
10994 PyObject * obj0 = 0 ;
10995 PyObject * obj1 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self",(char *) "filename", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 {
11003 arg2 = wxString_in_helper(obj1);
11004 if (arg2 == NULL) SWIG_fail;
11005 temp2 = True;
11006 }
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 (arg1)->SetFilename((wxString const &)*arg2);
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 Py_INCREF(Py_None); resultobj = Py_None;
11015 {
11016 if (temp2)
11017 delete arg2;
11018 }
11019 return resultobj;
11020 fail:
11021 {
11022 if (temp2)
11023 delete arg2;
11024 }
11025 return NULL;
11026}
11027
11028
11029static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11030 PyObject *resultobj;
11031 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11032 PyObject * obj0 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 (arg1)->base_OnDelete();
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 Py_INCREF(Py_None); resultobj = Py_None;
11047 return resultobj;
11048 fail:
11049 return NULL;
11050}
11051
11052
11053static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11056 wxDC *arg2 = 0 ;
11057 PyObject * obj0 = 0 ;
11058 PyObject * obj1 = 0 ;
11059 char *kwnames[] = {
11060 (char *) "self",(char *) "dc", NULL
11061 };
11062
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
11064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11066 if (arg2 == NULL) {
11067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11068 }
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 (arg1)->base_OnDraw(*arg2);
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 Py_INCREF(Py_None); resultobj = Py_None;
11077 return resultobj;
11078 fail:
11079 return NULL;
11080}
11081
11082
11083static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11086 wxDC *arg2 = 0 ;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self",(char *) "dc", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11096 if (arg2 == NULL) {
11097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11098 }
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 (arg1)->base_OnDrawContents(*arg2);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110}
11111
11112
11113static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11116 wxDC *arg2 = 0 ;
11117 bool arg3 = (bool) FALSE ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 PyObject * obj2 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "dc",(char *) "erase", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11128 if (arg2 == NULL) {
11129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11130 }
11131 if (obj2) {
11132 arg3 = PyInt_AsLong(obj2) ? true : false;
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->base_OnDrawBranches(*arg2,arg3);
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 Py_INCREF(Py_None); resultobj = Py_None;
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
11149static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11152 wxDC *arg2 = 0 ;
11153 PyObject * obj0 = 0 ;
11154 PyObject * obj1 = 0 ;
11155 char *kwnames[] = {
11156 (char *) "self",(char *) "dc", NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
11160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11162 if (arg2 == NULL) {
11163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11164 }
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 (arg1)->base_OnMoveLinks(*arg2);
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 Py_INCREF(Py_None); resultobj = Py_None;
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
11179static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11182 wxDC *arg2 = 0 ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "self",(char *) "dc", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
11190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 if (arg2 == NULL) {
11193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11194 }
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 (arg1)->base_OnErase(*arg2);
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 Py_INCREF(Py_None); resultobj = Py_None;
11203 return resultobj;
11204 fail:
11205 return NULL;
11206}
11207
11208
11209static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11212 wxDC *arg2 = 0 ;
11213 PyObject * obj0 = 0 ;
11214 PyObject * obj1 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "self",(char *) "dc", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 if (arg2 == NULL) {
11223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11224 }
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 (arg1)->base_OnEraseContents(*arg2);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 Py_INCREF(Py_None); resultobj = Py_None;
11233 return resultobj;
11234 fail:
11235 return NULL;
11236}
11237
11238
11239static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11242 wxDC *arg2 = 0 ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "dc", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 if (arg2 == NULL) {
11253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11254 }
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->base_OnHighlight(*arg2);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266}
11267
11268
11269static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11272 double arg2 ;
11273 double arg3 ;
11274 int arg4 = (int) 0 ;
11275 int arg5 = (int) 0 ;
11276 PyObject * obj0 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
11297static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11300 double arg2 ;
11301 double arg3 ;
11302 int arg4 = (int) 0 ;
11303 int arg5 = (int) 0 ;
11304 PyObject * obj0 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 Py_INCREF(Py_None); resultobj = Py_None;
11319 return resultobj;
11320 fail:
11321 return NULL;
11322}
11323
11324
11325static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11328 double arg2 ;
11329 double arg3 ;
11330 int arg4 = (int) 0 ;
11331 int arg5 = (int) 0 ;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 Py_INCREF(Py_None); resultobj = Py_None;
11347 return resultobj;
11348 fail:
11349 return NULL;
11350}
11351
11352
11353static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj;
11355 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11356 double arg2 ;
11357 double arg3 ;
11358 PyObject * obj0 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "x",(char *) "y", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->base_OnSize(arg2,arg3);
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
11379static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11382 wxDC *arg2 = 0 ;
11383 double arg3 ;
11384 double arg4 ;
11385 double arg5 ;
11386 double arg6 ;
11387 bool arg7 = (bool) True ;
11388 bool result;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 PyObject * obj6 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11399 if (arg2 == NULL) {
11400 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11401 }
11402 if (obj6) {
11403 arg7 = PyInt_AsLong(obj6) ? true : false;
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = PyInt_FromLong((long)result);
11414 return resultobj;
11415 fail:
11416 return NULL;
11417}
11418
11419
11420static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj;
11422 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11423 wxDC *arg2 = 0 ;
11424 double arg3 ;
11425 double arg4 ;
11426 double arg5 ;
11427 double arg6 ;
11428 bool arg7 = (bool) True ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 PyObject * obj6 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 if (arg2 == NULL) {
11440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11441 }
11442 if (obj6) {
11443 arg7 = PyInt_AsLong(obj6) ? true : false;
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 Py_INCREF(Py_None); resultobj = Py_None;
11454 return resultobj;
11455 fail:
11456 return NULL;
11457}
11458
11459
11460static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11463 bool arg2 ;
11464 double arg3 ;
11465 double arg4 ;
11466 int arg5 = (int) 0 ;
11467 int arg6 = (int) 0 ;
11468 PyObject * obj0 = 0 ;
11469 PyObject * obj1 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11476 arg2 = PyInt_AsLong(obj1) ? true : false;
11477 if (PyErr_Occurred()) SWIG_fail;
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11481
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 Py_INCREF(Py_None); resultobj = Py_None;
11486 return resultobj;
11487 fail:
11488 return NULL;
11489}
11490
11491
11492static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj;
11494 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11495 double arg2 ;
11496 double arg3 ;
11497 int arg4 = (int) 0 ;
11498 int arg5 = (int) 0 ;
11499 PyObject * obj0 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 Py_INCREF(Py_None); resultobj = Py_None;
11514 return resultobj;
11515 fail:
11516 return NULL;
11517}
11518
11519
11520static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11521 PyObject *resultobj;
11522 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11523 double arg2 ;
11524 double arg3 ;
11525 int arg4 = (int) 0 ;
11526 int arg5 = (int) 0 ;
11527 PyObject * obj0 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 Py_INCREF(Py_None); resultobj = Py_None;
11542 return resultobj;
11543 fail:
11544 return NULL;
11545}
11546
11547
11548static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11551 bool arg2 ;
11552 double arg3 ;
11553 double arg4 ;
11554 int arg5 = (int) 0 ;
11555 int arg6 = (int) 0 ;
11556 PyObject * obj0 = 0 ;
11557 PyObject * obj1 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11564 arg2 = PyInt_AsLong(obj1) ? true : false;
11565 if (PyErr_Occurred()) SWIG_fail;
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 Py_INCREF(Py_None); resultobj = Py_None;
11574 return resultobj;
11575 fail:
11576 return NULL;
11577}
11578
11579
11580static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11583 double arg2 ;
11584 double arg3 ;
11585 int arg4 = (int) 0 ;
11586 int arg5 = (int) 0 ;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 Py_INCREF(Py_None); resultobj = Py_None;
11602 return resultobj;
11603 fail:
11604 return NULL;
11605}
11606
11607
11608static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11609 PyObject *resultobj;
11610 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11611 double arg2 ;
11612 double arg3 ;
11613 int arg4 = (int) 0 ;
11614 int arg5 = (int) 0 ;
11615 PyObject * obj0 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
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
11636static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11639 wxDC *arg2 = 0 ;
11640 double arg3 ;
11641 double arg4 ;
11642 double arg5 ;
11643 double arg6 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11653 if (arg2 == NULL) {
11654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11655 }
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 Py_INCREF(Py_None); resultobj = Py_None;
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
11670static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11673 wxDC *arg2 = 0 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "dc", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 if (arg2 == NULL) {
11684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11685 }
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->base_OnDrawControlPoints(*arg2);
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 Py_INCREF(Py_None); resultobj = Py_None;
11694 return resultobj;
11695 fail:
11696 return NULL;
11697}
11698
11699
11700static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11703 wxDC *arg2 = 0 ;
11704 PyObject * obj0 = 0 ;
11705 PyObject * obj1 = 0 ;
11706 char *kwnames[] = {
11707 (char *) "self",(char *) "dc", NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11713 if (arg2 == NULL) {
11714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11715 }
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 (arg1)->base_OnEraseControlPoints(*arg2);
11719
11720 wxPyEndAllowThreads(__tstate);
11721 if (PyErr_Occurred()) SWIG_fail;
11722 }
11723 Py_INCREF(Py_None); resultobj = Py_None;
11724 return resultobj;
11725 fail:
11726 return NULL;
11727}
11728
11729
11730static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11731 PyObject *resultobj;
11732 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11733 wxDC *arg2 = 0 ;
11734 bool arg3 = (bool) True ;
11735 PyObject * obj0 = 0 ;
11736 PyObject * obj1 = 0 ;
11737 PyObject * obj2 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745 if (arg2 == NULL) {
11746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11747 }
11748 if (obj2) {
11749 arg3 = PyInt_AsLong(obj2) ? true : false;
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 (arg1)->base_OnMoveLink(*arg2,arg3);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 Py_INCREF(Py_None); resultobj = Py_None;
11760 return resultobj;
11761 fail:
11762 return NULL;
11763}
11764
11765
11766static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11769 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11770 bool arg3 ;
11771 double arg4 ;
11772 double arg5 ;
11773 int arg6 = (int) 0 ;
11774 int arg7 = (int) 0 ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 PyObject * obj2 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
11783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11785 arg3 = PyInt_AsLong(obj2) ? true : false;
11786 if (PyErr_Occurred()) SWIG_fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 Py_INCREF(Py_None); resultobj = Py_None;
11795 return resultobj;
11796 fail:
11797 return NULL;
11798}
11799
11800
11801static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11804 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11805 double arg3 ;
11806 double arg4 ;
11807 int arg5 = (int) 0 ;
11808 int arg6 = (int) 0 ;
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 Py_INCREF(Py_None); resultobj = Py_None;
11826 return resultobj;
11827 fail:
11828 return NULL;
11829}
11830
11831
11832static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11835 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11836 double arg3 ;
11837 double arg4 ;
11838 int arg5 = (int) 0 ;
11839 int arg6 = (int) 0 ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 char *kwnames[] = {
11843 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11844 };
11845
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 Py_INCREF(Py_None); resultobj = Py_None;
11857 return resultobj;
11858 fail:
11859 return NULL;
11860}
11861
11862
11863static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11866 double arg2 ;
11867 double arg3 ;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "w",(char *) "h", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->base_OnBeginSize(arg2,arg3);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 Py_INCREF(Py_None); resultobj = Py_None;
11883 return resultobj;
11884 fail:
11885 return NULL;
11886}
11887
11888
11889static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11892 double arg2 ;
11893 double arg3 ;
11894 PyObject * obj0 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self",(char *) "w",(char *) "h", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 (arg1)->base_OnEndSize(arg2,arg3);
11904
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 Py_INCREF(Py_None); resultobj = Py_None;
11909 return resultobj;
11910 fail:
11911 return NULL;
11912}
11913
11914
11915static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
11916 PyObject *obj;
11917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
11919 Py_INCREF(obj);
11920 return Py_BuildValue((char *)"");
11921}
11922static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxPyDrawnShape *result;
11925 char *kwnames[] = {
11926 NULL
11927 };
11928
11929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (wxPyDrawnShape *)new wxPyDrawnShape();
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
11938 return resultobj;
11939 fail:
11940 return NULL;
11941}
11942
11943
11944static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject *resultobj;
11946 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11947 PyObject *arg2 = (PyObject *) 0 ;
11948 PyObject *arg3 = (PyObject *) 0 ;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 PyObject * obj2 = 0 ;
11952 char *kwnames[] = {
11953 (char *) "self",(char *) "self",(char *) "_class", NULL
11954 };
11955
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11958 arg2 = obj1;
11959 arg3 = obj2;
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 (arg1)->_setCallbackInfo(arg2,arg3);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 Py_INCREF(Py_None); resultobj = Py_None;
11968 return resultobj;
11969 fail:
11970 return NULL;
11971}
11972
11973
11974static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->CalculateSize();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
11998static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12001 PyObject * obj0 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->DestroyClippingRect();
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 return resultobj;
12017 fail:
12018 return NULL;
12019}
12020
12021
12022static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12025 wxPoint *arg2 = 0 ;
12026 wxPoint *arg3 = 0 ;
12027 wxPoint *arg4 = 0 ;
12028 wxPoint temp2 ;
12029 wxPoint temp3 ;
12030 wxPoint temp4 ;
12031 PyObject * obj0 = 0 ;
12032 PyObject * obj1 = 0 ;
12033 PyObject * obj2 = 0 ;
12034 PyObject * obj3 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 {
12042 arg2 = &temp2;
12043 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12044 }
12045 {
12046 arg3 = &temp3;
12047 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12048 }
12049 {
12050 arg4 = &temp4;
12051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 Py_INCREF(Py_None); resultobj = Py_None;
12061 return resultobj;
12062 fail:
12063 return NULL;
12064}
12065
12066
12067static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj;
12069 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12070 int arg2 ;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self",(char *) "angle", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&arg2)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->DrawAtAngle(arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 Py_INCREF(Py_None); resultobj = Py_None;
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
12092static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12095 wxRect *arg2 = 0 ;
12096 double arg3 ;
12097 double arg4 ;
12098 wxRect temp2 ;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12107 {
12108 arg2 = &temp2;
12109 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12110 }
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 Py_INCREF(Py_None); resultobj = Py_None;
12119 return resultobj;
12120 fail:
12121 return NULL;
12122}
12123
12124
12125static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12128 wxPoint *arg2 = 0 ;
12129 wxPoint *arg3 = 0 ;
12130 wxPoint temp2 ;
12131 wxPoint temp3 ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 PyObject * obj2 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self",(char *) "point1",(char *) "point2", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
12140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12141 {
12142 arg2 = &temp2;
12143 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12144 }
12145 {
12146 arg3 = &temp3;
12147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12148 }
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 Py_INCREF(Py_None); resultobj = Py_None;
12157 return resultobj;
12158 fail:
12159 return NULL;
12160}
12161
12162
12163static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12166 int arg2 ;
12167 wxPoint *arg3 = (wxPoint *) 0 ;
12168 PyObject * obj0 = 0 ;
12169 PyObject * obj2 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 (arg1)->DrawLines(arg2,arg3);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 Py_INCREF(Py_None); resultobj = Py_None;
12185 return resultobj;
12186 fail:
12187 return NULL;
12188}
12189
12190
12191static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12194 wxPoint *arg2 = 0 ;
12195 wxPoint temp2 ;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "point", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
12203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12204 {
12205 arg2 = &temp2;
12206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->DrawPoint((wxPoint const &)*arg2);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 Py_INCREF(Py_None); resultobj = Py_None;
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
12222static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12225 int arg2 ;
12226 wxPoint *arg3 = (wxPoint *) 0 ;
12227 int arg4 = (int) 0 ;
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj2 = 0 ;
12230 char *kwnames[] = {
12231 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12232 };
12233
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
12235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12236 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
12239 (arg1)->DrawPolygon(arg2,arg3,arg4);
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 Py_INCREF(Py_None); resultobj = Py_None;
12245 return resultobj;
12246 fail:
12247 return NULL;
12248}
12249
12250
12251static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12254 wxRect *arg2 = 0 ;
12255 wxRect temp2 ;
12256 PyObject * obj0 = 0 ;
12257 PyObject * obj1 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self",(char *) "rect", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 {
12265 arg2 = &temp2;
12266 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12267 }
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 (arg1)->DrawRectangle((wxRect const &)*arg2);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 Py_INCREF(Py_None); resultobj = Py_None;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
12282static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12285 wxRect *arg2 = 0 ;
12286 double arg3 ;
12287 wxRect temp2 ;
12288 PyObject * obj0 = 0 ;
12289 PyObject * obj1 = 0 ;
12290 char *kwnames[] = {
12291 (char *) "self",(char *) "rect",(char *) "radius", NULL
12292 };
12293
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
12295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12296 {
12297 arg2 = &temp2;
12298 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 Py_INCREF(Py_None); resultobj = Py_None;
12308 return resultobj;
12309 fail:
12310 return NULL;
12311}
12312
12313
12314static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj;
12316 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12317 int arg2 ;
12318 wxPoint *arg3 = (wxPoint *) 0 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj2 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->DrawSpline(arg2,arg3);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339}
12340
12341
12342static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12345 wxString *arg2 = 0 ;
12346 wxPoint *arg3 = 0 ;
12347 bool temp2 = False ;
12348 wxPoint temp3 ;
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 PyObject * obj2 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "self",(char *) "text",(char *) "point", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12358 {
12359 arg2 = wxString_in_helper(obj1);
12360 if (arg2 == NULL) SWIG_fail;
12361 temp2 = True;
12362 }
12363 {
12364 arg3 = &temp3;
12365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12366 }
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 Py_INCREF(Py_None); resultobj = Py_None;
12375 {
12376 if (temp2)
12377 delete arg2;
12378 }
12379 return resultobj;
12380 fail:
12381 {
12382 if (temp2)
12383 delete arg2;
12384 }
12385 return NULL;
12386}
12387
12388
12389static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12392 int result;
12393 PyObject * obj0 = 0 ;
12394 char *kwnames[] = {
12395 (char *) "self", NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
12399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (int)(arg1)->GetAngle();
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 resultobj = PyInt_FromLong((long)result);
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
12414static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12417 wxPseudoMetaFile *result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 {
12428 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
12429 result = (wxPseudoMetaFile *) &_result_ref;
12430 }
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
12436 return resultobj;
12437 fail:
12438 return NULL;
12439}
12440
12441
12442static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12445 double result;
12446 PyObject * obj0 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 result = (double)(arg1)->GetRotation();
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 resultobj = PyFloat_FromDouble(result);
12461 return resultobj;
12462 fail:
12463 return NULL;
12464}
12465
12466
12467static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12470 wxString *arg2 = 0 ;
12471 bool result;
12472 bool temp2 = False ;
12473 PyObject * obj0 = 0 ;
12474 PyObject * obj1 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "filename", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12481 {
12482 arg2 = wxString_in_helper(obj1);
12483 if (arg2 == NULL) SWIG_fail;
12484 temp2 = True;
12485 }
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = PyInt_FromLong((long)result);
12494 {
12495 if (temp2)
12496 delete arg2;
12497 }
12498 return resultobj;
12499 fail:
12500 {
12501 if (temp2)
12502 delete arg2;
12503 }
12504 return NULL;
12505}
12506
12507
12508static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12511 double arg2 ;
12512 double arg3 ;
12513 double arg4 ;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyDrawnShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 (arg1)->Rotate(arg2,arg3,arg4);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 Py_INCREF(Py_None); resultobj = Py_None;
12529 return resultobj;
12530 fail:
12531 return NULL;
12532}
12533
12534
12535static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12538 wxRect *arg2 = 0 ;
12539 wxRect temp2 ;
12540 PyObject * obj0 = 0 ;
12541 PyObject * obj1 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "rect", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12548 {
12549 arg2 = &temp2;
12550 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12551 }
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 (arg1)->SetClippingRect((wxRect const &)*arg2);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 Py_INCREF(Py_None); resultobj = Py_None;
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
12566static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12569 wxColour *arg2 = 0 ;
12570 wxColour temp2 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "colour", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12579 {
12580 arg2 = &temp2;
12581 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 Py_INCREF(Py_None); resultobj = Py_None;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594}
12595
12596
12597static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12600 int arg2 ;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self",(char *) "mode", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->SetDrawnBackgroundMode(arg2);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619}
12620
12621
12622static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12625 wxBrush *arg2 = (wxBrush *) 0 ;
12626 bool arg3 = (bool) FALSE ;
12627 PyObject * obj0 = 0 ;
12628 PyObject * obj1 = 0 ;
12629 PyObject * obj2 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12636 {
12637 wxBrush* temp;
12638 if (obj1) {
12639 if (obj1 == Py_None) {
12640 temp = NULL;
12641 }
12642 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
12643 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
12644 return NULL;
12645 }
12646 }
12647 if (temp)
12648 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
12649 else
12650 arg2 = NULL;
12651 }
12652 if (obj2) {
12653 arg3 = PyInt_AsLong(obj2) ? true : false;
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 (arg1)->SetDrawnBrush(arg2,arg3);
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 Py_INCREF(Py_None); resultobj = Py_None;
12664 return resultobj;
12665 fail:
12666 return NULL;
12667}
12668
12669
12670static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12671 PyObject *resultobj;
12672 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12673 wxFont *arg2 = (wxFont *) 0 ;
12674 PyObject * obj0 = 0 ;
12675 PyObject * obj1 = 0 ;
12676 char *kwnames[] = {
12677 (char *) "self",(char *) "font", NULL
12678 };
12679
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
12681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12682 {
12683 wxFont* temp;
12684 if (obj1) {
12685 if (obj1 == Py_None) {
12686 temp = NULL;
12687 }
12688 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
12689 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
12690 return NULL;
12691 }
12692 }
12693 if (temp)
12694 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
12695 temp->GetFamily(),
12696 temp->GetStyle(),
12697 temp->GetWeight(),
12698 temp->GetUnderlined(),
12699 temp->GetFaceName(),
12700 temp->GetEncoding());
12701 else
12702 arg2 = NULL;
12703 }
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 (arg1)->SetDrawnFont(arg2);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12721 wxPen *arg2 = (wxPen *) 0 ;
12722 bool arg3 = (bool) FALSE ;
12723 PyObject * obj0 = 0 ;
12724 PyObject * obj1 = 0 ;
12725 PyObject * obj2 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12732 {
12733 wxPen* temp;
12734 if (obj1) {
12735 if (obj1 == Py_None) {
12736 temp = NULL;
12737 }
12738 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
12739 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
12740 return NULL;
12741 }
12742 }
12743 if (temp)
12744 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
12745 temp->GetWidth(),
12746 temp->GetStyle());
12747 else
12748 arg2 = NULL;
12749 }
12750 if (obj2) {
12751 arg3 = PyInt_AsLong(obj2) ? true : false;
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 (arg1)->SetDrawnPen(arg2,arg3);
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 Py_INCREF(Py_None); resultobj = Py_None;
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
12768static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12771 wxColour *arg2 = 0 ;
12772 wxColour temp2 ;
12773 PyObject * obj0 = 0 ;
12774 PyObject * obj1 = 0 ;
12775 char *kwnames[] = {
12776 (char *) "self",(char *) "colour", NULL
12777 };
12778
12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
12780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12781 {
12782 arg2 = &temp2;
12783 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 Py_INCREF(Py_None); resultobj = Py_None;
12793 return resultobj;
12794 fail:
12795 return NULL;
12796}
12797
12798
12799static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12802 double arg2 ;
12803 double arg3 ;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self",(char *) "sx",(char *) "sy", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 (arg1)->Scale(arg2,arg3);
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 Py_INCREF(Py_None); resultobj = Py_None;
12819 return resultobj;
12820 fail:
12821 return NULL;
12822}
12823
12824
12825static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12828 bool arg2 ;
12829 PyObject * obj0 = 0 ;
12830 PyObject * obj1 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self",(char *) "save", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12837 arg2 = PyInt_AsLong(obj1) ? true : false;
12838 if (PyErr_Occurred()) SWIG_fail;
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 (arg1)->SetSaveToFile(arg2);
12842
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 Py_INCREF(Py_None); resultobj = Py_None;
12847 return resultobj;
12848 fail:
12849 return NULL;
12850}
12851
12852
12853static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj;
12855 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12856 double arg2 ;
12857 double arg3 ;
12858 PyObject * obj0 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self",(char *) "x",(char *) "y", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 (arg1)->Translate(arg2,arg3);
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 Py_INCREF(Py_None); resultobj = Py_None;
12873 return resultobj;
12874 fail:
12875 return NULL;
12876}
12877
12878
12879static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj;
12881 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12882 PyObject * obj0 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 (arg1)->base_OnDelete();
12892
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 Py_INCREF(Py_None); resultobj = Py_None;
12897 return resultobj;
12898 fail:
12899 return NULL;
12900}
12901
12902
12903static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12906 wxDC *arg2 = 0 ;
12907 PyObject * obj0 = 0 ;
12908 PyObject * obj1 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self",(char *) "dc", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 if (arg2 == NULL) {
12917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12918 }
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 (arg1)->base_OnDraw(*arg2);
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 Py_INCREF(Py_None); resultobj = Py_None;
12927 return resultobj;
12928 fail:
12929 return NULL;
12930}
12931
12932
12933static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12936 wxDC *arg2 = 0 ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self",(char *) "dc", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12946 if (arg2 == NULL) {
12947 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 (arg1)->base_OnDrawContents(*arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 Py_INCREF(Py_None); resultobj = Py_None;
12957 return resultobj;
12958 fail:
12959 return NULL;
12960}
12961
12962
12963static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12966 wxDC *arg2 = 0 ;
12967 bool arg3 = (bool) FALSE ;
12968 PyObject * obj0 = 0 ;
12969 PyObject * obj1 = 0 ;
12970 PyObject * obj2 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self",(char *) "dc",(char *) "erase", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12978 if (arg2 == NULL) {
12979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12980 }
12981 if (obj2) {
12982 arg3 = PyInt_AsLong(obj2) ? true : false;
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->base_OnDrawBranches(*arg2,arg3);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13002 wxDC *arg2 = 0 ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self",(char *) "dc", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 if (arg2 == NULL) {
13013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13014 }
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 (arg1)->base_OnMoveLinks(*arg2);
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 Py_INCREF(Py_None); resultobj = Py_None;
13023 return resultobj;
13024 fail:
13025 return NULL;
13026}
13027
13028
13029static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13032 wxDC *arg2 = 0 ;
13033 PyObject * obj0 = 0 ;
13034 PyObject * obj1 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self",(char *) "dc", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13042 if (arg2 == NULL) {
13043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13044 }
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 (arg1)->base_OnErase(*arg2);
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 Py_INCREF(Py_None); resultobj = Py_None;
13053 return resultobj;
13054 fail:
13055 return NULL;
13056}
13057
13058
13059static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13060 PyObject *resultobj;
13061 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13062 wxDC *arg2 = 0 ;
13063 PyObject * obj0 = 0 ;
13064 PyObject * obj1 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self",(char *) "dc", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13072 if (arg2 == NULL) {
13073 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13074 }
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 (arg1)->base_OnEraseContents(*arg2);
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 Py_INCREF(Py_None); resultobj = Py_None;
13083 return resultobj;
13084 fail:
13085 return NULL;
13086}
13087
13088
13089static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13092 wxDC *arg2 = 0 ;
13093 PyObject * obj0 = 0 ;
13094 PyObject * obj1 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "self",(char *) "dc", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13102 if (arg2 == NULL) {
13103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 (arg1)->base_OnHighlight(*arg2);
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 Py_INCREF(Py_None); resultobj = Py_None;
13113 return resultobj;
13114 fail:
13115 return NULL;
13116}
13117
13118
13119static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13122 double arg2 ;
13123 double arg3 ;
13124 int arg4 = (int) 0 ;
13125 int arg5 = (int) 0 ;
13126 PyObject * obj0 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 Py_INCREF(Py_None); resultobj = Py_None;
13141 return resultobj;
13142 fail:
13143 return NULL;
13144}
13145
13146
13147static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13150 double arg2 ;
13151 double arg3 ;
13152 int arg4 = (int) 0 ;
13153 int arg5 = (int) 0 ;
13154 PyObject * obj0 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 Py_INCREF(Py_None); resultobj = Py_None;
13169 return resultobj;
13170 fail:
13171 return NULL;
13172}
13173
13174
13175static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13178 double arg2 ;
13179 double arg3 ;
13180 int arg4 = (int) 0 ;
13181 int arg5 = (int) 0 ;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13189 {
13190 PyThreadState* __tstate = wxPyBeginAllowThreads();
13191 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13192
13193 wxPyEndAllowThreads(__tstate);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 Py_INCREF(Py_None); resultobj = Py_None;
13197 return resultobj;
13198 fail:
13199 return NULL;
13200}
13201
13202
13203static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13204 PyObject *resultobj;
13205 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13206 double arg2 ;
13207 double arg3 ;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self",(char *) "x",(char *) "y", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 (arg1)->base_OnSize(arg2,arg3);
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 Py_INCREF(Py_None); resultobj = Py_None;
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
13229static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13232 wxDC *arg2 = 0 ;
13233 double arg3 ;
13234 double arg4 ;
13235 double arg5 ;
13236 double arg6 ;
13237 bool arg7 = (bool) True ;
13238 bool result;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 PyObject * obj6 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13249 if (arg2 == NULL) {
13250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13251 }
13252 if (obj6) {
13253 arg7 = PyInt_AsLong(obj6) ? true : false;
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13259
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 resultobj = PyInt_FromLong((long)result);
13264 return resultobj;
13265 fail:
13266 return NULL;
13267}
13268
13269
13270static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13273 wxDC *arg2 = 0 ;
13274 double arg3 ;
13275 double arg4 ;
13276 double arg5 ;
13277 double arg6 ;
13278 bool arg7 = (bool) True ;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj1 = 0 ;
13281 PyObject * obj6 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13289 if (arg2 == NULL) {
13290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13291 }
13292 if (obj6) {
13293 arg7 = PyInt_AsLong(obj6) ? true : false;
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 Py_INCREF(Py_None); resultobj = Py_None;
13304 return resultobj;
13305 fail:
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13313 bool arg2 ;
13314 double arg3 ;
13315 double arg4 ;
13316 int arg5 = (int) 0 ;
13317 int arg6 = (int) 0 ;
13318 PyObject * obj0 = 0 ;
13319 PyObject * obj1 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13326 arg2 = PyInt_AsLong(obj1) ? true : false;
13327 if (PyErr_Occurred()) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 Py_INCREF(Py_None); resultobj = Py_None;
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13345 double arg2 ;
13346 double arg3 ;
13347 int arg4 = (int) 0 ;
13348 int arg5 = (int) 0 ;
13349 PyObject * obj0 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367}
13368
13369
13370static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13373 double arg2 ;
13374 double arg3 ;
13375 int arg4 = (int) 0 ;
13376 int arg5 = (int) 0 ;
13377 PyObject * obj0 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 Py_INCREF(Py_None); resultobj = Py_None;
13392 return resultobj;
13393 fail:
13394 return NULL;
13395}
13396
13397
13398static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13401 bool arg2 ;
13402 double arg3 ;
13403 double arg4 ;
13404 int arg5 = (int) 0 ;
13405 int arg6 = (int) 0 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13414 arg2 = PyInt_AsLong(obj1) ? true : false;
13415 if (PyErr_Occurred()) SWIG_fail;
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
13430static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13433 double arg2 ;
13434 double arg3 ;
13435 int arg4 = (int) 0 ;
13436 int arg5 = (int) 0 ;
13437 PyObject * obj0 = 0 ;
13438 char *kwnames[] = {
13439 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13440 };
13441
13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
13452 return resultobj;
13453 fail:
13454 return NULL;
13455}
13456
13457
13458static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13461 double arg2 ;
13462 double arg3 ;
13463 int arg4 = (int) 0 ;
13464 int arg5 = (int) 0 ;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 Py_INCREF(Py_None); resultobj = Py_None;
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
13486static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13489 wxDC *arg2 = 0 ;
13490 double arg3 ;
13491 double arg4 ;
13492 double arg5 ;
13493 double arg6 ;
13494 PyObject * obj0 = 0 ;
13495 PyObject * obj1 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13503 if (arg2 == NULL) {
13504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13505 }
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 Py_INCREF(Py_None); resultobj = Py_None;
13514 return resultobj;
13515 fail:
13516 return NULL;
13517}
13518
13519
13520static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13523 wxDC *arg2 = 0 ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self",(char *) "dc", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 if (arg2 == NULL) {
13534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13535 }
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 (arg1)->base_OnDrawControlPoints(*arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 Py_INCREF(Py_None); resultobj = Py_None;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547}
13548
13549
13550static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13553 wxDC *arg2 = 0 ;
13554 PyObject * obj0 = 0 ;
13555 PyObject * obj1 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self",(char *) "dc", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563 if (arg2 == NULL) {
13564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 (arg1)->base_OnEraseControlPoints(*arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 Py_INCREF(Py_None); resultobj = Py_None;
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13583 wxDC *arg2 = 0 ;
13584 bool arg3 = (bool) True ;
13585 PyObject * obj0 = 0 ;
13586 PyObject * obj1 = 0 ;
13587 PyObject * obj2 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13595 if (arg2 == NULL) {
13596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13597 }
13598 if (obj2) {
13599 arg3 = PyInt_AsLong(obj2) ? true : false;
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 (arg1)->base_OnMoveLink(*arg2,arg3);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 Py_INCREF(Py_None); resultobj = Py_None;
13610 return resultobj;
13611 fail:
13612 return NULL;
13613}
13614
13615
13616static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13619 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13620 bool arg3 ;
13621 double arg4 ;
13622 double arg5 ;
13623 int arg6 = (int) 0 ;
13624 int arg7 = (int) 0 ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 PyObject * obj2 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13635 arg3 = PyInt_AsLong(obj2) ? true : false;
13636 if (PyErr_Occurred()) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648}
13649
13650
13651static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13654 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13655 double arg3 ;
13656 double arg4 ;
13657 int arg5 = (int) 0 ;
13658 int arg6 = (int) 0 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 Py_INCREF(Py_None); resultobj = Py_None;
13676 return resultobj;
13677 fail:
13678 return NULL;
13679}
13680
13681
13682static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13685 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13686 double arg3 ;
13687 double arg4 ;
13688 int arg5 = (int) 0 ;
13689 int arg6 = (int) 0 ;
13690 PyObject * obj0 = 0 ;
13691 PyObject * obj1 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 return resultobj;
13708 fail:
13709 return NULL;
13710}
13711
13712
13713static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj;
13715 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13716 double arg2 ;
13717 double arg3 ;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "w",(char *) "h", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->base_OnBeginSize(arg2,arg3);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 return resultobj;
13734 fail:
13735 return NULL;
13736}
13737
13738
13739static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13742 double arg2 ;
13743 double arg3 ;
13744 PyObject * obj0 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "w",(char *) "h", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 (arg1)->base_OnEndSize(arg2,arg3);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 Py_INCREF(Py_None); resultobj = Py_None;
13759 return resultobj;
13760 fail:
13761 return NULL;
13762}
13763
13764
13765static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
13766 PyObject *obj;
13767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13768 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
13769 Py_INCREF(obj);
13770 return Py_BuildValue((char *)"");
13771}
13772static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 int arg1 ;
13775 wxPyShape *arg2 = (wxPyShape *) 0 ;
13776 PyObject *arg3 = (PyObject *) 0 ;
13777 wxOGLConstraint *result;
13778 PyObject * obj1 = 0 ;
13779 PyObject * obj2 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOO:new_OGLConstraint",kwnames,&arg1,&obj1,&obj2)) goto fail;
13785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13786 arg3 = obj2;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 {
13795 resultobj = wxPyMake_wxObject(result);
13796 }
13797 return resultobj;
13798 fail:
13799 return NULL;
13800}
13801
13802
13803static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj;
13805 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13806 bool result;
13807 PyObject * obj0 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
13813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (bool)(arg1)->Evaluate();
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 resultobj = PyInt_FromLong((long)result);
13822 return resultobj;
13823 fail:
13824 return NULL;
13825}
13826
13827
13828static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13831 double arg2 ;
13832 double arg3 ;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self",(char *) "x",(char *) "y", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_SetSpacing",kwnames,&obj0,&arg2,&arg3)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 (arg1)->SetSpacing(arg2,arg3);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 Py_INCREF(Py_None); resultobj = Py_None;
13848 return resultobj;
13849 fail:
13850 return NULL;
13851}
13852
13853
13854static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13857 double arg2 ;
13858 double arg3 ;
13859 bool result;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self",(char *) "a",(char *) "b", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_Equals",kwnames,&obj0,&arg2,&arg3)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (bool)(arg1)->Equals(arg2,arg3);
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 resultobj = PyInt_FromLong((long)result);
13875 return resultobj;
13876 fail:
13877 return NULL;
13878}
13879
13880
13881static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
13882 PyObject *obj;
13883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
13885 Py_INCREF(obj);
13886 return Py_BuildValue((char *)"");
13887}
13888static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj;
13890 wxPyCompositeShape *result;
13891 char *kwnames[] = {
13892 NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxPyCompositeShape *)new wxPyCompositeShape();
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
13904 return resultobj;
13905 fail:
13906 return NULL;
13907}
13908
13909
13910static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13913 PyObject *arg2 = (PyObject *) 0 ;
13914 PyObject *arg3 = (PyObject *) 0 ;
13915 PyObject * obj0 = 0 ;
13916 PyObject * obj1 = 0 ;
13917 PyObject * obj2 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self",(char *) "self",(char *) "_class", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13924 arg2 = obj1;
13925 arg3 = obj2;
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 (arg1)->_setCallbackInfo(arg2,arg3);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 Py_INCREF(Py_None); resultobj = Py_None;
13934 return resultobj;
13935 fail:
13936 return NULL;
13937}
13938
13939
13940static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13941 PyObject *resultobj;
13942 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13943 wxPyShape *arg2 = (wxPyShape *) 0 ;
13944 wxPyShape *arg3 = (wxPyShape *) NULL ;
13945 PyObject * obj0 = 0 ;
13946 PyObject * obj1 = 0 ;
13947 PyObject * obj2 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
13953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13955 if (obj2) {
13956 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13957 }
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 (arg1)->AddChild(arg2,arg3);
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 Py_INCREF(Py_None); resultobj = Py_None;
13966 return resultobj;
13967 fail:
13968 return NULL;
13969}
13970
13971
13972static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13975 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
13976 wxOGLConstraint *result;
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "constraint", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
13984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 resultobj = wxPyMake_wxObject(result);
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999}
14000
14001
14002static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14005 int arg2 ;
14006 wxPyShape *arg3 = (wxPyShape *) 0 ;
14007 PyObject *arg4 = (PyObject *) 0 ;
14008 wxOGLConstraint *result;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj2 = 0 ;
14011 PyObject * obj3 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14014 };
14015
14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14018 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14019 arg4 = obj3;
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 {
14028 resultobj = wxPyMake_wxObject(result);
14029 }
14030 return resultobj;
14031 fail:
14032 return NULL;
14033}
14034
14035
14036static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14039 int arg2 ;
14040 wxPyShape *arg3 = (wxPyShape *) 0 ;
14041 wxPyShape *arg4 = (wxPyShape *) 0 ;
14042 wxOGLConstraint *result;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 PyObject * obj3 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 {
14062 resultobj = wxPyMake_wxObject(result);
14063 }
14064 return resultobj;
14065 fail:
14066 return NULL;
14067}
14068
14069
14070static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14073 PyObject * obj0 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 (arg1)->CalculateSize();
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 Py_INCREF(Py_None); resultobj = Py_None;
14088 return resultobj;
14089 fail:
14090 return NULL;
14091}
14092
14093
14094static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14097 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
14098 bool result;
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self",(char *) "division", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
14106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (bool)(arg1)->ContainsDivision(arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = PyInt_FromLong((long)result);
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
14122static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14125 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "constraint", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->DeleteConstraint(arg2);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 return resultobj;
14144 fail:
14145 return NULL;
14146}
14147
14148
14149static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14152 wxPyShape *arg2 = (wxPyShape *) 0 ;
14153 PyObject * obj0 = 0 ;
14154 PyObject * obj1 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self",(char *) "child", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 (arg1)->DeleteConstraintsInvolvingChild(arg2);
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 Py_INCREF(Py_None); resultobj = Py_None;
14170 return resultobj;
14171 fail:
14172 return NULL;
14173}
14174
14175
14176static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14179 wxPyShape *result;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
14186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (wxPyShape *)(arg1)->FindContainerImage();
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 {
14195 resultobj = wxPyMake_wxShapeEvtHandler(result);
14196 }
14197 return resultobj;
14198 fail:
14199 return NULL;
14200}
14201
14202
14203static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14206 PyObject *result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 resultobj = result;
14222 return resultobj;
14223 fail:
14224 return NULL;
14225}
14226
14227
14228static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14231 PyObject *result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = result;
14247 return resultobj;
14248 fail:
14249 return NULL;
14250}
14251
14252
14253static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
14262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 (arg1)->MakeContainer();
14266
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 Py_INCREF(Py_None); resultobj = Py_None;
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
14277static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14280 bool result;
14281 PyObject * obj0 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
14287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 result = (bool)(arg1)->Recompute();
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 resultobj = PyInt_FromLong((long)result);
14296 return resultobj;
14297 fail:
14298 return NULL;
14299}
14300
14301
14302static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14305 wxPyShape *arg2 = (wxPyShape *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "child", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->RemoveChild(arg2);
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 Py_INCREF(Py_None); resultobj = Py_None;
14323 return resultobj;
14324 fail:
14325 return NULL;
14326}
14327
14328
14329static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 (arg1)->base_OnDelete();
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14356 wxDC *arg2 = 0 ;
14357 PyObject * obj0 = 0 ;
14358 PyObject * obj1 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self",(char *) "dc", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 if (arg2 == NULL) {
14367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14368 }
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 (arg1)->base_OnDraw(*arg2);
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
14383static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14386 wxDC *arg2 = 0 ;
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self",(char *) "dc", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 if (arg2 == NULL) {
14397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14398 }
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 (arg1)->base_OnDrawContents(*arg2);
14402
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 Py_INCREF(Py_None); resultobj = Py_None;
14407 return resultobj;
14408 fail:
14409 return NULL;
14410}
14411
14412
14413static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14416 wxDC *arg2 = 0 ;
14417 bool arg3 = (bool) FALSE ;
14418 PyObject * obj0 = 0 ;
14419 PyObject * obj1 = 0 ;
14420 PyObject * obj2 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self",(char *) "dc",(char *) "erase", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14428 if (arg2 == NULL) {
14429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14430 }
14431 if (obj2) {
14432 arg3 = PyInt_AsLong(obj2) ? true : false;
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 (arg1)->base_OnDrawBranches(*arg2,arg3);
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 Py_INCREF(Py_None); resultobj = Py_None;
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
14449static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14452 wxDC *arg2 = 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "dc", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 if (arg2 == NULL) {
14463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14464 }
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->base_OnMoveLinks(*arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
14479static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14482 wxDC *arg2 = 0 ;
14483 PyObject * obj0 = 0 ;
14484 PyObject * obj1 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "dc", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 if (arg2 == NULL) {
14493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14494 }
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 (arg1)->base_OnErase(*arg2);
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 Py_INCREF(Py_None); resultobj = Py_None;
14503 return resultobj;
14504 fail:
14505 return NULL;
14506}
14507
14508
14509static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14512 wxDC *arg2 = 0 ;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj1 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "dc", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 if (arg2 == NULL) {
14523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14524 }
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 (arg1)->base_OnEraseContents(*arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 Py_INCREF(Py_None); resultobj = Py_None;
14533 return resultobj;
14534 fail:
14535 return NULL;
14536}
14537
14538
14539static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14542 wxDC *arg2 = 0 ;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self",(char *) "dc", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14552 if (arg2 == NULL) {
14553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14554 }
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 (arg1)->base_OnHighlight(*arg2);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 Py_INCREF(Py_None); resultobj = Py_None;
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
14569static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14572 double arg2 ;
14573 double arg3 ;
14574 int arg4 = (int) 0 ;
14575 int arg5 = (int) 0 ;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 Py_INCREF(Py_None); resultobj = Py_None;
14591 return resultobj;
14592 fail:
14593 return NULL;
14594}
14595
14596
14597static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14600 double arg2 ;
14601 double arg3 ;
14602 int arg4 = (int) 0 ;
14603 int arg5 = (int) 0 ;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 Py_INCREF(Py_None); resultobj = Py_None;
14619 return resultobj;
14620 fail:
14621 return NULL;
14622}
14623
14624
14625static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14628 double arg2 ;
14629 double arg3 ;
14630 int arg4 = (int) 0 ;
14631 int arg5 = (int) 0 ;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 Py_INCREF(Py_None); resultobj = Py_None;
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
14653static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14656 double arg2 ;
14657 double arg3 ;
14658 PyObject * obj0 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "self",(char *) "x",(char *) "y", NULL
14661 };
14662
14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 (arg1)->base_OnSize(arg2,arg3);
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 Py_INCREF(Py_None); resultobj = Py_None;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676}
14677
14678
14679static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14682 wxDC *arg2 = 0 ;
14683 double arg3 ;
14684 double arg4 ;
14685 double arg5 ;
14686 double arg6 ;
14687 bool arg7 = (bool) True ;
14688 bool result;
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 PyObject * obj6 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 if (arg2 == NULL) {
14700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14701 }
14702 if (obj6) {
14703 arg7 = PyInt_AsLong(obj6) ? true : false;
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 resultobj = PyInt_FromLong((long)result);
14714 return resultobj;
14715 fail:
14716 return NULL;
14717}
14718
14719
14720static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14723 wxDC *arg2 = 0 ;
14724 double arg3 ;
14725 double arg4 ;
14726 double arg5 ;
14727 double arg6 ;
14728 bool arg7 = (bool) True ;
14729 PyObject * obj0 = 0 ;
14730 PyObject * obj1 = 0 ;
14731 PyObject * obj6 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 if (arg2 == NULL) {
14740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14741 }
14742 if (obj6) {
14743 arg7 = PyInt_AsLong(obj6) ? true : false;
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 Py_INCREF(Py_None); resultobj = Py_None;
14754 return resultobj;
14755 fail:
14756 return NULL;
14757}
14758
14759
14760static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14763 bool arg2 ;
14764 double arg3 ;
14765 double arg4 ;
14766 int arg5 = (int) 0 ;
14767 int arg6 = (int) 0 ;
14768 PyObject * obj0 = 0 ;
14769 PyObject * obj1 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14776 arg2 = PyInt_AsLong(obj1) ? true : false;
14777 if (PyErr_Occurred()) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 Py_INCREF(Py_None); resultobj = Py_None;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
14792static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14795 double arg2 ;
14796 double arg3 ;
14797 int arg4 = (int) 0 ;
14798 int arg5 = (int) 0 ;
14799 PyObject * obj0 = 0 ;
14800 char *kwnames[] = {
14801 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 Py_INCREF(Py_None); resultobj = Py_None;
14814 return resultobj;
14815 fail:
14816 return NULL;
14817}
14818
14819
14820static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14823 double arg2 ;
14824 double arg3 ;
14825 int arg4 = (int) 0 ;
14826 int arg5 = (int) 0 ;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
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
14848static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14851 bool arg2 ;
14852 double arg3 ;
14853 double arg4 ;
14854 int arg5 = (int) 0 ;
14855 int arg6 = (int) 0 ;
14856 PyObject * obj0 = 0 ;
14857 PyObject * obj1 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14864 arg2 = PyInt_AsLong(obj1) ? true : false;
14865 if (PyErr_Occurred()) SWIG_fail;
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 Py_INCREF(Py_None); resultobj = Py_None;
14874 return resultobj;
14875 fail:
14876 return NULL;
14877}
14878
14879
14880static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj;
14882 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14883 double arg2 ;
14884 double arg3 ;
14885 int arg4 = (int) 0 ;
14886 int arg5 = (int) 0 ;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14897
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 Py_INCREF(Py_None); resultobj = Py_None;
14902 return resultobj;
14903 fail:
14904 return NULL;
14905}
14906
14907
14908static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14911 double arg2 ;
14912 double arg3 ;
14913 int arg4 = (int) 0 ;
14914 int arg5 = (int) 0 ;
14915 PyObject * obj0 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14925
14926 wxPyEndAllowThreads(__tstate);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 }
14929 Py_INCREF(Py_None); resultobj = Py_None;
14930 return resultobj;
14931 fail:
14932 return NULL;
14933}
14934
14935
14936static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14939 wxDC *arg2 = 0 ;
14940 double arg3 ;
14941 double arg4 ;
14942 double arg5 ;
14943 double arg6 ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14953 if (arg2 == NULL) {
14954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14955 }
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 Py_INCREF(Py_None); resultobj = Py_None;
14964 return resultobj;
14965 fail:
14966 return NULL;
14967}
14968
14969
14970static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14973 wxDC *arg2 = 0 ;
14974 PyObject * obj0 = 0 ;
14975 PyObject * obj1 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "self",(char *) "dc", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14983 if (arg2 == NULL) {
14984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14985 }
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 (arg1)->base_OnDrawControlPoints(*arg2);
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 Py_INCREF(Py_None); resultobj = Py_None;
14994 return resultobj;
14995 fail:
14996 return NULL;
14997}
14998
14999
15000static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15003 wxDC *arg2 = 0 ;
15004 PyObject * obj0 = 0 ;
15005 PyObject * obj1 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self",(char *) "dc", NULL
15008 };
15009
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
15011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15013 if (arg2 == NULL) {
15014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 (arg1)->base_OnEraseControlPoints(*arg2);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 Py_INCREF(Py_None); resultobj = Py_None;
15024 return resultobj;
15025 fail:
15026 return NULL;
15027}
15028
15029
15030static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15033 wxDC *arg2 = 0 ;
15034 bool arg3 = (bool) True ;
15035 PyObject * obj0 = 0 ;
15036 PyObject * obj1 = 0 ;
15037 PyObject * obj2 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
15043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15045 if (arg2 == NULL) {
15046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15047 }
15048 if (obj2) {
15049 arg3 = PyInt_AsLong(obj2) ? true : false;
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 (arg1)->base_OnMoveLink(*arg2,arg3);
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063}
15064
15065
15066static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15069 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15070 bool arg3 ;
15071 double arg4 ;
15072 double arg5 ;
15073 int arg6 = (int) 0 ;
15074 int arg7 = (int) 0 ;
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 PyObject * obj2 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
15083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15085 arg3 = PyInt_AsLong(obj2) ? true : false;
15086 if (PyErr_Occurred()) SWIG_fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 Py_INCREF(Py_None); resultobj = Py_None;
15095 return resultobj;
15096 fail:
15097 return NULL;
15098}
15099
15100
15101static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15104 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15105 double arg3 ;
15106 double arg4 ;
15107 int arg5 = (int) 0 ;
15108 int arg6 = (int) 0 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 Py_INCREF(Py_None); resultobj = Py_None;
15126 return resultobj;
15127 fail:
15128 return NULL;
15129}
15130
15131
15132static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj;
15134 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15135 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15136 double arg3 ;
15137 double arg4 ;
15138 int arg5 = (int) 0 ;
15139 int arg6 = (int) 0 ;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 Py_INCREF(Py_None); resultobj = Py_None;
15157 return resultobj;
15158 fail:
15159 return NULL;
15160}
15161
15162
15163static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15166 double arg2 ;
15167 double arg3 ;
15168 PyObject * obj0 = 0 ;
15169 char *kwnames[] = {
15170 (char *) "self",(char *) "w",(char *) "h", NULL
15171 };
15172
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 (arg1)->base_OnBeginSize(arg2,arg3);
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 Py_INCREF(Py_None); resultobj = Py_None;
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
15189static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15192 double arg2 ;
15193 double arg3 ;
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self",(char *) "w",(char *) "h", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 (arg1)->base_OnEndSize(arg2,arg3);
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 Py_INCREF(Py_None); resultobj = Py_None;
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
15216 PyObject *obj;
15217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15218 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
15219 Py_INCREF(obj);
15220 return Py_BuildValue((char *)"");
15221}
15222static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj;
15224 double arg1 = (double) 0.0 ;
15225 double arg2 = (double) 0.0 ;
15226 wxPyDividedShape *result;
15227 char *kwnames[] = {
15228 (char *) "width",(char *) "height", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyDividedShape",kwnames,&arg1,&arg2)) goto fail;
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
15235
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
15240 return resultobj;
15241 fail:
15242 return NULL;
15243}
15244
15245
15246static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15249 PyObject *arg2 = (PyObject *) 0 ;
15250 PyObject *arg3 = (PyObject *) 0 ;
15251 PyObject * obj0 = 0 ;
15252 PyObject * obj1 = 0 ;
15253 PyObject * obj2 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self",(char *) "self",(char *) "_class", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15260 arg2 = obj1;
15261 arg3 = obj2;
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->_setCallbackInfo(arg2,arg3);
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 Py_INCREF(Py_None); resultobj = Py_None;
15270 return resultobj;
15271 fail:
15272 return NULL;
15273}
15274
15275
15276static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
15277 PyObject *resultobj;
15278 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 (arg1)->EditRegions();
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
15300static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15303 PyObject * obj0 = 0 ;
15304 char *kwnames[] = {
15305 (char *) "self", NULL
15306 };
15307
15308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
15309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 (arg1)->SetRegionSizes();
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 Py_INCREF(Py_None); resultobj = Py_None;
15318 return resultobj;
15319 fail:
15320 return NULL;
15321}
15322
15323
15324static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 (arg1)->base_OnDelete();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 Py_INCREF(Py_None); resultobj = Py_None;
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15351 wxDC *arg2 = 0 ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self",(char *) "dc", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15361 if (arg2 == NULL) {
15362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15363 }
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->base_OnDraw(*arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 return resultobj;
15373 fail:
15374 return NULL;
15375}
15376
15377
15378static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15381 wxDC *arg2 = 0 ;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self",(char *) "dc", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 if (arg2 == NULL) {
15392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15393 }
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 (arg1)->base_OnDrawContents(*arg2);
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 Py_INCREF(Py_None); resultobj = Py_None;
15402 return resultobj;
15403 fail:
15404 return NULL;
15405}
15406
15407
15408static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15411 wxDC *arg2 = 0 ;
15412 bool arg3 = (bool) FALSE ;
15413 PyObject * obj0 = 0 ;
15414 PyObject * obj1 = 0 ;
15415 PyObject * obj2 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self",(char *) "dc",(char *) "erase", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15423 if (arg2 == NULL) {
15424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15425 }
15426 if (obj2) {
15427 arg3 = PyInt_AsLong(obj2) ? true : false;
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 PyThreadState* __tstate = wxPyBeginAllowThreads();
15432 (arg1)->base_OnDrawBranches(*arg2,arg3);
15433
15434 wxPyEndAllowThreads(__tstate);
15435 if (PyErr_Occurred()) SWIG_fail;
15436 }
15437 Py_INCREF(Py_None); resultobj = Py_None;
15438 return resultobj;
15439 fail:
15440 return NULL;
15441}
15442
15443
15444static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15445 PyObject *resultobj;
15446 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15447 wxDC *arg2 = 0 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 char *kwnames[] = {
15451 (char *) "self",(char *) "dc", NULL
15452 };
15453
15454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15457 if (arg2 == NULL) {
15458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15459 }
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 (arg1)->base_OnMoveLinks(*arg2);
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 Py_INCREF(Py_None); resultobj = Py_None;
15468 return resultobj;
15469 fail:
15470 return NULL;
15471}
15472
15473
15474static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15477 wxDC *arg2 = 0 ;
15478 PyObject * obj0 = 0 ;
15479 PyObject * obj1 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self",(char *) "dc", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15487 if (arg2 == NULL) {
15488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15489 }
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 (arg1)->base_OnErase(*arg2);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 Py_INCREF(Py_None); resultobj = Py_None;
15498 return resultobj;
15499 fail:
15500 return NULL;
15501}
15502
15503
15504static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15507 wxDC *arg2 = 0 ;
15508 PyObject * obj0 = 0 ;
15509 PyObject * obj1 = 0 ;
15510 char *kwnames[] = {
15511 (char *) "self",(char *) "dc", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15517 if (arg2 == NULL) {
15518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15519 }
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 (arg1)->base_OnEraseContents(*arg2);
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 Py_INCREF(Py_None); resultobj = Py_None;
15528 return resultobj;
15529 fail:
15530 return NULL;
15531}
15532
15533
15534static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15537 wxDC *arg2 = 0 ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "dc", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15547 if (arg2 == NULL) {
15548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15549 }
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 (arg1)->base_OnHighlight(*arg2);
15553
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
15557 Py_INCREF(Py_None); resultobj = Py_None;
15558 return resultobj;
15559 fail:
15560 return NULL;
15561}
15562
15563
15564static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15567 double arg2 ;
15568 double arg3 ;
15569 int arg4 = (int) 0 ;
15570 int arg5 = (int) 0 ;
15571 PyObject * obj0 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589}
15590
15591
15592static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15595 double arg2 ;
15596 double arg3 ;
15597 int arg4 = (int) 0 ;
15598 int arg5 = (int) 0 ;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 Py_INCREF(Py_None); resultobj = Py_None;
15614 return resultobj;
15615 fail:
15616 return NULL;
15617}
15618
15619
15620static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15623 double arg2 ;
15624 double arg3 ;
15625 int arg4 = (int) 0 ;
15626 int arg5 = (int) 0 ;
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 Py_INCREF(Py_None); resultobj = Py_None;
15642 return resultobj;
15643 fail:
15644 return NULL;
15645}
15646
15647
15648static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15651 double arg2 ;
15652 double arg3 ;
15653 PyObject * obj0 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self",(char *) "x",(char *) "y", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 (arg1)->base_OnSize(arg2,arg3);
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 Py_INCREF(Py_None); resultobj = Py_None;
15668 return resultobj;
15669 fail:
15670 return NULL;
15671}
15672
15673
15674static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15677 wxDC *arg2 = 0 ;
15678 double arg3 ;
15679 double arg4 ;
15680 double arg5 ;
15681 double arg6 ;
15682 bool arg7 = (bool) True ;
15683 bool result;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 PyObject * obj6 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 if (arg2 == NULL) {
15695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15696 }
15697 if (obj6) {
15698 arg7 = PyInt_AsLong(obj6) ? true : false;
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 resultobj = PyInt_FromLong((long)result);
15709 return resultobj;
15710 fail:
15711 return NULL;
15712}
15713
15714
15715static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15718 wxDC *arg2 = 0 ;
15719 double arg3 ;
15720 double arg4 ;
15721 double arg5 ;
15722 double arg6 ;
15723 bool arg7 = (bool) True ;
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 PyObject * obj6 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 if (arg2 == NULL) {
15735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15736 }
15737 if (obj6) {
15738 arg7 = PyInt_AsLong(obj6) ? true : false;
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 {
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
15744
15745 wxPyEndAllowThreads(__tstate);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
15748 Py_INCREF(Py_None); resultobj = Py_None;
15749 return resultobj;
15750 fail:
15751 return NULL;
15752}
15753
15754
15755static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15756 PyObject *resultobj;
15757 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15758 bool arg2 ;
15759 double arg3 ;
15760 double arg4 ;
15761 int arg5 = (int) 0 ;
15762 int arg6 = (int) 0 ;
15763 PyObject * obj0 = 0 ;
15764 PyObject * obj1 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15771 arg2 = PyInt_AsLong(obj1) ? true : false;
15772 if (PyErr_Occurred()) SWIG_fail;
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 Py_INCREF(Py_None); resultobj = Py_None;
15781 return resultobj;
15782 fail:
15783 return NULL;
15784}
15785
15786
15787static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj;
15789 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15790 double arg2 ;
15791 double arg3 ;
15792 int arg4 = (int) 0 ;
15793 int arg5 = (int) 0 ;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
15815static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15818 double arg2 ;
15819 double arg3 ;
15820 int arg4 = (int) 0 ;
15821 int arg5 = (int) 0 ;
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
15832
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 Py_INCREF(Py_None); resultobj = Py_None;
15837 return resultobj;
15838 fail:
15839 return NULL;
15840}
15841
15842
15843static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15844 PyObject *resultobj;
15845 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15846 bool arg2 ;
15847 double arg3 ;
15848 double arg4 ;
15849 int arg5 = (int) 0 ;
15850 int arg6 = (int) 0 ;
15851 PyObject * obj0 = 0 ;
15852 PyObject * obj1 = 0 ;
15853 char *kwnames[] = {
15854 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15855 };
15856
15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15859 arg2 = PyInt_AsLong(obj1) ? true : false;
15860 if (PyErr_Occurred()) SWIG_fail;
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 Py_INCREF(Py_None); resultobj = Py_None;
15869 return resultobj;
15870 fail:
15871 return NULL;
15872}
15873
15874
15875static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15878 double arg2 ;
15879 double arg3 ;
15880 int arg4 = (int) 0 ;
15881 int arg5 = (int) 0 ;
15882 PyObject * obj0 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15885 };
15886
15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 Py_INCREF(Py_None); resultobj = Py_None;
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
15903static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj;
15905 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15906 double arg2 ;
15907 double arg3 ;
15908 int arg4 = (int) 0 ;
15909 int arg5 = (int) 0 ;
15910 PyObject * obj0 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 Py_INCREF(Py_None); resultobj = Py_None;
15925 return resultobj;
15926 fail:
15927 return NULL;
15928}
15929
15930
15931static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
15932 PyObject *resultobj;
15933 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15934 wxDC *arg2 = 0 ;
15935 double arg3 ;
15936 double arg4 ;
15937 double arg5 ;
15938 double arg6 ;
15939 PyObject * obj0 = 0 ;
15940 PyObject * obj1 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15948 if (arg2 == NULL) {
15949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15950 }
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 Py_INCREF(Py_None); resultobj = Py_None;
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
15965static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15968 wxDC *arg2 = 0 ;
15969 PyObject * obj0 = 0 ;
15970 PyObject * obj1 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "self",(char *) "dc", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
15976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15978 if (arg2 == NULL) {
15979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15980 }
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 (arg1)->base_OnDrawControlPoints(*arg2);
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 Py_INCREF(Py_None); resultobj = Py_None;
15989 return resultobj;
15990 fail:
15991 return NULL;
15992}
15993
15994
15995static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15998 wxDC *arg2 = 0 ;
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "dc", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16008 if (arg2 == NULL) {
16009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->base_OnEraseControlPoints(*arg2);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 return resultobj;
16020 fail:
16021 return NULL;
16022}
16023
16024
16025static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16028 wxDC *arg2 = 0 ;
16029 bool arg3 = (bool) True ;
16030 PyObject * obj0 = 0 ;
16031 PyObject * obj1 = 0 ;
16032 PyObject * obj2 = 0 ;
16033 char *kwnames[] = {
16034 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16035 };
16036
16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16040 if (arg2 == NULL) {
16041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16042 }
16043 if (obj2) {
16044 arg3 = PyInt_AsLong(obj2) ? true : false;
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->base_OnMoveLink(*arg2,arg3);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 Py_INCREF(Py_None); resultobj = Py_None;
16055 return resultobj;
16056 fail:
16057 return NULL;
16058}
16059
16060
16061static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16064 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16065 bool arg3 ;
16066 double arg4 ;
16067 double arg5 ;
16068 int arg6 = (int) 0 ;
16069 int arg7 = (int) 0 ;
16070 PyObject * obj0 = 0 ;
16071 PyObject * obj1 = 0 ;
16072 PyObject * obj2 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 arg3 = PyInt_AsLong(obj2) ? true : false;
16081 if (PyErr_Occurred()) SWIG_fail;
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 Py_INCREF(Py_None); resultobj = Py_None;
16090 return resultobj;
16091 fail:
16092 return NULL;
16093}
16094
16095
16096static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16099 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16100 double arg3 ;
16101 double arg4 ;
16102 int arg5 = (int) 0 ;
16103 int arg6 = (int) 0 ;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 return resultobj;
16122 fail:
16123 return NULL;
16124}
16125
16126
16127static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16130 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16131 double arg3 ;
16132 double arg4 ;
16133 int arg5 = (int) 0 ;
16134 int arg6 = (int) 0 ;
16135 PyObject * obj0 = 0 ;
16136 PyObject * obj1 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16144 {
16145 PyThreadState* __tstate = wxPyBeginAllowThreads();
16146 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 Py_INCREF(Py_None); resultobj = Py_None;
16152 return resultobj;
16153 fail:
16154 return NULL;
16155}
16156
16157
16158static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16161 double arg2 ;
16162 double arg3 ;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self",(char *) "w",(char *) "h", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 (arg1)->base_OnBeginSize(arg2,arg3);
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 Py_INCREF(Py_None); resultobj = Py_None;
16178 return resultobj;
16179 fail:
16180 return NULL;
16181}
16182
16183
16184static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj;
16186 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16187 double arg2 ;
16188 double arg3 ;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "w",(char *) "h", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 (arg1)->base_OnEndSize(arg2,arg3);
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 Py_INCREF(Py_None); resultobj = Py_None;
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
16210static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
16211 PyObject *obj;
16212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16213 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
16214 Py_INCREF(obj);
16215 return Py_BuildValue((char *)"");
16216}
16217static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
16218 PyObject *resultobj;
16219 wxPyDivisionShape *result;
16220 char *kwnames[] = {
16221 NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (wxPyDivisionShape *)new wxPyDivisionShape();
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233 resultobj = wxPyMake_wxShapeEvtHandler(result);
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238}
16239
16240
16241static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16244 PyObject *arg2 = (PyObject *) 0 ;
16245 PyObject *arg3 = (PyObject *) 0 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 PyObject * obj2 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self",(char *) "self",(char *) "_class", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16255 arg2 = obj1;
16256 arg3 = obj2;
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 (arg1)->_setCallbackInfo(arg2,arg3);
16260
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 Py_INCREF(Py_None); resultobj = Py_None;
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
16271static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16274 double arg2 ;
16275 bool arg3 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj2 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "bottom",(char *) "test", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&arg2,&obj2)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16284 arg3 = PyInt_AsLong(obj2) ? true : false;
16285 if (PyErr_Occurred()) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 (arg1)->AdjustBottom(arg2,arg3);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 Py_INCREF(Py_None); resultobj = Py_None;
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
16300static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16303 double arg2 ;
16304 bool arg3 ;
16305 PyObject * obj0 = 0 ;
16306 PyObject * obj2 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self",(char *) "left",(char *) "test", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&arg2,&obj2)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16313 arg3 = PyInt_AsLong(obj2) ? true : false;
16314 if (PyErr_Occurred()) SWIG_fail;
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->AdjustLeft(arg2,arg3);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16332 double arg2 ;
16333 bool arg3 ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj2 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "right",(char *) "test", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames,&obj0,&arg2,&obj2)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 arg3 = PyInt_AsLong(obj2) ? true : false;
16343 if (PyErr_Occurred()) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 (arg1)->AdjustRight(arg2,arg3);
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
16358static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16361 double arg2 ;
16362 bool arg3 ;
16363 PyObject * obj0 = 0 ;
16364 PyObject * obj2 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self",(char *) "top",(char *) "test", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames,&obj0,&arg2,&obj2)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 arg3 = PyInt_AsLong(obj2) ? true : false;
16372 if (PyErr_Occurred()) SWIG_fail;
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 (arg1)->AdjustTop(arg2,arg3);
16376
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 Py_INCREF(Py_None); resultobj = Py_None;
16381 return resultobj;
16382 fail:
16383 return NULL;
16384}
16385
16386
16387static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj;
16389 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16390 int arg2 ;
16391 PyObject * obj0 = 0 ;
16392 char *kwnames[] = {
16393 (char *) "self",(char *) "direction", NULL
16394 };
16395
16396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_Divide",kwnames,&obj0,&arg2)) goto fail;
16397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 (arg1)->Divide(arg2);
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 Py_INCREF(Py_None); resultobj = Py_None;
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
16412static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16415 int arg2 ;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self",(char *) "side", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_EditEdge",kwnames,&obj0,&arg2)) goto fail;
16422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 (arg1)->EditEdge(arg2);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 Py_INCREF(Py_None); resultobj = Py_None;
16431 return resultobj;
16432 fail:
16433 return NULL;
16434}
16435
16436
16437static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16440 wxPyDivisionShape *result;
16441 PyObject * obj0 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 {
16456 resultobj = wxPyMake_wxShapeEvtHandler(result);
16457 }
16458 return resultobj;
16459 fail:
16460 return NULL;
16461}
16462
16463
16464static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16467 int result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (int)(arg1)->GetHandleSide();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 resultobj = PyInt_FromLong((long)result);
16483 return resultobj;
16484 fail:
16485 return NULL;
16486}
16487
16488
16489static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16492 wxPyDivisionShape *result;
16493 PyObject * obj0 = 0 ;
16494 char *kwnames[] = {
16495 (char *) "self", NULL
16496 };
16497
16498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
16499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 {
16508 resultobj = wxPyMake_wxShapeEvtHandler(result);
16509 }
16510 return resultobj;
16511 fail:
16512 return NULL;
16513}
16514
16515
16516static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16517 PyObject *resultobj;
16518 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16519 wxString result;
16520 PyObject * obj0 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = (arg1)->GetLeftSideColour();
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535#if wxUSE_UNICODE
16536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16537#else
16538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16539#endif
16540 }
16541 return resultobj;
16542 fail:
16543 return NULL;
16544}
16545
16546
16547static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16550 wxPen *result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (wxPen *)(arg1)->GetLeftSidePen();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16566 return resultobj;
16567 fail:
16568 return NULL;
16569}
16570
16571
16572static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16575 wxPyDivisionShape *result;
16576 PyObject * obj0 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 {
16591 resultobj = wxPyMake_wxShapeEvtHandler(result);
16592 }
16593 return resultobj;
16594 fail:
16595 return NULL;
16596}
16597
16598
16599static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16602 wxPyDivisionShape *result;
16603 PyObject * obj0 = 0 ;
16604 char *kwnames[] = {
16605 (char *) "self", NULL
16606 };
16607
16608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
16609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 {
16618 resultobj = wxPyMake_wxShapeEvtHandler(result);
16619 }
16620 return resultobj;
16621 fail:
16622 return NULL;
16623}
16624
16625
16626static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16627 PyObject *resultobj;
16628 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16629 wxPen *result;
16630 PyObject * obj0 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 result = (wxPen *)(arg1)->GetTopSidePen();
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16645 return resultobj;
16646 fail:
16647 return NULL;
16648}
16649
16650
16651static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16654 int arg2 ;
16655 double arg3 ;
16656 bool arg4 ;
16657 PyObject * obj0 = 0 ;
16658 PyObject * obj3 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16665 arg4 = PyInt_AsLong(obj3) ? true : false;
16666 if (PyErr_Occurred()) SWIG_fail;
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 Py_INCREF(Py_None); resultobj = Py_None;
16675 return resultobj;
16676 fail:
16677 return NULL;
16678}
16679
16680
16681static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16684 double arg2 ;
16685 double arg3 ;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self",(char *) "x",(char *) "y", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames,&obj0,&arg2,&arg3)) goto fail;
16692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 (arg1)->PopupMenu(arg2,arg3);
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 Py_INCREF(Py_None); resultobj = Py_None;
16701 return resultobj;
16702 fail:
16703 return NULL;
16704}
16705
16706
16707static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16710 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "shape", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 (arg1)->SetBottomSide(arg2);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 Py_INCREF(Py_None); resultobj = Py_None;
16728 return resultobj;
16729 fail:
16730 return NULL;
16731}
16732
16733
16734static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16737 int arg2 ;
16738 PyObject * obj0 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self",(char *) "side", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames,&obj0,&arg2)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->SetHandleSide(arg2);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756}
16757
16758
16759static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16762 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self",(char *) "shape", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
16770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->SetLeftSide(arg2);
16775
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 Py_INCREF(Py_None); resultobj = Py_None;
16780 return resultobj;
16781 fail:
16782 return NULL;
16783}
16784
16785
16786static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16789 wxString *arg2 = 0 ;
16790 bool temp2 = False ;
16791 PyObject * obj0 = 0 ;
16792 PyObject * obj1 = 0 ;
16793 char *kwnames[] = {
16794 (char *) "self",(char *) "colour", NULL
16795 };
16796
16797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
16798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16799 {
16800 arg2 = wxString_in_helper(obj1);
16801 if (arg2 == NULL) SWIG_fail;
16802 temp2 = True;
16803 }
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 (arg1)->SetLeftSideColour((wxString const &)*arg2);
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 Py_INCREF(Py_None); resultobj = Py_None;
16812 {
16813 if (temp2)
16814 delete arg2;
16815 }
16816 return resultobj;
16817 fail:
16818 {
16819 if (temp2)
16820 delete arg2;
16821 }
16822 return NULL;
16823}
16824
16825
16826static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16829 wxPen *arg2 = (wxPen *) 0 ;
16830 PyObject * obj0 = 0 ;
16831 PyObject * obj1 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self",(char *) "pen", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16838 {
16839 wxPen* temp;
16840 if (obj1) {
16841 if (obj1 == Py_None) {
16842 temp = NULL;
16843 }
16844 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16845 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16846 return NULL;
16847 }
16848 }
16849 if (temp)
16850 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
16851 temp->GetWidth(),
16852 temp->GetStyle());
16853 else
16854 arg2 = NULL;
16855 }
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->SetLeftSidePen(arg2);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 Py_INCREF(Py_None); resultobj = Py_None;
16864 return resultobj;
16865 fail:
16866 return NULL;
16867}
16868
16869
16870static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16873 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16874 PyObject * obj0 = 0 ;
16875 PyObject * obj1 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "shape", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 (arg1)->SetRightSide(arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 Py_INCREF(Py_None); resultobj = Py_None;
16891 return resultobj;
16892 fail:
16893 return NULL;
16894}
16895
16896
16897static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16900 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "shape", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 (arg1)->SetTopSide(arg2);
16913
16914 wxPyEndAllowThreads(__tstate);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 Py_INCREF(Py_None); resultobj = Py_None;
16918 return resultobj;
16919 fail:
16920 return NULL;
16921}
16922
16923
16924static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16925 PyObject *resultobj;
16926 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16927 wxString *arg2 = 0 ;
16928 bool temp2 = False ;
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self",(char *) "colour", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16937 {
16938 arg2 = wxString_in_helper(obj1);
16939 if (arg2 == NULL) SWIG_fail;
16940 temp2 = True;
16941 }
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 (arg1)->SetTopSideColour((wxString const &)*arg2);
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 Py_INCREF(Py_None); resultobj = Py_None;
16950 {
16951 if (temp2)
16952 delete arg2;
16953 }
16954 return resultobj;
16955 fail:
16956 {
16957 if (temp2)
16958 delete arg2;
16959 }
16960 return NULL;
16961}
16962
16963
16964static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16967 wxPen *arg2 = (wxPen *) 0 ;
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "pen", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
16975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16976 {
16977 wxPen* temp;
16978 if (obj1) {
16979 if (obj1 == Py_None) {
16980 temp = NULL;
16981 }
16982 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16983 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16984 return NULL;
16985 }
16986 }
16987 if (temp)
16988 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
16989 temp->GetWidth(),
16990 temp->GetStyle());
16991 else
16992 arg2 = NULL;
16993 }
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 (arg1)->SetTopSidePen(arg2);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 Py_INCREF(Py_None); resultobj = Py_None;
17002 return resultobj;
17003 fail:
17004 return NULL;
17005}
17006
17007
17008static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->base_OnDelete();
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 Py_INCREF(Py_None); resultobj = Py_None;
17026 return resultobj;
17027 fail:
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17035 wxDC *arg2 = 0 ;
17036 PyObject * obj0 = 0 ;
17037 PyObject * obj1 = 0 ;
17038 char *kwnames[] = {
17039 (char *) "self",(char *) "dc", NULL
17040 };
17041
17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17045 if (arg2 == NULL) {
17046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17047 }
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 (arg1)->base_OnDraw(*arg2);
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 Py_INCREF(Py_None); resultobj = Py_None;
17056 return resultobj;
17057 fail:
17058 return NULL;
17059}
17060
17061
17062static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17065 wxDC *arg2 = 0 ;
17066 PyObject * obj0 = 0 ;
17067 PyObject * obj1 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self",(char *) "dc", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 if (arg2 == NULL) {
17076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17077 }
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 (arg1)->base_OnDrawContents(*arg2);
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 Py_INCREF(Py_None); resultobj = Py_None;
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17095 wxDC *arg2 = 0 ;
17096 bool arg3 = (bool) FALSE ;
17097 PyObject * obj0 = 0 ;
17098 PyObject * obj1 = 0 ;
17099 PyObject * obj2 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self",(char *) "dc",(char *) "erase", NULL
17102 };
17103
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17107 if (arg2 == NULL) {
17108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17109 }
17110 if (obj2) {
17111 arg3 = PyInt_AsLong(obj2) ? true : false;
17112 if (PyErr_Occurred()) SWIG_fail;
17113 }
17114 {
17115 PyThreadState* __tstate = wxPyBeginAllowThreads();
17116 (arg1)->base_OnDrawBranches(*arg2,arg3);
17117
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 Py_INCREF(Py_None); resultobj = Py_None;
17122 return resultobj;
17123 fail:
17124 return NULL;
17125}
17126
17127
17128static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17131 wxDC *arg2 = 0 ;
17132 PyObject * obj0 = 0 ;
17133 PyObject * obj1 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self",(char *) "dc", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17141 if (arg2 == NULL) {
17142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17143 }
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 (arg1)->base_OnMoveLinks(*arg2);
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 Py_INCREF(Py_None); resultobj = Py_None;
17152 return resultobj;
17153 fail:
17154 return NULL;
17155}
17156
17157
17158static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17161 wxDC *arg2 = 0 ;
17162 PyObject * obj0 = 0 ;
17163 PyObject * obj1 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self",(char *) "dc", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17171 if (arg2 == NULL) {
17172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17173 }
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 (arg1)->base_OnErase(*arg2);
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 Py_INCREF(Py_None); resultobj = Py_None;
17182 return resultobj;
17183 fail:
17184 return NULL;
17185}
17186
17187
17188static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17191 wxDC *arg2 = 0 ;
17192 PyObject * obj0 = 0 ;
17193 PyObject * obj1 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self",(char *) "dc", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17201 if (arg2 == NULL) {
17202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17203 }
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 (arg1)->base_OnEraseContents(*arg2);
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 Py_INCREF(Py_None); resultobj = Py_None;
17212 return resultobj;
17213 fail:
17214 return NULL;
17215}
17216
17217
17218static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17221 wxDC *arg2 = 0 ;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "dc", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17231 if (arg2 == NULL) {
17232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17233 }
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 (arg1)->base_OnHighlight(*arg2);
17237
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 Py_INCREF(Py_None); resultobj = Py_None;
17242 return resultobj;
17243 fail:
17244 return NULL;
17245}
17246
17247
17248static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17251 double arg2 ;
17252 double arg3 ;
17253 int arg4 = (int) 0 ;
17254 int arg5 = (int) 0 ;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 Py_INCREF(Py_None); resultobj = Py_None;
17270 return resultobj;
17271 fail:
17272 return NULL;
17273}
17274
17275
17276static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17279 double arg2 ;
17280 double arg3 ;
17281 int arg4 = (int) 0 ;
17282 int arg5 = (int) 0 ;
17283 PyObject * obj0 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 Py_INCREF(Py_None); resultobj = Py_None;
17298 return resultobj;
17299 fail:
17300 return NULL;
17301}
17302
17303
17304static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17307 double arg2 ;
17308 double arg3 ;
17309 int arg4 = (int) 0 ;
17310 int arg5 = (int) 0 ;
17311 PyObject * obj0 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
17320 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17321
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 Py_INCREF(Py_None); resultobj = Py_None;
17326 return resultobj;
17327 fail:
17328 return NULL;
17329}
17330
17331
17332static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17335 double arg2 ;
17336 double arg3 ;
17337 PyObject * obj0 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self",(char *) "x",(char *) "y", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 (arg1)->base_OnSize(arg2,arg3);
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 Py_INCREF(Py_None); resultobj = Py_None;
17352 return resultobj;
17353 fail:
17354 return NULL;
17355}
17356
17357
17358static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17361 wxDC *arg2 = 0 ;
17362 double arg3 ;
17363 double arg4 ;
17364 double arg5 ;
17365 double arg6 ;
17366 bool arg7 = (bool) True ;
17367 bool result;
17368 PyObject * obj0 = 0 ;
17369 PyObject * obj1 = 0 ;
17370 PyObject * obj6 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 if (arg2 == NULL) {
17379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17380 }
17381 if (obj6) {
17382 arg7 = PyInt_AsLong(obj6) ? true : false;
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 resultobj = PyInt_FromLong((long)result);
17393 return resultobj;
17394 fail:
17395 return NULL;
17396}
17397
17398
17399static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17402 wxDC *arg2 = 0 ;
17403 double arg3 ;
17404 double arg4 ;
17405 double arg5 ;
17406 double arg6 ;
17407 bool arg7 = (bool) True ;
17408 PyObject * obj0 = 0 ;
17409 PyObject * obj1 = 0 ;
17410 PyObject * obj6 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 if (arg2 == NULL) {
17419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17420 }
17421 if (obj6) {
17422 arg7 = PyInt_AsLong(obj6) ? true : false;
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
17432 Py_INCREF(Py_None); resultobj = Py_None;
17433 return resultobj;
17434 fail:
17435 return NULL;
17436}
17437
17438
17439static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17440 PyObject *resultobj;
17441 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17442 bool arg2 ;
17443 double arg3 ;
17444 double arg4 ;
17445 int arg5 = (int) 0 ;
17446 int arg6 = (int) 0 ;
17447 PyObject * obj0 = 0 ;
17448 PyObject * obj1 = 0 ;
17449 char *kwnames[] = {
17450 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17451 };
17452
17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17455 arg2 = PyInt_AsLong(obj1) ? true : false;
17456 if (PyErr_Occurred()) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 Py_INCREF(Py_None); resultobj = Py_None;
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
17471static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17474 double arg2 ;
17475 double arg3 ;
17476 int arg4 = (int) 0 ;
17477 int arg5 = (int) 0 ;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 Py_INCREF(Py_None); resultobj = Py_None;
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
17499static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17502 double arg2 ;
17503 double arg3 ;
17504 int arg4 = (int) 0 ;
17505 int arg5 = (int) 0 ;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 Py_INCREF(Py_None); resultobj = Py_None;
17521 return resultobj;
17522 fail:
17523 return NULL;
17524}
17525
17526
17527static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17530 bool arg2 ;
17531 double arg3 ;
17532 double arg4 ;
17533 int arg5 = (int) 0 ;
17534 int arg6 = (int) 0 ;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 arg2 = PyInt_AsLong(obj1) ? true : false;
17544 if (PyErr_Occurred()) SWIG_fail;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 Py_INCREF(Py_None); resultobj = Py_None;
17553 return resultobj;
17554 fail:
17555 return NULL;
17556}
17557
17558
17559static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17562 double arg2 ;
17563 double arg3 ;
17564 int arg4 = (int) 0 ;
17565 int arg5 = (int) 0 ;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
17587static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17590 double arg2 ;
17591 double arg3 ;
17592 int arg4 = (int) 0 ;
17593 int arg5 = (int) 0 ;
17594 PyObject * obj0 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 Py_INCREF(Py_None); resultobj = Py_None;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
17615static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj;
17617 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17618 wxDC *arg2 = 0 ;
17619 double arg3 ;
17620 double arg4 ;
17621 double arg5 ;
17622 double arg6 ;
17623 PyObject * obj0 = 0 ;
17624 PyObject * obj1 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17632 if (arg2 == NULL) {
17633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17634 }
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 Py_INCREF(Py_None); resultobj = Py_None;
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
17649static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17652 wxDC *arg2 = 0 ;
17653 PyObject * obj0 = 0 ;
17654 PyObject * obj1 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "dc", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17662 if (arg2 == NULL) {
17663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17664 }
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 (arg1)->base_OnDrawControlPoints(*arg2);
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 Py_INCREF(Py_None); resultobj = Py_None;
17673 return resultobj;
17674 fail:
17675 return NULL;
17676}
17677
17678
17679static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17682 wxDC *arg2 = 0 ;
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self",(char *) "dc", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 if (arg2 == NULL) {
17693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17694 }
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 (arg1)->base_OnEraseControlPoints(*arg2);
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 Py_INCREF(Py_None); resultobj = Py_None;
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
17709static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17712 wxDC *arg2 = 0 ;
17713 bool arg3 = (bool) True ;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 PyObject * obj2 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 if (arg2 == NULL) {
17725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17726 }
17727 if (obj2) {
17728 arg3 = PyInt_AsLong(obj2) ? true : false;
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 (arg1)->base_OnMoveLink(*arg2,arg3);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 Py_INCREF(Py_None); resultobj = Py_None;
17739 return resultobj;
17740 fail:
17741 return NULL;
17742}
17743
17744
17745static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17748 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17749 bool arg3 ;
17750 double arg4 ;
17751 double arg5 ;
17752 int arg6 = (int) 0 ;
17753 int arg7 = (int) 0 ;
17754 PyObject * obj0 = 0 ;
17755 PyObject * obj1 = 0 ;
17756 PyObject * obj2 = 0 ;
17757 char *kwnames[] = {
17758 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17759 };
17760
17761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 arg3 = PyInt_AsLong(obj2) ? true : false;
17765 if (PyErr_Occurred()) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 Py_INCREF(Py_None); resultobj = Py_None;
17774 return resultobj;
17775 fail:
17776 return NULL;
17777}
17778
17779
17780static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17783 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17784 double arg3 ;
17785 double arg4 ;
17786 int arg5 = (int) 0 ;
17787 int arg6 = (int) 0 ;
17788 PyObject * obj0 = 0 ;
17789 PyObject * obj1 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 Py_INCREF(Py_None); resultobj = Py_None;
17805 return resultobj;
17806 fail:
17807 return NULL;
17808}
17809
17810
17811static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17814 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17815 double arg3 ;
17816 double arg4 ;
17817 int arg5 = (int) 0 ;
17818 int arg6 = (int) 0 ;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 Py_INCREF(Py_None); resultobj = Py_None;
17836 return resultobj;
17837 fail:
17838 return NULL;
17839}
17840
17841
17842static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17845 double arg2 ;
17846 double arg3 ;
17847 PyObject * obj0 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "w",(char *) "h", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 (arg1)->base_OnBeginSize(arg2,arg3);
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 Py_INCREF(Py_None); resultobj = Py_None;
17862 return resultobj;
17863 fail:
17864 return NULL;
17865}
17866
17867
17868static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17871 double arg2 ;
17872 double arg3 ;
17873 PyObject * obj0 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "w",(char *) "h", NULL
17876 };
17877
17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 (arg1)->base_OnEndSize(arg2,arg3);
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 Py_INCREF(Py_None); resultobj = Py_None;
17888 return resultobj;
17889 fail:
17890 return NULL;
17891}
17892
17893
17894static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
17895 PyObject *obj;
17896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
17898 Py_INCREF(obj);
17899 return Py_BuildValue((char *)"");
17900}
17901static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 double arg1 = (double) 0.0 ;
17904 double arg2 = (double) 0.0 ;
17905 wxPyEllipseShape *result;
17906 char *kwnames[] = {
17907 (char *) "width",(char *) "height", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyEllipseShape",kwnames,&arg1,&arg2)) goto fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
17919 return resultobj;
17920 fail:
17921 return NULL;
17922}
17923
17924
17925static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17928 PyObject *arg2 = (PyObject *) 0 ;
17929 PyObject *arg3 = (PyObject *) 0 ;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 PyObject * obj2 = 0 ;
17933 char *kwnames[] = {
17934 (char *) "self",(char *) "self",(char *) "_class", NULL
17935 };
17936
17937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17939 arg2 = obj1;
17940 arg3 = obj2;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 (arg1)->_setCallbackInfo(arg2,arg3);
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 Py_INCREF(Py_None); resultobj = Py_None;
17949 return resultobj;
17950 fail:
17951 return NULL;
17952}
17953
17954
17955static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17958 wxDC *arg2 = 0 ;
17959 PyObject * obj0 = 0 ;
17960 PyObject * obj1 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "dc", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17968 if (arg2 == NULL) {
17969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17970 }
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 (arg1)->base_OnDraw(*arg2);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 Py_INCREF(Py_None); resultobj = Py_None;
17979 return resultobj;
17980 fail:
17981 return NULL;
17982}
17983
17984
17985static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17988 wxDC *arg2 = 0 ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "self",(char *) "dc", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17998 if (arg2 == NULL) {
17999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 (arg1)->base_OnDrawContents(*arg2);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 return resultobj;
18010 fail:
18011 return NULL;
18012}
18013
18014
18015static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18018 wxDC *arg2 = 0 ;
18019 bool arg3 = (bool) FALSE ;
18020 PyObject * obj0 = 0 ;
18021 PyObject * obj1 = 0 ;
18022 PyObject * obj2 = 0 ;
18023 char *kwnames[] = {
18024 (char *) "self",(char *) "dc",(char *) "erase", NULL
18025 };
18026
18027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18030 if (arg2 == NULL) {
18031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18032 }
18033 if (obj2) {
18034 arg3 = PyInt_AsLong(obj2) ? true : false;
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->base_OnDrawBranches(*arg2,arg3);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 return resultobj;
18046 fail:
18047 return NULL;
18048}
18049
18050
18051static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18054 wxDC *arg2 = 0 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "dc", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 if (arg2 == NULL) {
18065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18066 }
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 (arg1)->base_OnMoveLinks(*arg2);
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 Py_INCREF(Py_None); resultobj = Py_None;
18075 return resultobj;
18076 fail:
18077 return NULL;
18078}
18079
18080
18081static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18082 PyObject *resultobj;
18083 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18084 wxDC *arg2 = 0 ;
18085 PyObject * obj0 = 0 ;
18086 PyObject * obj1 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "self",(char *) "dc", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18094 if (arg2 == NULL) {
18095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18096 }
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 (arg1)->base_OnErase(*arg2);
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 Py_INCREF(Py_None); resultobj = Py_None;
18105 return resultobj;
18106 fail:
18107 return NULL;
18108}
18109
18110
18111static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18114 wxDC *arg2 = 0 ;
18115 PyObject * obj0 = 0 ;
18116 PyObject * obj1 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "dc", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18124 if (arg2 == NULL) {
18125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18126 }
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 (arg1)->base_OnEraseContents(*arg2);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 Py_INCREF(Py_None); resultobj = Py_None;
18135 return resultobj;
18136 fail:
18137 return NULL;
18138}
18139
18140
18141static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18144 wxDC *arg2 = 0 ;
18145 PyObject * obj0 = 0 ;
18146 PyObject * obj1 = 0 ;
18147 char *kwnames[] = {
18148 (char *) "self",(char *) "dc", NULL
18149 };
18150
18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18154 if (arg2 == NULL) {
18155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18156 }
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->base_OnHighlight(*arg2);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168}
18169
18170
18171static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18174 double arg2 ;
18175 double arg3 ;
18176 int arg4 = (int) 0 ;
18177 int arg5 = (int) 0 ;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 Py_INCREF(Py_None); resultobj = Py_None;
18193 return resultobj;
18194 fail:
18195 return NULL;
18196}
18197
18198
18199static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18202 double arg2 ;
18203 double arg3 ;
18204 int arg4 = (int) 0 ;
18205 int arg5 = (int) 0 ;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 Py_INCREF(Py_None); resultobj = Py_None;
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj;
18229 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18230 double arg2 ;
18231 double arg3 ;
18232 int arg4 = (int) 0 ;
18233 int arg5 = (int) 0 ;
18234 PyObject * obj0 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 Py_INCREF(Py_None); resultobj = Py_None;
18249 return resultobj;
18250 fail:
18251 return NULL;
18252}
18253
18254
18255static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18256 PyObject *resultobj;
18257 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18258 double arg2 ;
18259 double arg3 ;
18260 PyObject * obj0 = 0 ;
18261 char *kwnames[] = {
18262 (char *) "self",(char *) "x",(char *) "y", NULL
18263 };
18264
18265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->base_OnSize(arg2,arg3);
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 Py_INCREF(Py_None); resultobj = Py_None;
18275 return resultobj;
18276 fail:
18277 return NULL;
18278}
18279
18280
18281static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18284 wxDC *arg2 = 0 ;
18285 double arg3 ;
18286 double arg4 ;
18287 double arg5 ;
18288 double arg6 ;
18289 bool arg7 = (bool) True ;
18290 bool result;
18291 PyObject * obj0 = 0 ;
18292 PyObject * obj1 = 0 ;
18293 PyObject * obj6 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18301 if (arg2 == NULL) {
18302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18303 }
18304 if (obj6) {
18305 arg7 = PyInt_AsLong(obj6) ? true : false;
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = PyInt_FromLong((long)result);
18316 return resultobj;
18317 fail:
18318 return NULL;
18319}
18320
18321
18322static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18325 wxDC *arg2 = 0 ;
18326 double arg3 ;
18327 double arg4 ;
18328 double arg5 ;
18329 double arg6 ;
18330 bool arg7 = (bool) True ;
18331 PyObject * obj0 = 0 ;
18332 PyObject * obj1 = 0 ;
18333 PyObject * obj6 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 if (arg2 == NULL) {
18342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18343 }
18344 if (obj6) {
18345 arg7 = PyInt_AsLong(obj6) ? true : false;
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 Py_INCREF(Py_None); resultobj = Py_None;
18356 return resultobj;
18357 fail:
18358 return NULL;
18359}
18360
18361
18362static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18365 bool arg2 ;
18366 double arg3 ;
18367 double arg4 ;
18368 int arg5 = (int) 0 ;
18369 int arg6 = (int) 0 ;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 arg2 = PyInt_AsLong(obj1) ? true : false;
18379 if (PyErr_Occurred()) SWIG_fail;
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18383
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 Py_INCREF(Py_None); resultobj = Py_None;
18388 return resultobj;
18389 fail:
18390 return NULL;
18391}
18392
18393
18394static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18397 double arg2 ;
18398 double arg3 ;
18399 int arg4 = (int) 0 ;
18400 int arg5 = (int) 0 ;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 Py_INCREF(Py_None); resultobj = Py_None;
18416 return resultobj;
18417 fail:
18418 return NULL;
18419}
18420
18421
18422static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18425 double arg2 ;
18426 double arg3 ;
18427 int arg4 = (int) 0 ;
18428 int arg5 = (int) 0 ;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 Py_INCREF(Py_None); resultobj = Py_None;
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
18450static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18453 bool arg2 ;
18454 double arg3 ;
18455 double arg4 ;
18456 int arg5 = (int) 0 ;
18457 int arg6 = (int) 0 ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18466 arg2 = PyInt_AsLong(obj1) ? true : false;
18467 if (PyErr_Occurred()) SWIG_fail;
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 Py_INCREF(Py_None); resultobj = Py_None;
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18485 double arg2 ;
18486 double arg3 ;
18487 int arg4 = (int) 0 ;
18488 int arg5 = (int) 0 ;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18513 double arg2 ;
18514 double arg3 ;
18515 int arg4 = (int) 0 ;
18516 int arg5 = (int) 0 ;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 Py_INCREF(Py_None); resultobj = Py_None;
18532 return resultobj;
18533 fail:
18534 return NULL;
18535}
18536
18537
18538static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18541 wxDC *arg2 = 0 ;
18542 double arg3 ;
18543 double arg4 ;
18544 double arg5 ;
18545 double arg6 ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj1 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18555 if (arg2 == NULL) {
18556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 Py_INCREF(Py_None); resultobj = Py_None;
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18575 wxDC *arg2 = 0 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self",(char *) "dc", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18585 if (arg2 == NULL) {
18586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18587 }
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->base_OnDrawControlPoints(*arg2);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599}
18600
18601
18602static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18605 wxDC *arg2 = 0 ;
18606 PyObject * obj0 = 0 ;
18607 PyObject * obj1 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self",(char *) "dc", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 if (arg2 == NULL) {
18616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18617 }
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->base_OnEraseControlPoints(*arg2);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
18632static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18635 wxDC *arg2 = 0 ;
18636 bool arg3 = (bool) True ;
18637 PyObject * obj0 = 0 ;
18638 PyObject * obj1 = 0 ;
18639 PyObject * obj2 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 if (arg2 == NULL) {
18648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18649 }
18650 if (obj2) {
18651 arg3 = PyInt_AsLong(obj2) ? true : false;
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 (arg1)->base_OnMoveLink(*arg2,arg3);
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 Py_INCREF(Py_None); resultobj = Py_None;
18662 return resultobj;
18663 fail:
18664 return NULL;
18665}
18666
18667
18668static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18671 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18672 bool arg3 ;
18673 double arg4 ;
18674 double arg5 ;
18675 int arg6 = (int) 0 ;
18676 int arg7 = (int) 0 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 PyObject * obj2 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 arg3 = PyInt_AsLong(obj2) ? true : false;
18688 if (PyErr_Occurred()) SWIG_fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 Py_INCREF(Py_None); resultobj = Py_None;
18697 return resultobj;
18698 fail:
18699 return NULL;
18700}
18701
18702
18703static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18706 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18707 double arg3 ;
18708 double arg4 ;
18709 int arg5 = (int) 0 ;
18710 int arg6 = (int) 0 ;
18711 PyObject * obj0 = 0 ;
18712 PyObject * obj1 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 Py_INCREF(Py_None); resultobj = Py_None;
18728 return resultobj;
18729 fail:
18730 return NULL;
18731}
18732
18733
18734static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18737 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18738 double arg3 ;
18739 double arg4 ;
18740 int arg5 = (int) 0 ;
18741 int arg6 = (int) 0 ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18746 };
18747
18748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 Py_INCREF(Py_None); resultobj = Py_None;
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
18765static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18768 double arg2 ;
18769 double arg3 ;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self",(char *) "w",(char *) "h", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->base_OnBeginSize(arg2,arg3);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
18791static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18794 double arg2 ;
18795 double arg3 ;
18796 PyObject * obj0 = 0 ;
18797 char *kwnames[] = {
18798 (char *) "self",(char *) "w",(char *) "h", NULL
18799 };
18800
18801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 (arg1)->base_OnEndSize(arg2,arg3);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 Py_INCREF(Py_None); resultobj = Py_None;
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
18817static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
18818 PyObject *obj;
18819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
18821 Py_INCREF(obj);
18822 return Py_BuildValue((char *)"");
18823}
18824static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 double arg1 = (double) 0.0 ;
18827 wxPyCircleShape *result;
18828 char *kwnames[] = {
18829 (char *) "width", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|d:new_PyCircleShape",kwnames,&arg1)) goto fail;
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
18841 return resultobj;
18842 fail:
18843 return NULL;
18844}
18845
18846
18847static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18850 PyObject *arg2 = (PyObject *) 0 ;
18851 PyObject *arg3 = (PyObject *) 0 ;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 PyObject * obj2 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self",(char *) "self",(char *) "_class", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18861 arg2 = obj1;
18862 arg3 = obj2;
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 (arg1)->_setCallbackInfo(arg2,arg3);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 Py_INCREF(Py_None); resultobj = Py_None;
18871 return resultobj;
18872 fail:
18873 return NULL;
18874}
18875
18876
18877static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18880 wxDC *arg2 = 0 ;
18881 PyObject * obj0 = 0 ;
18882 PyObject * obj1 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "dc", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 if (arg2 == NULL) {
18891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18892 }
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 (arg1)->base_OnDraw(*arg2);
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 Py_INCREF(Py_None); resultobj = Py_None;
18901 return resultobj;
18902 fail:
18903 return NULL;
18904}
18905
18906
18907static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18910 wxDC *arg2 = 0 ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "dc", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 if (arg2 == NULL) {
18921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18922 }
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 (arg1)->base_OnDrawContents(*arg2);
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 Py_INCREF(Py_None); resultobj = Py_None;
18931 return resultobj;
18932 fail:
18933 return NULL;
18934}
18935
18936
18937static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj;
18939 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18940 wxDC *arg2 = 0 ;
18941 bool arg3 = (bool) FALSE ;
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 PyObject * obj2 = 0 ;
18945 char *kwnames[] = {
18946 (char *) "self",(char *) "dc",(char *) "erase", NULL
18947 };
18948
18949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18952 if (arg2 == NULL) {
18953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18954 }
18955 if (obj2) {
18956 arg3 = PyInt_AsLong(obj2) ? true : false;
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 (arg1)->base_OnDrawBranches(*arg2,arg3);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 Py_INCREF(Py_None); resultobj = Py_None;
18967 return resultobj;
18968 fail:
18969 return NULL;
18970}
18971
18972
18973static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18976 wxDC *arg2 = 0 ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "dc", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18986 if (arg2 == NULL) {
18987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18988 }
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 (arg1)->base_OnMoveLinks(*arg2);
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 Py_INCREF(Py_None); resultobj = Py_None;
18997 return resultobj;
18998 fail:
18999 return NULL;
19000}
19001
19002
19003static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19006 wxDC *arg2 = 0 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "dc", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19016 if (arg2 == NULL) {
19017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->base_OnErase(*arg2);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 Py_INCREF(Py_None); resultobj = Py_None;
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
19033static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19036 wxDC *arg2 = 0 ;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self",(char *) "dc", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19046 if (arg2 == NULL) {
19047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19048 }
19049 {
19050 PyThreadState* __tstate = wxPyBeginAllowThreads();
19051 (arg1)->base_OnEraseContents(*arg2);
19052
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 Py_INCREF(Py_None); resultobj = Py_None;
19057 return resultobj;
19058 fail:
19059 return NULL;
19060}
19061
19062
19063static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19066 wxDC *arg2 = 0 ;
19067 PyObject * obj0 = 0 ;
19068 PyObject * obj1 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "dc", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 if (arg2 == NULL) {
19077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 (arg1)->base_OnHighlight(*arg2);
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 Py_INCREF(Py_None); resultobj = Py_None;
19087 return resultobj;
19088 fail:
19089 return NULL;
19090}
19091
19092
19093static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19096 double arg2 ;
19097 double arg3 ;
19098 int arg4 = (int) 0 ;
19099 int arg5 = (int) 0 ;
19100 PyObject * obj0 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 Py_INCREF(Py_None); resultobj = Py_None;
19115 return resultobj;
19116 fail:
19117 return NULL;
19118}
19119
19120
19121static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19122 PyObject *resultobj;
19123 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19124 double arg2 ;
19125 double arg3 ;
19126 int arg4 = (int) 0 ;
19127 int arg5 = (int) 0 ;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 Py_INCREF(Py_None); resultobj = Py_None;
19143 return resultobj;
19144 fail:
19145 return NULL;
19146}
19147
19148
19149static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19152 double arg2 ;
19153 double arg3 ;
19154 int arg4 = (int) 0 ;
19155 int arg5 = (int) 0 ;
19156 PyObject * obj0 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
19171 return resultobj;
19172 fail:
19173 return NULL;
19174}
19175
19176
19177static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj;
19179 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19180 double arg2 ;
19181 double arg3 ;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "x",(char *) "y", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->base_OnSize(arg2,arg3);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 Py_INCREF(Py_None); resultobj = Py_None;
19197 return resultobj;
19198 fail:
19199 return NULL;
19200}
19201
19202
19203static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19206 wxDC *arg2 = 0 ;
19207 double arg3 ;
19208 double arg4 ;
19209 double arg5 ;
19210 double arg6 ;
19211 bool arg7 = (bool) True ;
19212 bool result;
19213 PyObject * obj0 = 0 ;
19214 PyObject * obj1 = 0 ;
19215 PyObject * obj6 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 if (arg2 == NULL) {
19224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19225 }
19226 if (obj6) {
19227 arg7 = PyInt_AsLong(obj6) ? true : false;
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 resultobj = PyInt_FromLong((long)result);
19238 return resultobj;
19239 fail:
19240 return NULL;
19241}
19242
19243
19244static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19247 wxDC *arg2 = 0 ;
19248 double arg3 ;
19249 double arg4 ;
19250 double arg5 ;
19251 double arg6 ;
19252 bool arg7 = (bool) True ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 PyObject * obj6 = 0 ;
19256 char *kwnames[] = {
19257 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19258 };
19259
19260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19263 if (arg2 == NULL) {
19264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19265 }
19266 if (obj6) {
19267 arg7 = PyInt_AsLong(obj6) ? true : false;
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 Py_INCREF(Py_None); resultobj = Py_None;
19278 return resultobj;
19279 fail:
19280 return NULL;
19281}
19282
19283
19284static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19287 bool arg2 ;
19288 double arg3 ;
19289 double arg4 ;
19290 int arg5 = (int) 0 ;
19291 int arg6 = (int) 0 ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 arg2 = PyInt_AsLong(obj1) ? true : false;
19301 if (PyErr_Occurred()) SWIG_fail;
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 Py_INCREF(Py_None); resultobj = Py_None;
19310 return resultobj;
19311 fail:
19312 return NULL;
19313}
19314
19315
19316static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19319 double arg2 ;
19320 double arg3 ;
19321 int arg4 = (int) 0 ;
19322 int arg5 = (int) 0 ;
19323 PyObject * obj0 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 Py_INCREF(Py_None); resultobj = Py_None;
19338 return resultobj;
19339 fail:
19340 return NULL;
19341}
19342
19343
19344static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19347 double arg2 ;
19348 double arg3 ;
19349 int arg4 = (int) 0 ;
19350 int arg5 = (int) 0 ;
19351 PyObject * obj0 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369}
19370
19371
19372static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19375 bool arg2 ;
19376 double arg3 ;
19377 double arg4 ;
19378 int arg5 = (int) 0 ;
19379 int arg6 = (int) 0 ;
19380 PyObject * obj0 = 0 ;
19381 PyObject * obj1 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19388 arg2 = PyInt_AsLong(obj1) ? true : false;
19389 if (PyErr_Occurred()) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 return resultobj;
19399 fail:
19400 return NULL;
19401}
19402
19403
19404static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19407 double arg2 ;
19408 double arg3 ;
19409 int arg4 = (int) 0 ;
19410 int arg5 = (int) 0 ;
19411 PyObject * obj0 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 Py_INCREF(Py_None); resultobj = Py_None;
19426 return resultobj;
19427 fail:
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19435 double arg2 ;
19436 double arg3 ;
19437 int arg4 = (int) 0 ;
19438 int arg5 = (int) 0 ;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 Py_INCREF(Py_None); resultobj = Py_None;
19454 return resultobj;
19455 fail:
19456 return NULL;
19457}
19458
19459
19460static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19463 wxDC *arg2 = 0 ;
19464 double arg3 ;
19465 double arg4 ;
19466 double arg5 ;
19467 double arg6 ;
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 if (arg2 == NULL) {
19478 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19479 }
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 Py_INCREF(Py_None); resultobj = Py_None;
19488 return resultobj;
19489 fail:
19490 return NULL;
19491}
19492
19493
19494static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19497 wxDC *arg2 = 0 ;
19498 PyObject * obj0 = 0 ;
19499 PyObject * obj1 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "dc", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19507 if (arg2 == NULL) {
19508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19509 }
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 (arg1)->base_OnDrawControlPoints(*arg2);
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 Py_INCREF(Py_None); resultobj = Py_None;
19518 return resultobj;
19519 fail:
19520 return NULL;
19521}
19522
19523
19524static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19527 wxDC *arg2 = 0 ;
19528 PyObject * obj0 = 0 ;
19529 PyObject * obj1 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self",(char *) "dc", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 if (arg2 == NULL) {
19538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 (arg1)->base_OnEraseControlPoints(*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 Py_INCREF(Py_None); resultobj = Py_None;
19548 return resultobj;
19549 fail:
19550 return NULL;
19551}
19552
19553
19554static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19555 PyObject *resultobj;
19556 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19557 wxDC *arg2 = 0 ;
19558 bool arg3 = (bool) True ;
19559 PyObject * obj0 = 0 ;
19560 PyObject * obj1 = 0 ;
19561 PyObject * obj2 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19569 if (arg2 == NULL) {
19570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19571 }
19572 if (obj2) {
19573 arg3 = PyInt_AsLong(obj2) ? true : false;
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 (arg1)->base_OnMoveLink(*arg2,arg3);
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 Py_INCREF(Py_None); resultobj = Py_None;
19584 return resultobj;
19585 fail:
19586 return NULL;
19587}
19588
19589
19590static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19593 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19594 bool arg3 ;
19595 double arg4 ;
19596 double arg5 ;
19597 int arg6 = (int) 0 ;
19598 int arg7 = (int) 0 ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
19607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19609 arg3 = PyInt_AsLong(obj2) ? true : false;
19610 if (PyErr_Occurred()) SWIG_fail;
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 Py_INCREF(Py_None); resultobj = Py_None;
19619 return resultobj;
19620 fail:
19621 return NULL;
19622}
19623
19624
19625static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19626 PyObject *resultobj;
19627 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19628 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19629 double arg3 ;
19630 double arg4 ;
19631 int arg5 = (int) 0 ;
19632 int arg6 = (int) 0 ;
19633 PyObject * obj0 = 0 ;
19634 PyObject * obj1 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 Py_INCREF(Py_None); resultobj = Py_None;
19650 return resultobj;
19651 fail:
19652 return NULL;
19653}
19654
19655
19656static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj;
19658 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19659 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19660 double arg3 ;
19661 double arg4 ;
19662 int arg5 = (int) 0 ;
19663 int arg6 = (int) 0 ;
19664 PyObject * obj0 = 0 ;
19665 PyObject * obj1 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 {
19674 PyThreadState* __tstate = wxPyBeginAllowThreads();
19675 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19676
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 Py_INCREF(Py_None); resultobj = Py_None;
19681 return resultobj;
19682 fail:
19683 return NULL;
19684}
19685
19686
19687static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19690 double arg2 ;
19691 double arg3 ;
19692 PyObject * obj0 = 0 ;
19693 char *kwnames[] = {
19694 (char *) "self",(char *) "w",(char *) "h", NULL
19695 };
19696
19697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 (arg1)->base_OnBeginSize(arg2,arg3);
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 Py_INCREF(Py_None); resultobj = Py_None;
19707 return resultobj;
19708 fail:
19709 return NULL;
19710}
19711
19712
19713static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19716 double arg2 ;
19717 double arg3 ;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "w",(char *) "h", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 (arg1)->base_OnEndSize(arg2,arg3);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 Py_INCREF(Py_None); resultobj = Py_None;
19733 return resultobj;
19734 fail:
19735 return NULL;
19736}
19737
19738
19739static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
19740 PyObject *obj;
19741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19742 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
19743 Py_INCREF(obj);
19744 return Py_BuildValue((char *)"");
19745}
19746static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 int arg1 = (int) 0 ;
19749 int arg2 = (int) 0 ;
19750 double arg3 = (double) 0.0 ;
19751 double arg4 = (double) 0.0 ;
19752 wxString const &arg5_defvalue = wxPyEmptyString ;
19753 wxString *arg5 = (wxString *) &arg5_defvalue ;
19754 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
19755 long arg7 = (long) -1 ;
19756 wxArrowHead *result;
19757 bool temp5 = False ;
19758 PyObject * obj4 = 0 ;
19759 PyObject * obj5 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19762 };
19763
19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiddOOl:new_ArrowHead",kwnames,&arg1,&arg2,&arg3,&arg4,&obj4,&obj5,&arg7)) goto fail;
19765 if (obj4) {
19766 {
19767 arg5 = wxString_in_helper(obj4);
19768 if (arg5 == NULL) SWIG_fail;
19769 temp5 = True;
19770 }
19771 }
19772 if (obj5) {
19773 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 }
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 resultobj = wxPyMake_wxObject(result);
19784 }
19785 {
19786 if (temp5)
19787 delete arg5;
19788 }
19789 return resultobj;
19790 fail:
19791 {
19792 if (temp5)
19793 delete arg5;
19794 }
19795 return NULL;
19796}
19797
19798
19799static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 delete arg1;
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820}
19821
19822
19823static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19826 int result;
19827 PyObject * obj0 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (int)(arg1)->_GetType();
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = PyInt_FromLong((long)result);
19842 return resultobj;
19843 fail:
19844 return NULL;
19845}
19846
19847
19848static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19851 int result;
19852 PyObject * obj0 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 {
19860 PyThreadState* __tstate = wxPyBeginAllowThreads();
19861 result = (int)(arg1)->GetPosition();
19862
19863 wxPyEndAllowThreads(__tstate);
19864 if (PyErr_Occurred()) SWIG_fail;
19865 }
19866 resultobj = PyInt_FromLong((long)result);
19867 return resultobj;
19868 fail:
19869 return NULL;
19870}
19871
19872
19873static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19876 int arg2 ;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self",(char *) "pos", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ArrowHead_SetPosition",kwnames,&obj0,&arg2)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 (arg1)->SetPosition(arg2);
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 Py_INCREF(Py_None); resultobj = Py_None;
19892 return resultobj;
19893 fail:
19894 return NULL;
19895}
19896
19897
19898static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19901 double result;
19902 PyObject * obj0 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (double)(arg1)->GetXOffset();
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 resultobj = PyFloat_FromDouble(result);
19917 return resultobj;
19918 fail:
19919 return NULL;
19920}
19921
19922
19923static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19926 double result;
19927 PyObject * obj0 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 result = (double)(arg1)->GetYOffset();
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 resultobj = PyFloat_FromDouble(result);
19942 return resultobj;
19943 fail:
19944 return NULL;
19945}
19946
19947
19948static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19951 double result;
19952 PyObject * obj0 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 result = (double)(arg1)->GetSpacing();
19962
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 resultobj = PyFloat_FromDouble(result);
19967 return resultobj;
19968 fail:
19969 return NULL;
19970}
19971
19972
19973static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj;
19975 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19976 double result;
19977 PyObject * obj0 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
19983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (double)(arg1)->GetSize();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = PyFloat_FromDouble(result);
19992 return resultobj;
19993 fail:
19994 return NULL;
19995}
19996
19997
19998static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20001 wxString result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 result = (arg1)->GetName();
20012
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 {
20017#if wxUSE_UNICODE
20018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20019#else
20020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20021#endif
20022 }
20023 return resultobj;
20024 fail:
20025 return NULL;
20026}
20027
20028
20029static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20032 double arg2 ;
20033 PyObject * obj0 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self",(char *) "x", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
20039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 (arg1)->SetXOffset(arg2);
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 Py_INCREF(Py_None); resultobj = Py_None;
20048 return resultobj;
20049 fail:
20050 return NULL;
20051}
20052
20053
20054static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20057 double arg2 ;
20058 PyObject * obj0 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "y", NULL
20061 };
20062
20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetYOffset",kwnames,&obj0,&arg2)) goto fail;
20064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 (arg1)->SetYOffset(arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 Py_INCREF(Py_None); resultobj = Py_None;
20073 return resultobj;
20074 fail:
20075 return NULL;
20076}
20077
20078
20079static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20082 wxPseudoMetaFile *result;
20083 PyObject * obj0 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098 resultobj = wxPyMake_wxObject(result);
20099 }
20100 return resultobj;
20101 fail:
20102 return NULL;
20103}
20104
20105
20106static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20109 long result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 result = (long)(arg1)->GetId();
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = PyInt_FromLong((long)result);
20125 return resultobj;
20126 fail:
20127 return NULL;
20128}
20129
20130
20131static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20134 int result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (int)(arg1)->GetArrowEnd();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = PyInt_FromLong((long)result);
20150 return resultobj;
20151 fail:
20152 return NULL;
20153}
20154
20155
20156static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20159 double result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (double)(arg1)->GetArrowSize();
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 resultobj = PyFloat_FromDouble(result);
20175 return resultobj;
20176 fail:
20177 return NULL;
20178}
20179
20180
20181static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20182 PyObject *resultobj;
20183 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20184 double arg2 ;
20185 PyObject * obj0 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self",(char *) "size", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSize",kwnames,&obj0,&arg2)) goto fail;
20191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 (arg1)->SetSize(arg2);
20195
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 Py_INCREF(Py_None); resultobj = Py_None;
20200 return resultobj;
20201 fail:
20202 return NULL;
20203}
20204
20205
20206static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20209 double arg2 ;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "sp", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSpacing",kwnames,&obj0,&arg2)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->SetSpacing(arg2);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 Py_INCREF(Py_None); resultobj = Py_None;
20225 return resultobj;
20226 fail:
20227 return NULL;
20228}
20229
20230
20231static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
20232 PyObject *obj;
20233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20234 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
20235 Py_INCREF(obj);
20236 return Py_BuildValue((char *)"");
20237}
20238static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPyLineShape *result;
20241 char *kwnames[] = {
20242 NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (wxPyLineShape *)new wxPyLineShape();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
20254 return resultobj;
20255 fail:
20256 return NULL;
20257}
20258
20259
20260static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20263 PyObject *arg2 = (PyObject *) 0 ;
20264 PyObject *arg3 = (PyObject *) 0 ;
20265 PyObject * obj0 = 0 ;
20266 PyObject * obj1 = 0 ;
20267 PyObject * obj2 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self",(char *) "self",(char *) "_class", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20274 arg2 = obj1;
20275 arg3 = obj2;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 (arg1)->_setCallbackInfo(arg2,arg3);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 Py_INCREF(Py_None); resultobj = Py_None;
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
20290static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20293 int arg2 ;
20294 int arg3 = (int) ARROW_POSITION_END ;
20295 double arg4 = (double) 10.0 ;
20296 double arg5 = (double) 0.0 ;
20297 wxString const &arg6_defvalue = wxPyEmptyString ;
20298 wxString *arg6 = (wxString *) &arg6_defvalue ;
20299 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
20300 long arg8 = (long) -1 ;
20301 bool temp6 = False ;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj5 = 0 ;
20304 PyObject * obj6 = 0 ;
20305 char *kwnames[] = {
20306 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20307 };
20308
20309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8)) goto fail;
20310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20311 if (obj5) {
20312 {
20313 arg6 = wxString_in_helper(obj5);
20314 if (arg6 == NULL) SWIG_fail;
20315 temp6 = True;
20316 }
20317 }
20318 if (obj6) {
20319 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 }
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 Py_INCREF(Py_None); resultobj = Py_None;
20329 {
20330 if (temp6)
20331 delete arg6;
20332 }
20333 return resultobj;
20334 fail:
20335 {
20336 if (temp6)
20337 delete arg6;
20338 }
20339 return NULL;
20340}
20341
20342
20343static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20346 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
20347 PyObject *arg3 = (PyObject *) 0 ;
20348 int arg4 ;
20349 PyObject * obj0 = 0 ;
20350 PyObject * obj1 = 0 ;
20351 PyObject * obj2 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20359 arg3 = obj2;
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 Py_INCREF(Py_None); resultobj = Py_None;
20368 return resultobj;
20369 fail:
20370 return NULL;
20371}
20372
20373
20374static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20377 wxString *arg2 = 0 ;
20378 bool result;
20379 bool temp2 = False ;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self",(char *) "name", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20388 {
20389 arg2 = wxString_in_helper(obj1);
20390 if (arg2 == NULL) SWIG_fail;
20391 temp2 = True;
20392 }
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 resultobj = PyInt_FromLong((long)result);
20401 {
20402 if (temp2)
20403 delete arg2;
20404 }
20405 return resultobj;
20406 fail:
20407 {
20408 if (temp2)
20409 delete arg2;
20410 }
20411 return NULL;
20412}
20413
20414
20415static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20416 PyObject *resultobj;
20417 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20418 int arg2 = (int) -1 ;
20419 PyObject * obj0 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self",(char *) "position", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&arg2)) goto fail;
20425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 (arg1)->ClearArrowsAtPosition(arg2);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 Py_INCREF(Py_None); resultobj = Py_None;
20434 return resultobj;
20435 fail:
20436 return NULL;
20437}
20438
20439
20440static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20443 wxDC *arg2 = 0 ;
20444 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
20445 double arg4 ;
20446 bool arg5 ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 PyObject * obj2 = 0 ;
20450 PyObject * obj4 = 0 ;
20451 char *kwnames[] = {
20452 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
20456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20458 if (arg2 == NULL) {
20459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20460 }
20461 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20462 arg5 = PyInt_AsLong(obj4) ? true : false;
20463 if (PyErr_Occurred()) SWIG_fail;
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475}
20476
20477
20478static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20481 long arg2 ;
20482 bool result;
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "arrowId", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 result = (bool)(arg1)->DeleteArrowHead(arg2);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 resultobj = PyInt_FromLong((long)result);
20498 return resultobj;
20499 fail:
20500 return NULL;
20501}
20502
20503
20504static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20507 int arg2 ;
20508 wxString *arg3 = 0 ;
20509 bool result;
20510 bool temp3 = False ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj2 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self",(char *) "position",(char *) "name", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 {
20520 arg3 = wxString_in_helper(obj2);
20521 if (arg3 == NULL) SWIG_fail;
20522 temp3 = True;
20523 }
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
20527
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 resultobj = PyInt_FromLong((long)result);
20532 {
20533 if (temp3)
20534 delete arg3;
20535 }
20536 return resultobj;
20537 fail:
20538 {
20539 if (temp3)
20540 delete arg3;
20541 }
20542 return NULL;
20543}
20544
20545
20546static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20549 bool result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (bool)(arg1)->DeleteLineControlPoint();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = PyInt_FromLong((long)result);
20565 return resultobj;
20566 fail:
20567 return NULL;
20568}
20569
20570
20571static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20574 wxDC *arg2 = 0 ;
20575 PyObject * obj0 = 0 ;
20576 PyObject * obj1 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "dc", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20584 if (arg2 == NULL) {
20585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20586 }
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 (arg1)->DrawArrows(*arg2);
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 Py_INCREF(Py_None); resultobj = Py_None;
20595 return resultobj;
20596 fail:
20597 return NULL;
20598}
20599
20600
20601static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20604 wxDC *arg2 = 0 ;
20605 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20606 double arg4 ;
20607 double arg5 ;
20608 PyObject * obj0 = 0 ;
20609 PyObject * obj1 = 0 ;
20610 PyObject * obj2 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20618 if (arg2 == NULL) {
20619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20620 }
20621 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 Py_INCREF(Py_None); resultobj = Py_None;
20630 return resultobj;
20631 fail:
20632 return NULL;
20633}
20634
20635
20636static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20639 wxDC *arg2 = 0 ;
20640 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20641 double arg4 ;
20642 double arg5 ;
20643 PyObject * obj0 = 0 ;
20644 PyObject * obj1 = 0 ;
20645 PyObject * obj2 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20653 if (arg2 == NULL) {
20654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20655 }
20656 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 Py_INCREF(Py_None); resultobj = Py_None;
20665 return resultobj;
20666 fail:
20667 return NULL;
20668}
20669
20670
20671static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20674 long arg2 ;
20675 wxArrowHead *result;
20676 PyObject * obj0 = 0 ;
20677 char *kwnames[] = {
20678 (char *) "self",(char *) "arrowId", NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 {
20691 resultobj = wxPyMake_wxObject(result);
20692 }
20693 return resultobj;
20694 fail:
20695 return NULL;
20696}
20697
20698
20699static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20702 int arg2 ;
20703 wxString *arg3 = 0 ;
20704 wxArrowHead *result;
20705 bool temp3 = False ;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj2 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self",(char *) "position",(char *) "name", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_FindArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20714 {
20715 arg3 = wxString_in_helper(obj2);
20716 if (arg3 == NULL) SWIG_fail;
20717 temp3 = True;
20718 }
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
20722
20723 wxPyEndAllowThreads(__tstate);
20724 if (PyErr_Occurred()) SWIG_fail;
20725 }
20726 {
20727 resultobj = wxPyMake_wxObject(result);
20728 }
20729 {
20730 if (temp3)
20731 delete arg3;
20732 }
20733 return resultobj;
20734 fail:
20735 {
20736 if (temp3)
20737 delete arg3;
20738 }
20739 return NULL;
20740}
20741
20742
20743static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20746 double *arg2 = (double *) 0 ;
20747 double *arg3 = (double *) 0 ;
20748 double *arg4 = (double *) 0 ;
20749 double *arg5 = (double *) 0 ;
20750 double temp2 ;
20751 double temp3 ;
20752 double temp4 ;
20753 double temp5 ;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 arg2 = &temp2;
20760 arg3 = &temp3;
20761 arg4 = &temp4;
20762 arg5 = &temp5;
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 Py_INCREF(Py_None); resultobj = Py_None;
20773 {
20774 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20775 resultobj = t_output_helper(resultobj,o);
20776 }
20777 {
20778 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20779 resultobj = t_output_helper(resultobj,o);
20780 }
20781 {
20782 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20783 resultobj = t_output_helper(resultobj,o);
20784 }
20785 {
20786 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20787 resultobj = t_output_helper(resultobj,o);
20788 }
20789 return resultobj;
20790 fail:
20791 return NULL;
20792}
20793
20794
20795static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20796 PyObject *resultobj;
20797 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20798 double arg2 ;
20799 double arg3 ;
20800 int result;
20801 PyObject * obj0 = 0 ;
20802 char *kwnames[] = {
20803 (char *) "self",(char *) "x",(char *) "y", NULL
20804 };
20805
20806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_FindLinePosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
20807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 result = (int)(arg1)->FindLinePosition(arg2,arg3);
20811
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 resultobj = PyInt_FromLong((long)result);
20816 return resultobj;
20817 fail:
20818 return NULL;
20819}
20820
20821
20822static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20823 PyObject *resultobj;
20824 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20825 double result;
20826 PyObject * obj0 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (double)(arg1)->FindMinimumWidth();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = PyFloat_FromDouble(result);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844}
20845
20846
20847static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20850 wxPyShape *arg2 = (wxPyShape *) 0 ;
20851 int *arg3 = (int *) 0 ;
20852 int *arg4 = (int *) 0 ;
20853 bool arg5 ;
20854 int temp3 ;
20855 int temp4 ;
20856 PyObject * obj0 = 0 ;
20857 PyObject * obj1 = 0 ;
20858 PyObject * obj2 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "self",(char *) "image",(char *) "incoming", NULL
20861 };
20862
20863 arg3 = &temp3;
20864 arg4 = &temp4;
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 arg5 = PyInt_AsLong(obj2) ? true : false;
20869 if (PyErr_Occurred()) SWIG_fail;
20870 {
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 (arg1)->FindNth(arg2,arg3,arg4,arg5);
20873
20874 wxPyEndAllowThreads(__tstate);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 Py_INCREF(Py_None); resultobj = Py_None;
20878 {
20879 PyObject *o = PyInt_FromLong((long) (*arg3));
20880 resultobj = t_output_helper(resultobj,o);
20881 }
20882 {
20883 PyObject *o = PyInt_FromLong((long) (*arg4));
20884 resultobj = t_output_helper(resultobj,o);
20885 }
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20895 int result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (int)(arg1)->GetAttachmentFrom();
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 resultobj = PyInt_FromLong((long)result);
20911 return resultobj;
20912 fail:
20913 return NULL;
20914}
20915
20916
20917static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20920 int result;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 result = (int)(arg1)->GetAttachmentTo();
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 resultobj = PyInt_FromLong((long)result);
20936 return resultobj;
20937 fail:
20938 return NULL;
20939}
20940
20941
20942static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20945 double *arg2 = (double *) 0 ;
20946 double *arg3 = (double *) 0 ;
20947 double *arg4 = (double *) 0 ;
20948 double *arg5 = (double *) 0 ;
20949 double temp2 ;
20950 double temp3 ;
20951 double temp4 ;
20952 double temp5 ;
20953 PyObject * obj0 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self", NULL
20956 };
20957
20958 arg2 = &temp2;
20959 arg3 = &temp3;
20960 arg4 = &temp4;
20961 arg5 = &temp5;
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
20963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 Py_INCREF(Py_None); resultobj = Py_None;
20972 {
20973 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20974 resultobj = t_output_helper(resultobj,o);
20975 }
20976 {
20977 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20978 resultobj = t_output_helper(resultobj,o);
20979 }
20980 {
20981 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20982 resultobj = t_output_helper(resultobj,o);
20983 }
20984 {
20985 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20986 resultobj = t_output_helper(resultobj,o);
20987 }
20988 return resultobj;
20989 fail:
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20997 wxPyShape *result;
20998 PyObject * obj0 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
21004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 result = (wxPyShape *)(arg1)->GetFrom();
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 {
21013 resultobj = wxPyMake_wxShapeEvtHandler(result);
21014 }
21015 return resultobj;
21016 fail:
21017 return NULL;
21018}
21019
21020
21021static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21024 int arg2 ;
21025 double *arg3 = (double *) 0 ;
21026 double *arg4 = (double *) 0 ;
21027 double temp3 ;
21028 double temp4 ;
21029 PyObject * obj0 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self",(char *) "position", NULL
21032 };
21033
21034 arg3 = &temp3;
21035 arg4 = &temp4;
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames,&obj0,&arg2)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->GetLabelPosition(arg2,arg3,arg4);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 {
21047 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21048 resultobj = t_output_helper(resultobj,o);
21049 }
21050 {
21051 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21052 resultobj = t_output_helper(resultobj,o);
21053 }
21054 return resultobj;
21055 fail:
21056 return NULL;
21057}
21058
21059
21060static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21061 PyObject *resultobj;
21062 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21063 wxPyShape *arg2 = (wxPyShape *) 0 ;
21064 wxRealPoint *result;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self",(char *) "shape", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21074 {
21075 PyThreadState* __tstate = wxPyBeginAllowThreads();
21076 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
21077
21078 wxPyEndAllowThreads(__tstate);
21079 if (PyErr_Occurred()) SWIG_fail;
21080 }
21081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
21082 return resultobj;
21083 fail:
21084 return NULL;
21085}
21086
21087
21088static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21091 wxPyShape *result;
21092 PyObject * obj0 = 0 ;
21093 char *kwnames[] = {
21094 (char *) "self", NULL
21095 };
21096
21097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
21098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (wxPyShape *)(arg1)->GetTo();
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107 resultobj = wxPyMake_wxShapeEvtHandler(result);
21108 }
21109 return resultobj;
21110 fail:
21111 return NULL;
21112}
21113
21114
21115static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
21116 PyObject *resultobj;
21117 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21118 PyObject * obj0 = 0 ;
21119 char *kwnames[] = {
21120 (char *) "self", NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
21124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 (arg1)->Initialise();
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 Py_INCREF(Py_None); resultobj = Py_None;
21133 return resultobj;
21134 fail:
21135 return NULL;
21136}
21137
21138
21139static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21142 wxDC *arg2 = (wxDC *) 0 ;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self",(char *) "dc", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
21150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->InsertLineControlPoint(arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 return resultobj;
21161 fail:
21162 return NULL;
21163}
21164
21165
21166static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj;
21168 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21169 wxPyShape *arg2 = (wxPyShape *) 0 ;
21170 bool result;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self",(char *) "shape", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
21178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (bool)(arg1)->IsEnd(arg2);
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = PyInt_FromLong((long)result);
21188 return resultobj;
21189 fail:
21190 return NULL;
21191}
21192
21193
21194static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21197 bool result;
21198 PyObject * obj0 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 result = (bool)(arg1)->IsSpline();
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = PyInt_FromLong((long)result);
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
21219static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21222 int arg2 ;
21223 PyObject * obj0 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self",(char *) "n", NULL
21226 };
21227
21228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&arg2)) goto fail;
21229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 (arg1)->MakeLineControlPoints(arg2);
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 Py_INCREF(Py_None); resultobj = Py_None;
21238 return resultobj;
21239 fail:
21240 return NULL;
21241}
21242
21243
21244static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21247 PyObject *result;
21248 PyObject * obj0 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 resultobj = result;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
21269static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21272 int arg2 ;
21273 PyObject * obj0 = 0 ;
21274 char *kwnames[] = {
21275 (char *) "self",(char *) "fromAttach", NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&arg2)) goto fail;
21279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->SetAttachmentFrom(arg2);
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291}
21292
21293
21294static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21297 int arg2 ;
21298 int arg3 ;
21299 PyObject * obj0 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyLineShape_SetAttachments",kwnames,&obj0,&arg2,&arg3)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 (arg1)->SetAttachments(arg2,arg3);
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 Py_INCREF(Py_None); resultobj = Py_None;
21314 return resultobj;
21315 fail:
21316 return NULL;
21317}
21318
21319
21320static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21321 PyObject *resultobj;
21322 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21323 int arg2 ;
21324 PyObject * obj0 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self",(char *) "toAttach", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames,&obj0,&arg2)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 (arg1)->SetAttachmentTo(arg2);
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 Py_INCREF(Py_None); resultobj = Py_None;
21339 return resultobj;
21340 fail:
21341 return NULL;
21342}
21343
21344
21345static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21346 PyObject *resultobj;
21347 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21348 double arg2 ;
21349 double arg3 ;
21350 double arg4 ;
21351 double arg5 ;
21352 PyObject * obj0 = 0 ;
21353 char *kwnames[] = {
21354 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21355 };
21356
21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyLineShape_SetEnds",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21376 wxPyShape *arg2 = (wxPyShape *) 0 ;
21377 PyObject * obj0 = 0 ;
21378 PyObject * obj1 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self",(char *) "object", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
21384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 (arg1)->SetFrom(arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397}
21398
21399
21400static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21403 bool arg2 ;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 char *kwnames[] = {
21407 (char *) "self",(char *) "ignore", NULL
21408 };
21409
21410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
21411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 arg2 = PyInt_AsLong(obj1) ? true : false;
21413 if (PyErr_Occurred()) SWIG_fail;
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 (arg1)->SetIgnoreOffsets(arg2);
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 Py_INCREF(Py_None); resultobj = Py_None;
21422 return resultobj;
21423 fail:
21424 return NULL;
21425}
21426
21427
21428static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj;
21430 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21431 bool arg2 ;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "spline", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21440 arg2 = PyInt_AsLong(obj1) ? true : false;
21441 if (PyErr_Occurred()) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->SetSpline(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453}
21454
21455
21456static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21459 wxPyShape *arg2 = (wxPyShape *) 0 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "object", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 (arg1)->SetTo(arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 Py_INCREF(Py_None); resultobj = Py_None;
21477 return resultobj;
21478 fail:
21479 return NULL;
21480}
21481
21482
21483static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21486 wxDC *arg2 = (wxDC *) NULL ;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "dc", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
21494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21495 if (obj1) {
21496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21497 }
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 (arg1)->Straighten(arg2);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 Py_INCREF(Py_None); resultobj = Py_None;
21506 return resultobj;
21507 fail:
21508 return NULL;
21509}
21510
21511
21512static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj;
21514 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21515 PyObject * obj0 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 (arg1)->Unlink();
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 Py_INCREF(Py_None); resultobj = Py_None;
21530 return resultobj;
21531 fail:
21532 return NULL;
21533}
21534
21535
21536static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj;
21538 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21539 wxDC *arg2 = 0 ;
21540 PyObject * obj0 = 0 ;
21541 PyObject * obj1 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self",(char *) "dc", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 if (arg2 == NULL) {
21550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21551 }
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 (arg1)->base_OnDraw(*arg2);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 Py_INCREF(Py_None); resultobj = Py_None;
21560 return resultobj;
21561 fail:
21562 return NULL;
21563}
21564
21565
21566static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21567 PyObject *resultobj;
21568 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21569 wxDC *arg2 = 0 ;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "dc", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if (arg2 == NULL) {
21580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21581 }
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 (arg1)->base_OnDrawContents(*arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 Py_INCREF(Py_None); resultobj = Py_None;
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
21596static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21599 wxDC *arg2 = 0 ;
21600 bool arg3 = (bool) FALSE ;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 PyObject * obj2 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "dc",(char *) "erase", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21611 if (arg2 == NULL) {
21612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21613 }
21614 if (obj2) {
21615 arg3 = PyInt_AsLong(obj2) ? true : false;
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->base_OnDrawBranches(*arg2,arg3);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629}
21630
21631
21632static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21633 PyObject *resultobj;
21634 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21635 wxDC *arg2 = 0 ;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "dc", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 if (arg2 == NULL) {
21646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21647 }
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 (arg1)->base_OnMoveLinks(*arg2);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659}
21660
21661
21662static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21665 wxDC *arg2 = 0 ;
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 char *kwnames[] = {
21669 (char *) "self",(char *) "dc", NULL
21670 };
21671
21672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21675 if (arg2 == NULL) {
21676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21677 }
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 (arg1)->base_OnErase(*arg2);
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 Py_INCREF(Py_None); resultobj = Py_None;
21686 return resultobj;
21687 fail:
21688 return NULL;
21689}
21690
21691
21692static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj;
21694 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21695 wxDC *arg2 = 0 ;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 char *kwnames[] = {
21699 (char *) "self",(char *) "dc", NULL
21700 };
21701
21702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21705 if (arg2 == NULL) {
21706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21707 }
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 (arg1)->base_OnEraseContents(*arg2);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 Py_INCREF(Py_None); resultobj = Py_None;
21716 return resultobj;
21717 fail:
21718 return NULL;
21719}
21720
21721
21722static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21725 wxDC *arg2 = 0 ;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "dc", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if (arg2 == NULL) {
21736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21737 }
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->base_OnHighlight(*arg2);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 Py_INCREF(Py_None); resultobj = Py_None;
21746 return resultobj;
21747 fail:
21748 return NULL;
21749}
21750
21751
21752static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj;
21754 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21755 double arg2 ;
21756 double arg3 ;
21757 int arg4 = (int) 0 ;
21758 int arg5 = (int) 0 ;
21759 PyObject * obj0 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 Py_INCREF(Py_None); resultobj = Py_None;
21774 return resultobj;
21775 fail:
21776 return NULL;
21777}
21778
21779
21780static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21783 double arg2 ;
21784 double arg3 ;
21785 int arg4 = (int) 0 ;
21786 int arg5 = (int) 0 ;
21787 PyObject * obj0 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21794 {
21795 PyThreadState* __tstate = wxPyBeginAllowThreads();
21796 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21797
21798 wxPyEndAllowThreads(__tstate);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 }
21801 Py_INCREF(Py_None); resultobj = Py_None;
21802 return resultobj;
21803 fail:
21804 return NULL;
21805}
21806
21807
21808static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21809 PyObject *resultobj;
21810 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21811 double arg2 ;
21812 double arg3 ;
21813 int arg4 = (int) 0 ;
21814 int arg5 = (int) 0 ;
21815 PyObject * obj0 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 Py_INCREF(Py_None); resultobj = Py_None;
21830 return resultobj;
21831 fail:
21832 return NULL;
21833}
21834
21835
21836static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj;
21838 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21839 double arg2 ;
21840 double arg3 ;
21841 PyObject * obj0 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self",(char *) "x",(char *) "y", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
21847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21848 {
21849 PyThreadState* __tstate = wxPyBeginAllowThreads();
21850 (arg1)->base_OnSize(arg2,arg3);
21851
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 Py_INCREF(Py_None); resultobj = Py_None;
21856 return resultobj;
21857 fail:
21858 return NULL;
21859}
21860
21861
21862static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21865 wxDC *arg2 = 0 ;
21866 double arg3 ;
21867 double arg4 ;
21868 double arg5 ;
21869 double arg6 ;
21870 bool arg7 = (bool) True ;
21871 bool result;
21872 PyObject * obj0 = 0 ;
21873 PyObject * obj1 = 0 ;
21874 PyObject * obj6 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21882 if (arg2 == NULL) {
21883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21884 }
21885 if (obj6) {
21886 arg7 = PyInt_AsLong(obj6) ? true : false;
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = PyInt_FromLong((long)result);
21897 return resultobj;
21898 fail:
21899 return NULL;
21900}
21901
21902
21903static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21906 wxDC *arg2 = 0 ;
21907 double arg3 ;
21908 double arg4 ;
21909 double arg5 ;
21910 double arg6 ;
21911 bool arg7 = (bool) True ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 PyObject * obj6 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 if (arg2 == NULL) {
21923 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21924 }
21925 if (obj6) {
21926 arg7 = PyInt_AsLong(obj6) ? true : false;
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 Py_INCREF(Py_None); resultobj = Py_None;
21937 return resultobj;
21938 fail:
21939 return NULL;
21940}
21941
21942
21943static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21946 bool arg2 ;
21947 double arg3 ;
21948 double arg4 ;
21949 int arg5 = (int) 0 ;
21950 int arg6 = (int) 0 ;
21951 PyObject * obj0 = 0 ;
21952 PyObject * obj1 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
21958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21959 arg2 = PyInt_AsLong(obj1) ? true : false;
21960 if (PyErr_Occurred()) SWIG_fail;
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 Py_INCREF(Py_None); resultobj = Py_None;
21969 return resultobj;
21970 fail:
21971 return NULL;
21972}
21973
21974
21975static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21978 double arg2 ;
21979 double arg3 ;
21980 int arg4 = (int) 0 ;
21981 int arg5 = (int) 0 ;
21982 PyObject * obj0 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 Py_INCREF(Py_None); resultobj = Py_None;
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
22003static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22006 double arg2 ;
22007 double arg3 ;
22008 int arg4 = (int) 0 ;
22009 int arg5 = (int) 0 ;
22010 PyObject * obj0 = 0 ;
22011 char *kwnames[] = {
22012 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22013 };
22014
22015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 Py_INCREF(Py_None); resultobj = Py_None;
22025 return resultobj;
22026 fail:
22027 return NULL;
22028}
22029
22030
22031static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22034 bool arg2 ;
22035 double arg3 ;
22036 double arg4 ;
22037 int arg5 = (int) 0 ;
22038 int arg6 = (int) 0 ;
22039 PyObject * obj0 = 0 ;
22040 PyObject * obj1 = 0 ;
22041 char *kwnames[] = {
22042 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22043 };
22044
22045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22047 arg2 = PyInt_AsLong(obj1) ? true : false;
22048 if (PyErr_Occurred()) SWIG_fail;
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 Py_INCREF(Py_None); resultobj = Py_None;
22057 return resultobj;
22058 fail:
22059 return NULL;
22060}
22061
22062
22063static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22064 PyObject *resultobj;
22065 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22066 double arg2 ;
22067 double arg3 ;
22068 int arg4 = (int) 0 ;
22069 int arg5 = (int) 0 ;
22070 PyObject * obj0 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 Py_INCREF(Py_None); resultobj = Py_None;
22085 return resultobj;
22086 fail:
22087 return NULL;
22088}
22089
22090
22091static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj;
22093 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22094 double arg2 ;
22095 double arg3 ;
22096 int arg4 = (int) 0 ;
22097 int arg5 = (int) 0 ;
22098 PyObject * obj0 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 Py_INCREF(Py_None); resultobj = Py_None;
22113 return resultobj;
22114 fail:
22115 return NULL;
22116}
22117
22118
22119static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22122 wxDC *arg2 = 0 ;
22123 double arg3 ;
22124 double arg4 ;
22125 double arg5 ;
22126 double arg6 ;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 if (arg2 == NULL) {
22137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150}
22151
22152
22153static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22156 wxDC *arg2 = 0 ;
22157 PyObject * obj0 = 0 ;
22158 PyObject * obj1 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "self",(char *) "dc", NULL
22161 };
22162
22163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22166 if (arg2 == NULL) {
22167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22168 }
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22171 (arg1)->base_OnDrawControlPoints(*arg2);
22172
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 Py_INCREF(Py_None); resultobj = Py_None;
22177 return resultobj;
22178 fail:
22179 return NULL;
22180}
22181
22182
22183static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22184 PyObject *resultobj;
22185 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22186 wxDC *arg2 = 0 ;
22187 PyObject * obj0 = 0 ;
22188 PyObject * obj1 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self",(char *) "dc", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22196 if (arg2 == NULL) {
22197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22198 }
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 (arg1)->base_OnEraseControlPoints(*arg2);
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 Py_INCREF(Py_None); resultobj = Py_None;
22207 return resultobj;
22208 fail:
22209 return NULL;
22210}
22211
22212
22213static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22214 PyObject *resultobj;
22215 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22216 wxDC *arg2 = 0 ;
22217 bool arg3 = (bool) True ;
22218 PyObject * obj0 = 0 ;
22219 PyObject * obj1 = 0 ;
22220 PyObject * obj2 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if (arg2 == NULL) {
22229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22230 }
22231 if (obj2) {
22232 arg3 = PyInt_AsLong(obj2) ? true : false;
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 (arg1)->base_OnMoveLink(*arg2,arg3);
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 Py_INCREF(Py_None); resultobj = Py_None;
22243 return resultobj;
22244 fail:
22245 return NULL;
22246}
22247
22248
22249static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22252 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22253 bool arg3 ;
22254 double arg4 ;
22255 double arg5 ;
22256 int arg6 = (int) 0 ;
22257 int arg7 = (int) 0 ;
22258 PyObject * obj0 = 0 ;
22259 PyObject * obj1 = 0 ;
22260 PyObject * obj2 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22268 arg3 = PyInt_AsLong(obj2) ? true : false;
22269 if (PyErr_Occurred()) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 Py_INCREF(Py_None); resultobj = Py_None;
22278 return resultobj;
22279 fail:
22280 return NULL;
22281}
22282
22283
22284static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22287 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22288 double arg3 ;
22289 double arg4 ;
22290 int arg5 = (int) 0 ;
22291 int arg6 = (int) 0 ;
22292 PyObject * obj0 = 0 ;
22293 PyObject * obj1 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 Py_INCREF(Py_None); resultobj = Py_None;
22309 return resultobj;
22310 fail:
22311 return NULL;
22312}
22313
22314
22315static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22318 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22319 double arg3 ;
22320 double arg4 ;
22321 int arg5 = (int) 0 ;
22322 int arg6 = (int) 0 ;
22323 PyObject * obj0 = 0 ;
22324 PyObject * obj1 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 Py_INCREF(Py_None); resultobj = Py_None;
22340 return resultobj;
22341 fail:
22342 return NULL;
22343}
22344
22345
22346static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22349 double arg2 ;
22350 double arg3 ;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "w",(char *) "h", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 (arg1)->base_OnBeginSize(arg2,arg3);
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 Py_INCREF(Py_None); resultobj = Py_None;
22366 return resultobj;
22367 fail:
22368 return NULL;
22369}
22370
22371
22372static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj;
22374 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22375 double arg2 ;
22376 double arg3 ;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self",(char *) "w",(char *) "h", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 (arg1)->base_OnEndSize(arg2,arg3);
22387
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
22391 Py_INCREF(Py_None); resultobj = Py_None;
22392 return resultobj;
22393 fail:
22394 return NULL;
22395}
22396
22397
22398static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
22399 PyObject *obj;
22400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22401 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
22402 Py_INCREF(obj);
22403 return Py_BuildValue((char *)"");
22404}
22405static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj;
22407 wxPyPolygonShape *result;
22408 char *kwnames[] = {
22409 NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (wxPyPolygonShape *)new wxPyPolygonShape();
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
22421 return resultobj;
22422 fail:
22423 return NULL;
22424}
22425
22426
22427static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj;
22429 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22430 PyObject *arg2 = (PyObject *) 0 ;
22431 PyObject *arg3 = (PyObject *) 0 ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 PyObject * obj2 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "self",(char *) "_class", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22441 arg2 = obj1;
22442 arg3 = obj2;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->_setCallbackInfo(arg2,arg3);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454}
22455
22456
22457static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22460 PyObject *arg2 = (PyObject *) 0 ;
22461 PyObject *result;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self",(char *) "points", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
22469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22470 arg2 = obj1;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 resultobj = result;
22479 return resultobj;
22480 fail:
22481 return NULL;
22482}
22483
22484
22485static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22488 int arg2 = (int) 0 ;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "pos", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 (arg1)->AddPolygonPoint(arg2);
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 Py_INCREF(Py_None); resultobj = Py_None;
22504 return resultobj;
22505 fail:
22506 return NULL;
22507}
22508
22509
22510static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22513 PyObject * obj0 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
22519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 (arg1)->CalculatePolygonCentre();
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 Py_INCREF(Py_None); resultobj = Py_None;
22528 return resultobj;
22529 fail:
22530 return NULL;
22531}
22532
22533
22534static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22537 int arg2 = (int) 0 ;
22538 PyObject * obj0 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "pos", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 (arg1)->DeletePolygonPoint(arg2);
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 Py_INCREF(Py_None); resultobj = Py_None;
22553 return resultobj;
22554 fail:
22555 return NULL;
22556}
22557
22558
22559static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22562 PyObject *result;
22563 PyObject * obj0 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
22569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 resultobj = result;
22578 return resultobj;
22579 fail:
22580 return NULL;
22581}
22582
22583
22584static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj;
22586 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22587 PyObject * obj0 = 0 ;
22588 char *kwnames[] = {
22589 (char *) "self", NULL
22590 };
22591
22592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
22593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->UpdateOriginalPoints();
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
22608static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22611 wxDC *arg2 = 0 ;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 char *kwnames[] = {
22615 (char *) "self",(char *) "dc", NULL
22616 };
22617
22618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 if (arg2 == NULL) {
22622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22623 }
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 (arg1)->base_OnDraw(*arg2);
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 Py_INCREF(Py_None); resultobj = Py_None;
22632 return resultobj;
22633 fail:
22634 return NULL;
22635}
22636
22637
22638static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj;
22640 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22641 wxDC *arg2 = 0 ;
22642 PyObject * obj0 = 0 ;
22643 PyObject * obj1 = 0 ;
22644 char *kwnames[] = {
22645 (char *) "self",(char *) "dc", NULL
22646 };
22647
22648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22651 if (arg2 == NULL) {
22652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22653 }
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 (arg1)->base_OnDrawContents(*arg2);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 Py_INCREF(Py_None); resultobj = Py_None;
22662 return resultobj;
22663 fail:
22664 return NULL;
22665}
22666
22667
22668static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22671 wxDC *arg2 = 0 ;
22672 bool arg3 = (bool) FALSE ;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 PyObject * obj2 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self",(char *) "dc",(char *) "erase", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22683 if (arg2 == NULL) {
22684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22685 }
22686 if (obj2) {
22687 arg3 = PyInt_AsLong(obj2) ? true : false;
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
22692 (arg1)->base_OnDrawBranches(*arg2,arg3);
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 Py_INCREF(Py_None); resultobj = Py_None;
22698 return resultobj;
22699 fail:
22700 return NULL;
22701}
22702
22703
22704static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22705 PyObject *resultobj;
22706 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22707 wxDC *arg2 = 0 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self",(char *) "dc", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22717 if (arg2 == NULL) {
22718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22719 }
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 (arg1)->base_OnMoveLinks(*arg2);
22723
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 Py_INCREF(Py_None); resultobj = Py_None;
22728 return resultobj;
22729 fail:
22730 return NULL;
22731}
22732
22733
22734static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22737 wxDC *arg2 = 0 ;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "dc", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22747 if (arg2 == NULL) {
22748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22749 }
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 (arg1)->base_OnErase(*arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 Py_INCREF(Py_None); resultobj = Py_None;
22758 return resultobj;
22759 fail:
22760 return NULL;
22761}
22762
22763
22764static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22767 wxDC *arg2 = 0 ;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self",(char *) "dc", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 if (arg2 == NULL) {
22778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22779 }
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 (arg1)->base_OnEraseContents(*arg2);
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 Py_INCREF(Py_None); resultobj = Py_None;
22788 return resultobj;
22789 fail:
22790 return NULL;
22791}
22792
22793
22794static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22797 wxDC *arg2 = 0 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "dc", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22807 if (arg2 == NULL) {
22808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22809 }
22810 {
22811 PyThreadState* __tstate = wxPyBeginAllowThreads();
22812 (arg1)->base_OnHighlight(*arg2);
22813
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 Py_INCREF(Py_None); resultobj = Py_None;
22818 return resultobj;
22819 fail:
22820 return NULL;
22821}
22822
22823
22824static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22825 PyObject *resultobj;
22826 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22827 double arg2 ;
22828 double arg3 ;
22829 int arg4 = (int) 0 ;
22830 int arg5 = (int) 0 ;
22831 PyObject * obj0 = 0 ;
22832 char *kwnames[] = {
22833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22841
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 Py_INCREF(Py_None); resultobj = Py_None;
22846 return resultobj;
22847 fail:
22848 return NULL;
22849}
22850
22851
22852static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22853 PyObject *resultobj;
22854 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22855 double arg2 ;
22856 double arg3 ;
22857 int arg4 = (int) 0 ;
22858 int arg5 = (int) 0 ;
22859 PyObject * obj0 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 Py_INCREF(Py_None); resultobj = Py_None;
22874 return resultobj;
22875 fail:
22876 return NULL;
22877}
22878
22879
22880static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22883 double arg2 ;
22884 double arg3 ;
22885 int arg4 = (int) 0 ;
22886 int arg5 = (int) 0 ;
22887 PyObject * obj0 = 0 ;
22888 char *kwnames[] = {
22889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 (arg1)->base_OnRightClick(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
22908static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22911 double arg2 ;
22912 double arg3 ;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "x",(char *) "y", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 (arg1)->base_OnSize(arg2,arg3);
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 Py_INCREF(Py_None); resultobj = Py_None;
22928 return resultobj;
22929 fail:
22930 return NULL;
22931}
22932
22933
22934static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22937 wxDC *arg2 = 0 ;
22938 double arg3 ;
22939 double arg4 ;
22940 double arg5 ;
22941 double arg6 ;
22942 bool arg7 = (bool) True ;
22943 bool result;
22944 PyObject * obj0 = 0 ;
22945 PyObject * obj1 = 0 ;
22946 PyObject * obj6 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22954 if (arg2 == NULL) {
22955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22956 }
22957 if (obj6) {
22958 arg7 = PyInt_AsLong(obj6) ? true : false;
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 {
22962 PyThreadState* __tstate = wxPyBeginAllowThreads();
22963 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 resultobj = PyInt_FromLong((long)result);
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
22975static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22978 wxDC *arg2 = 0 ;
22979 double arg3 ;
22980 double arg4 ;
22981 double arg5 ;
22982 double arg6 ;
22983 bool arg7 = (bool) True ;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 PyObject * obj6 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22994 if (arg2 == NULL) {
22995 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22996 }
22997 if (obj6) {
22998 arg7 = PyInt_AsLong(obj6) ? true : false;
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 {
23002 PyThreadState* __tstate = wxPyBeginAllowThreads();
23003 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 Py_INCREF(Py_None); resultobj = Py_None;
23009 return resultobj;
23010 fail:
23011 return NULL;
23012}
23013
23014
23015static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23016 PyObject *resultobj;
23017 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23018 bool arg2 ;
23019 double arg3 ;
23020 double arg4 ;
23021 int arg5 = (int) 0 ;
23022 int arg6 = (int) 0 ;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23031 arg2 = PyInt_AsLong(obj1) ? true : false;
23032 if (PyErr_Occurred()) SWIG_fail;
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 Py_INCREF(Py_None); resultobj = Py_None;
23041 return resultobj;
23042 fail:
23043 return NULL;
23044}
23045
23046
23047static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23050 double arg2 ;
23051 double arg3 ;
23052 int arg4 = (int) 0 ;
23053 int arg5 = (int) 0 ;
23054 PyObject * obj0 = 0 ;
23055 char *kwnames[] = {
23056 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 Py_INCREF(Py_None); resultobj = Py_None;
23069 return resultobj;
23070 fail:
23071 return NULL;
23072}
23073
23074
23075static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23076 PyObject *resultobj;
23077 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23078 double arg2 ;
23079 double arg3 ;
23080 int arg4 = (int) 0 ;
23081 int arg5 = (int) 0 ;
23082 PyObject * obj0 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 Py_INCREF(Py_None); resultobj = Py_None;
23097 return resultobj;
23098 fail:
23099 return NULL;
23100}
23101
23102
23103static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23106 bool arg2 ;
23107 double arg3 ;
23108 double arg4 ;
23109 int arg5 = (int) 0 ;
23110 int arg6 = (int) 0 ;
23111 PyObject * obj0 = 0 ;
23112 PyObject * obj1 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23119 arg2 = PyInt_AsLong(obj1) ? true : false;
23120 if (PyErr_Occurred()) SWIG_fail;
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 Py_INCREF(Py_None); resultobj = Py_None;
23129 return resultobj;
23130 fail:
23131 return NULL;
23132}
23133
23134
23135static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23138 double arg2 ;
23139 double arg3 ;
23140 int arg4 = (int) 0 ;
23141 int arg5 = (int) 0 ;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 Py_INCREF(Py_None); resultobj = Py_None;
23157 return resultobj;
23158 fail:
23159 return NULL;
23160}
23161
23162
23163static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23166 double arg2 ;
23167 double arg3 ;
23168 int arg4 = (int) 0 ;
23169 int arg5 = (int) 0 ;
23170 PyObject * obj0 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 Py_INCREF(Py_None); resultobj = Py_None;
23185 return resultobj;
23186 fail:
23187 return NULL;
23188}
23189
23190
23191static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23194 wxDC *arg2 = 0 ;
23195 double arg3 ;
23196 double arg4 ;
23197 double arg5 ;
23198 double arg6 ;
23199 PyObject * obj0 = 0 ;
23200 PyObject * obj1 = 0 ;
23201 char *kwnames[] = {
23202 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23208 if (arg2 == NULL) {
23209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23210 }
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23214
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 Py_INCREF(Py_None); resultobj = Py_None;
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
23225static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj;
23227 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23228 wxDC *arg2 = 0 ;
23229 PyObject * obj0 = 0 ;
23230 PyObject * obj1 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self",(char *) "dc", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23238 if (arg2 == NULL) {
23239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23240 }
23241 {
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 (arg1)->base_OnDrawControlPoints(*arg2);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 Py_INCREF(Py_None); resultobj = Py_None;
23249 return resultobj;
23250 fail:
23251 return NULL;
23252}
23253
23254
23255static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23256 PyObject *resultobj;
23257 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23258 wxDC *arg2 = 0 ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 char *kwnames[] = {
23262 (char *) "self",(char *) "dc", NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 if (arg2 == NULL) {
23269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23270 }
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->base_OnEraseControlPoints(*arg2);
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
23285static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23288 wxDC *arg2 = 0 ;
23289 bool arg3 = (bool) True ;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 PyObject * obj2 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23300 if (arg2 == NULL) {
23301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23302 }
23303 if (obj2) {
23304 arg3 = PyInt_AsLong(obj2) ? true : false;
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->base_OnMoveLink(*arg2,arg3);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 Py_INCREF(Py_None); resultobj = Py_None;
23315 return resultobj;
23316 fail:
23317 return NULL;
23318}
23319
23320
23321static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj;
23323 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23324 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23325 bool arg3 ;
23326 double arg4 ;
23327 double arg5 ;
23328 int arg6 = (int) 0 ;
23329 int arg7 = (int) 0 ;
23330 PyObject * obj0 = 0 ;
23331 PyObject * obj1 = 0 ;
23332 PyObject * obj2 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23340 arg3 = PyInt_AsLong(obj2) ? true : false;
23341 if (PyErr_Occurred()) SWIG_fail;
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 Py_INCREF(Py_None); resultobj = Py_None;
23350 return resultobj;
23351 fail:
23352 return NULL;
23353}
23354
23355
23356static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj;
23358 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23359 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23360 double arg3 ;
23361 double arg4 ;
23362 int arg5 = (int) 0 ;
23363 int arg6 = (int) 0 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 Py_INCREF(Py_None); resultobj = Py_None;
23381 return resultobj;
23382 fail:
23383 return NULL;
23384}
23385
23386
23387static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23390 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23391 double arg3 ;
23392 double arg4 ;
23393 int arg5 = (int) 0 ;
23394 int arg6 = (int) 0 ;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj1 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 Py_INCREF(Py_None); resultobj = Py_None;
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23421 double arg2 ;
23422 double arg3 ;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "w",(char *) "h", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 (arg1)->base_OnBeginSize(arg2,arg3);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 Py_INCREF(Py_None); resultobj = Py_None;
23438 return resultobj;
23439 fail:
23440 return NULL;
23441}
23442
23443
23444static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23447 double arg2 ;
23448 double arg3 ;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "w",(char *) "h", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 (arg1)->base_OnEndSize(arg2,arg3);
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 Py_INCREF(Py_None); resultobj = Py_None;
23464 return resultobj;
23465 fail:
23466 return NULL;
23467}
23468
23469
23470static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
23471 PyObject *obj;
23472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23473 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
23474 Py_INCREF(obj);
23475 return Py_BuildValue((char *)"");
23476}
23477static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 double arg1 = (double) 0.0 ;
23480 double arg2 = (double) 0.0 ;
23481 wxPyTextShape *result;
23482 char *kwnames[] = {
23483 (char *) "width",(char *) "height", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyTextShape",kwnames,&arg1,&arg2)) goto fail;
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
23495 return resultobj;
23496 fail:
23497 return NULL;
23498}
23499
23500
23501static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj;
23503 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23504 PyObject *arg2 = (PyObject *) 0 ;
23505 PyObject *arg3 = (PyObject *) 0 ;
23506 PyObject * obj0 = 0 ;
23507 PyObject * obj1 = 0 ;
23508 PyObject * obj2 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "self",(char *) "_class", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23515 arg2 = obj1;
23516 arg3 = obj2;
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 (arg1)->_setCallbackInfo(arg2,arg3);
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 Py_INCREF(Py_None); resultobj = Py_None;
23525 return resultobj;
23526 fail:
23527 return NULL;
23528}
23529
23530
23531static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
23532 PyObject *resultobj;
23533 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23534 PyObject * obj0 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
23540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 (arg1)->base_OnDelete();
23544
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 Py_INCREF(Py_None); resultobj = Py_None;
23549 return resultobj;
23550 fail:
23551 return NULL;
23552}
23553
23554
23555static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23556 PyObject *resultobj;
23557 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23558 wxDC *arg2 = 0 ;
23559 PyObject * obj0 = 0 ;
23560 PyObject * obj1 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "dc", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23568 if (arg2 == NULL) {
23569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23570 }
23571 {
23572 PyThreadState* __tstate = wxPyBeginAllowThreads();
23573 (arg1)->base_OnDraw(*arg2);
23574
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 Py_INCREF(Py_None); resultobj = Py_None;
23579 return resultobj;
23580 fail:
23581 return NULL;
23582}
23583
23584
23585static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23586 PyObject *resultobj;
23587 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23588 wxDC *arg2 = 0 ;
23589 PyObject * obj0 = 0 ;
23590 PyObject * obj1 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self",(char *) "dc", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23598 if (arg2 == NULL) {
23599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23600 }
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 (arg1)->base_OnDrawContents(*arg2);
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 Py_INCREF(Py_None); resultobj = Py_None;
23609 return resultobj;
23610 fail:
23611 return NULL;
23612}
23613
23614
23615static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj;
23617 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23618 wxDC *arg2 = 0 ;
23619 bool arg3 = (bool) FALSE ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 PyObject * obj2 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self",(char *) "dc",(char *) "erase", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 if (arg2 == NULL) {
23631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23632 }
23633 if (obj2) {
23634 arg3 = PyInt_AsLong(obj2) ? true : false;
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->base_OnDrawBranches(*arg2,arg3);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648}
23649
23650
23651static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23654 wxDC *arg2 = 0 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "dc", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23664 if (arg2 == NULL) {
23665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->base_OnMoveLinks(*arg2);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 Py_INCREF(Py_None); resultobj = Py_None;
23675 return resultobj;
23676 fail:
23677 return NULL;
23678}
23679
23680
23681static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23684 wxDC *arg2 = 0 ;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "dc", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 if (arg2 == NULL) {
23695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23696 }
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 (arg1)->base_OnErase(*arg2);
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 Py_INCREF(Py_None); resultobj = Py_None;
23705 return resultobj;
23706 fail:
23707 return NULL;
23708}
23709
23710
23711static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23712 PyObject *resultobj;
23713 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23714 wxDC *arg2 = 0 ;
23715 PyObject * obj0 = 0 ;
23716 PyObject * obj1 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "dc", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23724 if (arg2 == NULL) {
23725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23726 }
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 (arg1)->base_OnEraseContents(*arg2);
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 Py_INCREF(Py_None); resultobj = Py_None;
23735 return resultobj;
23736 fail:
23737 return NULL;
23738}
23739
23740
23741static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23744 wxDC *arg2 = 0 ;
23745 PyObject * obj0 = 0 ;
23746 PyObject * obj1 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "self",(char *) "dc", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23754 if (arg2 == NULL) {
23755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23756 }
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 (arg1)->base_OnHighlight(*arg2);
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 Py_INCREF(Py_None); resultobj = Py_None;
23765 return resultobj;
23766 fail:
23767 return NULL;
23768}
23769
23770
23771static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23774 double arg2 ;
23775 double arg3 ;
23776 int arg4 = (int) 0 ;
23777 int arg5 = (int) 0 ;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 Py_INCREF(Py_None); resultobj = Py_None;
23793 return resultobj;
23794 fail:
23795 return NULL;
23796}
23797
23798
23799static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23802 double arg2 ;
23803 double arg3 ;
23804 int arg4 = (int) 0 ;
23805 int arg5 = (int) 0 ;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 Py_INCREF(Py_None); resultobj = Py_None;
23821 return resultobj;
23822 fail:
23823 return NULL;
23824}
23825
23826
23827static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23830 double arg2 ;
23831 double arg3 ;
23832 int arg4 = (int) 0 ;
23833 int arg5 = (int) 0 ;
23834 PyObject * obj0 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 Py_INCREF(Py_None); resultobj = Py_None;
23849 return resultobj;
23850 fail:
23851 return NULL;
23852}
23853
23854
23855static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23858 double arg2 ;
23859 double arg3 ;
23860 PyObject * obj0 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "self",(char *) "x",(char *) "y", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 (arg1)->base_OnSize(arg2,arg3);
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 Py_INCREF(Py_None); resultobj = Py_None;
23875 return resultobj;
23876 fail:
23877 return NULL;
23878}
23879
23880
23881static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23884 wxDC *arg2 = 0 ;
23885 double arg3 ;
23886 double arg4 ;
23887 double arg5 ;
23888 double arg6 ;
23889 bool arg7 = (bool) True ;
23890 bool result;
23891 PyObject * obj0 = 0 ;
23892 PyObject * obj1 = 0 ;
23893 PyObject * obj6 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23901 if (arg2 == NULL) {
23902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23903 }
23904 if (obj6) {
23905 arg7 = PyInt_AsLong(obj6) ? true : false;
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 resultobj = PyInt_FromLong((long)result);
23916 return resultobj;
23917 fail:
23918 return NULL;
23919}
23920
23921
23922static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23925 wxDC *arg2 = 0 ;
23926 double arg3 ;
23927 double arg4 ;
23928 double arg5 ;
23929 double arg6 ;
23930 bool arg7 = (bool) True ;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
23933 PyObject * obj6 = 0 ;
23934 char *kwnames[] = {
23935 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23936 };
23937
23938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23941 if (arg2 == NULL) {
23942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23943 }
23944 if (obj6) {
23945 arg7 = PyInt_AsLong(obj6) ? true : false;
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959}
23960
23961
23962static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23965 bool arg2 ;
23966 double arg3 ;
23967 double arg4 ;
23968 int arg5 = (int) 0 ;
23969 int arg6 = (int) 0 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 arg2 = PyInt_AsLong(obj1) ? true : false;
23979 if (PyErr_Occurred()) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991}
23992
23993
23994static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23997 double arg2 ;
23998 double arg3 ;
23999 int arg4 = (int) 0 ;
24000 int arg5 = (int) 0 ;
24001 PyObject * obj0 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 Py_INCREF(Py_None); resultobj = Py_None;
24016 return resultobj;
24017 fail:
24018 return NULL;
24019}
24020
24021
24022static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24025 double arg2 ;
24026 double arg3 ;
24027 int arg4 = (int) 0 ;
24028 int arg5 = (int) 0 ;
24029 PyObject * obj0 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24032 };
24033
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047}
24048
24049
24050static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24053 bool arg2 ;
24054 double arg3 ;
24055 double arg4 ;
24056 int arg5 = (int) 0 ;
24057 int arg6 = (int) 0 ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24066 arg2 = PyInt_AsLong(obj1) ? true : false;
24067 if (PyErr_Occurred()) SWIG_fail;
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 Py_INCREF(Py_None); resultobj = Py_None;
24076 return resultobj;
24077 fail:
24078 return NULL;
24079}
24080
24081
24082static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24083 PyObject *resultobj;
24084 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24085 double arg2 ;
24086 double arg3 ;
24087 int arg4 = (int) 0 ;
24088 int arg5 = (int) 0 ;
24089 PyObject * obj0 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 Py_INCREF(Py_None); resultobj = Py_None;
24104 return resultobj;
24105 fail:
24106 return NULL;
24107}
24108
24109
24110static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24111 PyObject *resultobj;
24112 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24113 double arg2 ;
24114 double arg3 ;
24115 int arg4 = (int) 0 ;
24116 int arg5 = (int) 0 ;
24117 PyObject * obj0 = 0 ;
24118 char *kwnames[] = {
24119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24120 };
24121
24122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 Py_INCREF(Py_None); resultobj = Py_None;
24132 return resultobj;
24133 fail:
24134 return NULL;
24135}
24136
24137
24138static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj;
24140 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24141 wxDC *arg2 = 0 ;
24142 double arg3 ;
24143 double arg4 ;
24144 double arg5 ;
24145 double arg6 ;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24150 };
24151
24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24155 if (arg2 == NULL) {
24156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 Py_INCREF(Py_None); resultobj = Py_None;
24166 return resultobj;
24167 fail:
24168 return NULL;
24169}
24170
24171
24172static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj;
24174 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24175 wxDC *arg2 = 0 ;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self",(char *) "dc", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24185 if (arg2 == NULL) {
24186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24187 }
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 (arg1)->base_OnDrawControlPoints(*arg2);
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 Py_INCREF(Py_None); resultobj = Py_None;
24196 return resultobj;
24197 fail:
24198 return NULL;
24199}
24200
24201
24202static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj;
24204 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24205 wxDC *arg2 = 0 ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self",(char *) "dc", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24215 if (arg2 == NULL) {
24216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24217 }
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 (arg1)->base_OnEraseControlPoints(*arg2);
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 return resultobj;
24227 fail:
24228 return NULL;
24229}
24230
24231
24232static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24235 wxDC *arg2 = 0 ;
24236 bool arg3 = (bool) True ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 PyObject * obj2 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 if (arg2 == NULL) {
24248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24249 }
24250 if (obj2) {
24251 arg3 = PyInt_AsLong(obj2) ? true : false;
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 (arg1)->base_OnMoveLink(*arg2,arg3);
24257
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 Py_INCREF(Py_None); resultobj = Py_None;
24262 return resultobj;
24263 fail:
24264 return NULL;
24265}
24266
24267
24268static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj;
24270 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24271 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24272 bool arg3 ;
24273 double arg4 ;
24274 double arg5 ;
24275 int arg6 = (int) 0 ;
24276 int arg7 = (int) 0 ;
24277 PyObject * obj0 = 0 ;
24278 PyObject * obj1 = 0 ;
24279 PyObject * obj2 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24287 arg3 = PyInt_AsLong(obj2) ? true : false;
24288 if (PyErr_Occurred()) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300}
24301
24302
24303static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24306 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24307 double arg3 ;
24308 double arg4 ;
24309 int arg5 = (int) 0 ;
24310 int arg6 = (int) 0 ;
24311 PyObject * obj0 = 0 ;
24312 PyObject * obj1 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 Py_INCREF(Py_None); resultobj = Py_None;
24328 return resultobj;
24329 fail:
24330 return NULL;
24331}
24332
24333
24334static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24337 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24338 double arg3 ;
24339 double arg4 ;
24340 int arg5 = (int) 0 ;
24341 int arg6 = (int) 0 ;
24342 PyObject * obj0 = 0 ;
24343 PyObject * obj1 = 0 ;
24344 char *kwnames[] = {
24345 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24346 };
24347
24348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 Py_INCREF(Py_None); resultobj = Py_None;
24359 return resultobj;
24360 fail:
24361 return NULL;
24362}
24363
24364
24365static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24368 double arg2 ;
24369 double arg3 ;
24370 PyObject * obj0 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "w",(char *) "h", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 (arg1)->base_OnBeginSize(arg2,arg3);
24380
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 Py_INCREF(Py_None); resultobj = Py_None;
24385 return resultobj;
24386 fail:
24387 return NULL;
24388}
24389
24390
24391static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24394 double arg2 ;
24395 double arg3 ;
24396 PyObject * obj0 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "self",(char *) "w",(char *) "h", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 (arg1)->base_OnEndSize(arg2,arg3);
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 Py_INCREF(Py_None); resultobj = Py_None;
24411 return resultobj;
24412 fail:
24413 return NULL;
24414}
24415
24416
24417static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
24418 PyObject *obj;
24419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24420 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
24421 Py_INCREF(obj);
24422 return Py_BuildValue((char *)"");
24423}
24424static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxDiagram *result;
24427 char *kwnames[] = {
24428 NULL
24429 };
24430
24431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 result = (wxDiagram *)new wxDiagram();
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 {
24440 resultobj = wxPyMake_wxObject(result);
24441 }
24442 return resultobj;
24443 fail:
24444 return NULL;
24445}
24446
24447
24448static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj;
24450 wxDiagram *arg1 = (wxDiagram *) 0 ;
24451 wxPyShape *arg2 = (wxPyShape *) 0 ;
24452 wxPyShape *arg3 = (wxPyShape *) NULL ;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 PyObject * obj2 = 0 ;
24456 char *kwnames[] = {
24457 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24458 };
24459
24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
24461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 if (obj2) {
24464 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24465 }
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 (arg1)->AddShape(arg2,arg3);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 Py_INCREF(Py_None); resultobj = Py_None;
24474 return resultobj;
24475 fail:
24476 return NULL;
24477}
24478
24479
24480static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxDiagram *arg1 = (wxDiagram *) 0 ;
24483 wxDC *arg2 = 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 char *kwnames[] = {
24487 (char *) "self",(char *) "dc", NULL
24488 };
24489
24490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
24491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24493 if (arg2 == NULL) {
24494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24495 }
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->Clear(*arg2);
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 Py_INCREF(Py_None); resultobj = Py_None;
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
24510static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxDiagram *arg1 = (wxDiagram *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 (arg1)->DeleteAllShapes();
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 Py_INCREF(Py_None); resultobj = Py_None;
24528 return resultobj;
24529 fail:
24530 return NULL;
24531}
24532
24533
24534static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24535 PyObject *resultobj;
24536 wxDiagram *arg1 = (wxDiagram *) 0 ;
24537 wxDC *arg2 = 0 ;
24538 double arg3 ;
24539 double arg4 ;
24540 double arg5 ;
24541 double arg6 ;
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj1 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:Diagram_DrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 if (arg2 == NULL) {
24552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24553 }
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 Py_INCREF(Py_None); resultobj = Py_None;
24562 return resultobj;
24563 fail:
24564 return NULL;
24565}
24566
24567
24568static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxDiagram *arg1 = (wxDiagram *) 0 ;
24571 long arg2 ;
24572 wxPyShape *result;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self",(char *) "id", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Diagram_FindShape",kwnames,&obj0,&arg2)) goto fail;
24579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 result = (wxPyShape *)(arg1)->FindShape(arg2);
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 {
24588 resultobj = wxPyMake_wxShapeEvtHandler(result);
24589 }
24590 return resultobj;
24591 fail:
24592 return NULL;
24593}
24594
24595
24596static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24597 PyObject *resultobj;
24598 wxDiagram *arg1 = (wxDiagram *) 0 ;
24599 wxPyShapeCanvas *result;
24600 PyObject * obj0 = 0 ;
24601 char *kwnames[] = {
24602 (char *) "self", NULL
24603 };
24604
24605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
24606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 {
24615 resultobj = wxPyMake_wxObject(result);
24616 }
24617 return resultobj;
24618 fail:
24619 return NULL;
24620}
24621
24622
24623static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxDiagram *arg1 = (wxDiagram *) 0 ;
24626 int result;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
24633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (int)(arg1)->GetCount();
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 resultobj = PyInt_FromLong((long)result);
24642 return resultobj;
24643 fail:
24644 return NULL;
24645}
24646
24647
24648static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxDiagram *arg1 = (wxDiagram *) 0 ;
24651 double result;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
24658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (double)(arg1)->GetGridSpacing();
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 resultobj = PyFloat_FromDouble(result);
24667 return resultobj;
24668 fail:
24669 return NULL;
24670}
24671
24672
24673static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24674 PyObject *resultobj;
24675 wxDiagram *arg1 = (wxDiagram *) 0 ;
24676 int result;
24677 PyObject * obj0 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
24683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (int)(arg1)->GetMouseTolerance();
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = PyInt_FromLong((long)result);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695}
24696
24697
24698static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxDiagram *arg1 = (wxDiagram *) 0 ;
24701 PyObject *result;
24702 PyObject * obj0 = 0 ;
24703 char *kwnames[] = {
24704 (char *) "self", NULL
24705 };
24706
24707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
24708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 result = (PyObject *)wxDiagram_GetShapeList(arg1);
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 resultobj = result;
24717 return resultobj;
24718 fail:
24719 return NULL;
24720}
24721
24722
24723static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
24724 PyObject *resultobj;
24725 wxDiagram *arg1 = (wxDiagram *) 0 ;
24726 bool result;
24727 PyObject * obj0 = 0 ;
24728 char *kwnames[] = {
24729 (char *) "self", NULL
24730 };
24731
24732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
24733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24734 {
24735 PyThreadState* __tstate = wxPyBeginAllowThreads();
24736 result = (bool)(arg1)->GetQuickEditMode();
24737
24738 wxPyEndAllowThreads(__tstate);
24739 if (PyErr_Occurred()) SWIG_fail;
24740 }
24741 resultobj = PyInt_FromLong((long)result);
24742 return resultobj;
24743 fail:
24744 return NULL;
24745}
24746
24747
24748static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
24749 PyObject *resultobj;
24750 wxDiagram *arg1 = (wxDiagram *) 0 ;
24751 bool result;
24752 PyObject * obj0 = 0 ;
24753 char *kwnames[] = {
24754 (char *) "self", NULL
24755 };
24756
24757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
24758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 result = (bool)(arg1)->GetSnapToGrid();
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 resultobj = PyInt_FromLong((long)result);
24767 return resultobj;
24768 fail:
24769 return NULL;
24770}
24771
24772
24773static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj;
24775 wxDiagram *arg1 = (wxDiagram *) 0 ;
24776 wxPyShape *arg2 = (wxPyShape *) 0 ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self",(char *) "shape", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
24784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 (arg1)->InsertShape(arg2);
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 Py_INCREF(Py_None); resultobj = Py_None;
24794 return resultobj;
24795 fail:
24796 return NULL;
24797}
24798
24799
24800static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
24801 PyObject *resultobj;
24802 wxDiagram *arg1 = (wxDiagram *) 0 ;
24803 wxDC *arg2 = 0 ;
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self",(char *) "dc", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 if (arg2 == NULL) {
24814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24815 }
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 (arg1)->RecentreAll(*arg2);
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 Py_INCREF(Py_None); resultobj = Py_None;
24824 return resultobj;
24825 fail:
24826 return NULL;
24827}
24828
24829
24830static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxDiagram *arg1 = (wxDiagram *) 0 ;
24833 wxDC *arg2 = 0 ;
24834 PyObject * obj0 = 0 ;
24835 PyObject * obj1 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "dc", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 if (arg2 == NULL) {
24844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24845 }
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 (arg1)->Redraw(*arg2);
24849
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 Py_INCREF(Py_None); resultobj = Py_None;
24854 return resultobj;
24855 fail:
24856 return NULL;
24857}
24858
24859
24860static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj;
24862 wxDiagram *arg1 = (wxDiagram *) 0 ;
24863 PyObject * obj0 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 (arg1)->RemoveAllShapes();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 Py_INCREF(Py_None); resultobj = Py_None;
24878 return resultobj;
24879 fail:
24880 return NULL;
24881}
24882
24883
24884static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxDiagram *arg1 = (wxDiagram *) 0 ;
24887 wxPyShape *arg2 = (wxPyShape *) 0 ;
24888 PyObject * obj0 = 0 ;
24889 PyObject * obj1 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self",(char *) "shape", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
24895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 (arg1)->RemoveShape(arg2);
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 Py_INCREF(Py_None); resultobj = Py_None;
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
24911static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxDiagram *arg1 = (wxDiagram *) 0 ;
24914 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
24915 PyObject * obj0 = 0 ;
24916 PyObject * obj1 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self",(char *) "canvas", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 (arg1)->SetCanvas(arg2);
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 Py_INCREF(Py_None); resultobj = Py_None;
24932 return resultobj;
24933 fail:
24934 return NULL;
24935}
24936
24937
24938static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24939 PyObject *resultobj;
24940 wxDiagram *arg1 = (wxDiagram *) 0 ;
24941 double arg2 ;
24942 PyObject * obj0 = 0 ;
24943 char *kwnames[] = {
24944 (char *) "self",(char *) "spacing", NULL
24945 };
24946
24947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Diagram_SetGridSpacing",kwnames,&obj0,&arg2)) goto fail;
24948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 (arg1)->SetGridSpacing(arg2);
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 Py_INCREF(Py_None); resultobj = Py_None;
24957 return resultobj;
24958 fail:
24959 return NULL;
24960}
24961
24962
24963static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxDiagram *arg1 = (wxDiagram *) 0 ;
24966 int arg2 ;
24967 PyObject * obj0 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self",(char *) "tolerance", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Diagram_SetMouseTolerance",kwnames,&obj0,&arg2)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 (arg1)->SetMouseTolerance(arg2);
24977
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 Py_INCREF(Py_None); resultobj = Py_None;
24982 return resultobj;
24983 fail:
24984 return NULL;
24985}
24986
24987
24988static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
24989 PyObject *resultobj;
24990 wxDiagram *arg1 = (wxDiagram *) 0 ;
24991 bool arg2 ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj1 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self",(char *) "mode", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25000 arg2 = PyInt_AsLong(obj1) ? true : false;
25001 if (PyErr_Occurred()) SWIG_fail;
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 (arg1)->SetQuickEditMode(arg2);
25005
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 Py_INCREF(Py_None); resultobj = Py_None;
25010 return resultobj;
25011 fail:
25012 return NULL;
25013}
25014
25015
25016static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj;
25018 wxDiagram *arg1 = (wxDiagram *) 0 ;
25019 bool arg2 ;
25020 PyObject * obj0 = 0 ;
25021 PyObject * obj1 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self",(char *) "snap", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25028 arg2 = PyInt_AsLong(obj1) ? true : false;
25029 if (PyErr_Occurred()) SWIG_fail;
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 (arg1)->SetSnapToGrid(arg2);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
25044static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxDiagram *arg1 = (wxDiagram *) 0 ;
25047 bool arg2 ;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self",(char *) "show", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
25055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25056 arg2 = PyInt_AsLong(obj1) ? true : false;
25057 if (PyErr_Occurred()) SWIG_fail;
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 (arg1)->ShowAll(arg2);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 Py_INCREF(Py_None); resultobj = Py_None;
25066 return resultobj;
25067 fail:
25068 return NULL;
25069}
25070
25071
25072static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxDiagram *arg1 = (wxDiagram *) 0 ;
25075 double *arg2 = (double *) 0 ;
25076 double *arg3 = (double *) 0 ;
25077 double temp2 ;
25078 double temp3 ;
25079 PyObject * obj0 = 0 ;
25080 PyObject * obj1 = 0 ;
25081 PyObject * obj2 = 0 ;
25082 char *kwnames[] = {
25083 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25084 };
25085
25086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25088 {
25089 temp2 = PyFloat_AsDouble(obj1);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 arg2 = &temp2;
25092 }
25093 {
25094 temp3 = PyFloat_AsDouble(obj2);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 arg3 = &temp3;
25097 }
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->Snap(arg2,arg3);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 Py_INCREF(Py_None); resultobj = Py_None;
25106 {
25107 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25108 resultobj = t_output_helper(resultobj,o);
25109 }
25110 {
25111 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25112 resultobj = t_output_helper(resultobj,o);
25113 }
25114 return resultobj;
25115 fail:
25116 return NULL;
25117}
25118
25119
25120static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
25121 PyObject *obj;
25122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25123 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
25124 Py_INCREF(obj);
25125 return Py_BuildValue((char *)"");
25126}
25127static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25128 PyObject *resultobj;
25129 wxWindow *arg1 = (wxWindow *) NULL ;
25130 int arg2 = (int) -1 ;
25131 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25132 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25133 wxSize const &arg4_defvalue = wxDefaultSize ;
25134 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25135 long arg5 = (long) wxBORDER ;
25136 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
25137 wxString *arg6 = (wxString *) &arg6_defvalue ;
25138 wxPyShapeCanvas *result;
25139 wxPoint temp3 ;
25140 wxSize temp4 ;
25141 bool temp6 = False ;
25142 PyObject * obj0 = 0 ;
25143 PyObject * obj2 = 0 ;
25144 PyObject * obj3 = 0 ;
25145 PyObject * obj5 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
25151 if (obj0) {
25152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25153 }
25154 if (obj2) {
25155 {
25156 arg3 = &temp3;
25157 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25158 }
25159 }
25160 if (obj3) {
25161 {
25162 arg4 = &temp4;
25163 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25164 }
25165 }
25166 if (obj5) {
25167 {
25168 arg6 = wxString_in_helper(obj5);
25169 if (arg6 == NULL) SWIG_fail;
25170 temp6 = True;
25171 }
25172 }
25173 {
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 {
25181 resultobj = wxPyMake_wxObject(result);
25182 }
25183 {
25184 if (temp6)
25185 delete arg6;
25186 }
25187 return resultobj;
25188 fail:
25189 {
25190 if (temp6)
25191 delete arg6;
25192 }
25193 return NULL;
25194}
25195
25196
25197static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25200 PyObject *arg2 = (PyObject *) 0 ;
25201 PyObject *arg3 = (PyObject *) 0 ;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 PyObject * obj2 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "self",(char *) "self",(char *) "_class", NULL
25207 };
25208
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25211 arg2 = obj1;
25212 arg3 = obj2;
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 (arg1)->_setCallbackInfo(arg2,arg3);
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 Py_INCREF(Py_None); resultobj = Py_None;
25221 return resultobj;
25222 fail:
25223 return NULL;
25224}
25225
25226
25227static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25230 wxPyShape *arg2 = (wxPyShape *) 0 ;
25231 wxPyShape *arg3 = (wxPyShape *) NULL ;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 PyObject * obj2 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25242 if (obj2) {
25243 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25244 }
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 (arg1)->AddShape(arg2,arg3);
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 Py_INCREF(Py_None); resultobj = Py_None;
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
25259static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25260 PyObject *resultobj;
25261 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25262 double arg2 ;
25263 double arg3 ;
25264 int *arg4 = (int *) 0 ;
25265 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
25266 wxPyShape *arg6 = (wxPyShape *) NULL ;
25267 wxPyShape *result;
25268 int temp4 ;
25269 PyObject * obj0 = 0 ;
25270 PyObject * obj3 = 0 ;
25271 PyObject * obj4 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25274 };
25275
25276 arg4 = &temp4;
25277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
25278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25279 if (obj3) {
25280 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25281 }
25282 if (obj4) {
25283 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25284 }
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 {
25293 resultobj = wxPyMake_wxShapeEvtHandler(result);
25294 }
25295 {
25296 PyObject *o = PyInt_FromLong((long) (*arg4));
25297 resultobj = t_output_helper(resultobj,o);
25298 }
25299 return resultobj;
25300 fail:
25301 return NULL;
25302}
25303
25304
25305static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj;
25307 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25308 double arg2 ;
25309 double arg3 ;
25310 int *arg4 = (int *) 0 ;
25311 int arg5 ;
25312 wxPyShape *result;
25313 int temp4 ;
25314 PyObject * obj0 = 0 ;
25315 char *kwnames[] = {
25316 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25317 };
25318
25319 arg4 = &temp4;
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&arg2,&arg3,&arg5)) goto fail;
25321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 {
25330 resultobj = wxPyMake_wxShapeEvtHandler(result);
25331 }
25332 {
25333 PyObject *o = PyInt_FromLong((long) (*arg4));
25334 resultobj = t_output_helper(resultobj,o);
25335 }
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
25342static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25345 wxDiagram *result;
25346 PyObject * obj0 = 0 ;
25347 char *kwnames[] = {
25348 (char *) "self", NULL
25349 };
25350
25351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
25352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 result = (wxDiagram *)(arg1)->GetDiagram();
25356
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
25360 {
25361 resultobj = wxPyMake_wxObject(result);
25362 }
25363 return resultobj;
25364 fail:
25365 return NULL;
25366}
25367
25368
25369static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25372 bool result;
25373 PyObject * obj0 = 0 ;
25374 char *kwnames[] = {
25375 (char *) "self", NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
25379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 result = (bool)(arg1)->GetQuickEditMode();
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 resultobj = PyInt_FromLong((long)result);
25388 return resultobj;
25389 fail:
25390 return NULL;
25391}
25392
25393
25394static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25395 PyObject *resultobj;
25396 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25397 wxPyShape *arg2 = (wxPyShape *) 0 ;
25398 PyObject * obj0 = 0 ;
25399 PyObject * obj1 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "self",(char *) "shape", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 (arg1)->InsertShape(arg2);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 Py_INCREF(Py_None); resultobj = Py_None;
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
25421static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25424 double arg2 ;
25425 double arg3 ;
25426 int arg4 = (int) 0 ;
25427 PyObject * obj0 = 0 ;
25428 char *kwnames[] = {
25429 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
25437
25438 wxPyEndAllowThreads(__tstate);
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 Py_INCREF(Py_None); resultobj = Py_None;
25442 return resultobj;
25443 fail:
25444 return NULL;
25445}
25446
25447
25448static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25449 PyObject *resultobj;
25450 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25451 double arg2 ;
25452 double arg3 ;
25453 int arg4 = (int) 0 ;
25454 PyObject * obj0 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 return resultobj;
25470 fail:
25471 return NULL;
25472}
25473
25474
25475static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj;
25477 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25478 double arg2 ;
25479 double arg3 ;
25480 int arg4 = (int) 0 ;
25481 PyObject * obj0 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 Py_INCREF(Py_None); resultobj = Py_None;
25496 return resultobj;
25497 fail:
25498 return NULL;
25499}
25500
25501
25502static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj;
25504 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25505 double arg2 ;
25506 double arg3 ;
25507 int arg4 = (int) 0 ;
25508 PyObject * obj0 = 0 ;
25509 char *kwnames[] = {
25510 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25511 };
25512
25513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 Py_INCREF(Py_None); resultobj = Py_None;
25523 return resultobj;
25524 fail:
25525 return NULL;
25526}
25527
25528
25529static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25530 PyObject *resultobj;
25531 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25532 bool arg2 ;
25533 double arg3 ;
25534 double arg4 ;
25535 int arg5 = (int) 0 ;
25536 PyObject * obj0 = 0 ;
25537 PyObject * obj1 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25544 arg2 = PyInt_AsLong(obj1) ? true : false;
25545 if (PyErr_Occurred()) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 Py_INCREF(Py_None); resultobj = Py_None;
25554 return resultobj;
25555 fail:
25556 return NULL;
25557}
25558
25559
25560static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj;
25562 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25563 bool arg2 ;
25564 double arg3 ;
25565 double arg4 ;
25566 int arg5 = (int) 0 ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25575 arg2 = PyInt_AsLong(obj1) ? true : false;
25576 if (PyErr_Occurred()) SWIG_fail;
25577 {
25578 PyThreadState* __tstate = wxPyBeginAllowThreads();
25579 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
25580
25581 wxPyEndAllowThreads(__tstate);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 }
25584 Py_INCREF(Py_None); resultobj = Py_None;
25585 return resultobj;
25586 fail:
25587 return NULL;
25588}
25589
25590
25591static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj;
25593 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25594 double arg2 ;
25595 double arg3 ;
25596 int arg4 = (int) 0 ;
25597 PyObject * obj0 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25604 {
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
25607
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 Py_INCREF(Py_None); resultobj = Py_None;
25612 return resultobj;
25613 fail:
25614 return NULL;
25615}
25616
25617
25618static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25619 PyObject *resultobj;
25620 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25621 double arg2 ;
25622 double arg3 ;
25623 int arg4 = (int) 0 ;
25624 PyObject * obj0 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 (arg1)->base_OnRightClick(arg2,arg3,arg4);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 Py_INCREF(Py_None); resultobj = Py_None;
25639 return resultobj;
25640 fail:
25641 return NULL;
25642}
25643
25644
25645static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
25646 PyObject *resultobj;
25647 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25648 wxDC *arg2 = 0 ;
25649 PyObject * obj0 = 0 ;
25650 PyObject * obj1 = 0 ;
25651 char *kwnames[] = {
25652 (char *) "self",(char *) "dc", NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
25656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25658 if (arg2 == NULL) {
25659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25660 }
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 (arg1)->Redraw(*arg2);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 Py_INCREF(Py_None); resultobj = Py_None;
25669 return resultobj;
25670 fail:
25671 return NULL;
25672}
25673
25674
25675static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj;
25677 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25678 wxPyShape *arg2 = (wxPyShape *) 0 ;
25679 PyObject * obj0 = 0 ;
25680 PyObject * obj1 = 0 ;
25681 char *kwnames[] = {
25682 (char *) "self",(char *) "shape", NULL
25683 };
25684
25685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
25686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 (arg1)->RemoveShape(arg2);
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 Py_INCREF(Py_None); resultobj = Py_None;
25696 return resultobj;
25697 fail:
25698 return NULL;
25699}
25700
25701
25702static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25703 PyObject *resultobj;
25704 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25705 wxDiagram *arg2 = (wxDiagram *) 0 ;
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 char *kwnames[] = {
25709 (char *) "self",(char *) "diagram", NULL
25710 };
25711
25712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
25713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 (arg1)->SetDiagram(arg2);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
25722 Py_INCREF(Py_None); resultobj = Py_None;
25723 return resultobj;
25724 fail:
25725 return NULL;
25726}
25727
25728
25729static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25730 PyObject *resultobj;
25731 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25732 double *arg2 = (double *) 0 ;
25733 double *arg3 = (double *) 0 ;
25734 double temp2 ;
25735 double temp3 ;
25736 PyObject * obj0 = 0 ;
25737 PyObject * obj1 = 0 ;
25738 PyObject * obj2 = 0 ;
25739 char *kwnames[] = {
25740 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25741 };
25742
25743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25745 {
25746 temp2 = PyFloat_AsDouble(obj1);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 arg2 = &temp2;
25749 }
25750 {
25751 temp3 = PyFloat_AsDouble(obj2);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 arg3 = &temp3;
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->Snap(arg2,arg3);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 Py_INCREF(Py_None); resultobj = Py_None;
25763 {
25764 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25765 resultobj = t_output_helper(resultobj,o);
25766 }
25767 {
25768 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25769 resultobj = t_output_helper(resultobj,o);
25770 }
25771 return resultobj;
25772 fail:
25773 return NULL;
25774}
25775
25776
25777static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
25778 PyObject *obj;
25779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25780 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
25781 Py_INCREF(obj);
25782 return Py_BuildValue((char *)"");
25783}
25784static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
25785 PyObject *resultobj;
25786 char *kwnames[] = {
25787 NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 wxOGLInitialize();
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 Py_INCREF(Py_None); resultobj = Py_None;
25799 return resultobj;
25800 fail:
25801 return NULL;
25802}
25803
25804
25805static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
25806 PyObject *resultobj;
25807 char *kwnames[] = {
25808 NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 wxOGLCleanUp();
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 Py_INCREF(Py_None); resultobj = Py_None;
25820 return resultobj;
25821 fail:
25822 return NULL;
25823}
25824
25825
25826static PyMethodDef SwigMethods[] = {
25827 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
25857 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
25895 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
26061 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
26103 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
26136 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
26169 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
26205 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
26265 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
26270 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
26316 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
26350 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
26407 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
26438 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
26469 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
26488 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
26559 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
26596 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
26628 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
26654 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
26675 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
26677 { NULL, NULL }
26678};
26679
26680
26681/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26682
26683static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26684 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26685}
26686static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26687 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26688}
26689static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26690 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26691}
26692static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26693 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26694}
26695static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26696 return (void *)((wxPanel *) ((wxPyPanel *) x));
26697}
26698static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26699 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26700}
26701static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26702 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26703}
26704static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26705 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26706}
26707static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
26708 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26709}
26710static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26711 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26712}
26713static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
26714 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26715}
26716static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26717 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26718}
26719static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26720 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26721}
26722static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26723 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26724}
26725static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26726 return (void *)((wxWindow *) ((wxMenuBar *) x));
26727}
26728static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26730}
26731static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26732 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26733}
26734static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26736}
26737static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26739}
26740static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26742}
26743static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26744 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26745}
26746static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26748}
26749static void *_p_wxPanelTo_p_wxWindow(void *x) {
26750 return (void *)((wxWindow *) ((wxPanel *) x));
26751}
26752static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26753 return (void *)((wxWindow *) ((wxStatusBar *) x));
26754}
26755static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26756 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26757}
26758static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26759 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26760}
26761static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26762 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26763}
26764static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26765 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26766}
26767static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26768 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26769}
26770static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26771 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26772}
26773static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26774 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26775}
26776static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26777 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26778}
26779static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26780 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26781}
26782static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26783 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26784}
26785static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26786 return (void *)((wxWindow *) ((wxSashWindow *) x));
26787}
26788static void *_p_wxControlTo_p_wxWindow(void *x) {
26789 return (void *)((wxWindow *) ((wxControl *) x));
26790}
26791static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26792 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26793}
26794static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26795 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26796}
26797static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26798 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26799}
26800static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26801 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26802}
26803static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26804 return (void *)((wxWindow *) ((wxPyWindow *) x));
26805}
26806static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26807 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26808}
26809static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
26810 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26811}
26812static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26813 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26814}
26815static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26816 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26817}
26818static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26819 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26820}
26821static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26822 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26823}
26824static void *_p_wxFrameTo_p_wxWindow(void *x) {
26825 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26826}
26827static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26829}
26830static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26832}
26833static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26835}
26836static void *_p_wxDialogTo_p_wxWindow(void *x) {
26837 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26838}
26839static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26841}
26842static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26844}
26845static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26847}
26848static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26849 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26850}
26851static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26852 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26853}
26854static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
26855 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
26856}
26857static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26859}
26860static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26862}
26863static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26864 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26865}
26866static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26867 return (void *)((wxObject *) ((wxSizerItem *) x));
26868}
26869static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26871}
26872static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26873 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26874}
26875static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
26876 return (void *)((wxObject *) ((wxOGLConstraint *) x));
26877}
26878static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26879 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26880}
26881static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26882 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26883}
26884static void *_p_wxSizerTo_p_wxObject(void *x) {
26885 return (void *)((wxObject *) ((wxSizer *) x));
26886}
26887static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
26888 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
26889}
26890static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
26891 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
26892}
26893static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
26894 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
26895}
26896static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26897 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26898}
26899static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26901}
26902static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
26903 return (void *)((wxObject *) ((wxArrowHead *) x));
26904}
26905static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26907}
26908static void *_p_wxEventTo_p_wxObject(void *x) {
26909 return (void *)((wxObject *) ((wxEvent *) x));
26910}
26911static void *_p_wxFontDataTo_p_wxObject(void *x) {
26912 return (void *)((wxObject *) ((wxFontData *) x));
26913}
26914static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26915 return (void *)((wxObject *) ((wxPrintData *) x));
26916}
26917static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26918 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26919}
26920static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26921 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26922}
26923static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26924 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26925}
26926static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26927 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26928}
26929static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26930 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26931}
26932static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26934}
26935static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26936 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26937}
26938static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26939 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26940}
26941static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26942 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26943}
26944static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26945 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26946}
26947static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26948 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26949}
26950static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26951 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26952}
26953static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26955}
26956static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
26957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26958}
26959static void *_p_wxControlTo_p_wxObject(void *x) {
26960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26961}
26962static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
26963 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
26964}
26965static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26966 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26967}
26968static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26970}
26971static void *_p_wxFSFileTo_p_wxObject(void *x) {
26972 return (void *)((wxObject *) ((wxFSFile *) x));
26973}
26974static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26975 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26976}
26977static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
26978 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
26979}
26980static void *_p_wxPySizerTo_p_wxObject(void *x) {
26981 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26982}
26983static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26985}
26986static void *_p_wxColourDataTo_p_wxObject(void *x) {
26987 return (void *)((wxObject *) ((wxColourData *) x));
26988}
26989static void *_p_wxPyEventTo_p_wxObject(void *x) {
26990 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26991}
26992static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26994}
26995static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26997}
26998static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27000}
27001static void *_p_wxFileDialogTo_p_wxObject(void *x) {
27002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27003}
27004static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
27005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27006}
27007static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
27008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27009}
27010static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
27011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27012}
27013static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
27014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27015}
27016static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
27017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27018}
27019static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
27020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27021}
27022static void *_p_wxShowEventTo_p_wxObject(void *x) {
27023 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27024}
27025static void *_p_wxPrinterTo_p_wxObject(void *x) {
27026 return (void *)((wxObject *) ((wxPrinter *) x));
27027}
27028static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27029 return (void *)((wxObject *) ((wxMenuItem *) x));
27030}
27031static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27032 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27033}
27034static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27036}
27037static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27038 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27039}
27040static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27041 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27042}
27043static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27044 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27045}
27046static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27047 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27048}
27049static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27050 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27051}
27052static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27053 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27054}
27055static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27056 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27057}
27058static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27059 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27060}
27061static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27062 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27063}
27064static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27065 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27066}
27067static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27068 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27069}
27070static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27071 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27072}
27073static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27074 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27075}
27076static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27077 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27078}
27079static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27080 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27081}
27082static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27083 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27084}
27085static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27086 return (void *)((wxObject *) ((wxImageHandler *) x));
27087}
27088static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27089 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27090}
27091static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27092 return (void *)((wxObject *) ((wxEvtHandler *) x));
27093}
27094static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
27095 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
27096}
27097static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
27098 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
27099}
27100static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
27101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27102}
27103static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
27104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27105}
27106static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
27107 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27108}
27109static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27110 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27111}
27112static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
27113 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27114}
27115static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
27116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27117}
27118static void *_p_wxImageTo_p_wxObject(void *x) {
27119 return (void *)((wxObject *) ((wxImage *) x));
27120}
27121static void *_p_wxFrameTo_p_wxObject(void *x) {
27122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27123}
27124static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
27125 return (void *)((wxObject *) ((wxPyPrintout *) x));
27126}
27127static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27128 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27129}
27130static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
27131 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
27132}
27133static void *_p_wxDiagramTo_p_wxObject(void *x) {
27134 return (void *)((wxObject *) ((wxDiagram *) x));
27135}
27136static void *_p_wxStatusBarTo_p_wxObject(void *x) {
27137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
27138}
27139static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
27140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27141}
27142static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27144}
27145static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27146 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27147}
27148static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27149 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27150}
44127b65
RD
27151static void *_p_wxWindowTo_p_wxObject(void *x) {
27152 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27153}
27154static void *_p_wxMenuTo_p_wxObject(void *x) {
27155 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27156}
27157static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27159}
41f1cec7
RD
27160static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
27161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27162}
44127b65
RD
27163static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
27164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
27165}
27166static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
27167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
27168}
27169static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
27170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
27171}
27172static void *_p_wxSashWindowTo_p_wxObject(void *x) {
27173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
27174}
27175static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
27176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27177}
27178static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
27179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
27180}
27181static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
27182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27183}
27184static void *_p_wxTipWindowTo_p_wxObject(void *x) {
27185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27186}
27187static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
27188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27189}
27190static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27192}
27193static void *_p_wxSashEventTo_p_wxObject(void *x) {
27194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27195}
27196static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27197 return (void *)((wxObject *) ((wxPrintPreview *) x));
27198}
27199static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27200 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27201}
27202static void *_p_wxPanelTo_p_wxObject(void *x) {
27203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27204}
27205static void *_p_wxDialogTo_p_wxObject(void *x) {
27206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27207}
27208static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27210}
27211static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27213}
27214static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27216}
27217static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27219}
27220static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27222}
27223static void *_p_wxPyShapeTo_p_wxObject(void *x) {
27224 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
27225}
27226static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27227 return (void *)((wxObject *) ((wxFileSystem *) x));
27228}
27229static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27231}
27232static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27233 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27234}
27235static void *_p_wxPyAppTo_p_wxObject(void *x) {
27236 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27237}
27238static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27239 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27240}
27241static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27242 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27243}
27244static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27245 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27246}
27247static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27249}
27250static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27251 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27252}
27253static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27255}
27256static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27258}
27259static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27260 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27261}
27262static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27263 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27264}
27265static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27267}
27268static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
27269 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
27270}
27271static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
27272 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27273}
27274static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
27275 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27276}
27277static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
27278 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
27279}
27280static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
27281 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
27282}
27283static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27285}
27286static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27288}
27289static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27291}
27292static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27294}
27295static void *_p_wxValidatorTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27297}
27298static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) ((wxShapeRegion *) x));
27300}
27301static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27302 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
27303}
27304static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
27305 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27306}
27307static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
27308 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27309}
27310static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27311 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27312}
27313static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
27314 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
27315}
27316static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
27317 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27318}
27319static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
27320 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27321}
27322static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
27323 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27324}
27325static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
27326 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27327}
27328static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
27329 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
27330}
27331static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
27332 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27333}
27334static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
27335 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
27336}
27337static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
27338 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
27339}
27340static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
27341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27342}
27343static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
27344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27345}
27346static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
27347 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27348}
27349static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27350 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27351}
27352static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27353 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27354}
27355static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27356 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27357}
27358static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27359 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27360}
27361static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
27362 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27363}
27364static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
27365 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27366}
27367static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
27368 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27369}
27370static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
27371 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27372}
27373static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
27374 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27375}
27376static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
27377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27378}
27379static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
27380 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27381}
27382static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
27383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
27384}
27385static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
27386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
27387}
27388static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
27389 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27390}
27391static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
27392 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27393}
27394static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
27395 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27396}
27397static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
27398 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
27399}
27400static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
27401 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27402}
27403static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
27404 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
27405}
27406static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
27407 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
27408}
27409static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
27410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
27411}
27412static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27413 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27414}
27415static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
27416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27417}
27418static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
27419 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
27420}
27421static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
27422 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
27423}
27424static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27425 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27426}
27427static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
27428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27429}
27430static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
27431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27432}
27433static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
27434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27435}
27436static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27437 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27438}
27439static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27441}
27442static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
27443 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
27444}
27445static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
27446 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27447}
27448static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
27449 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27450}
27451static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
27452 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27453}
27454static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
27455 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27456}
27457static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
27458 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27459}
27460static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
27461 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27462}
27463static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
27464 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
27465}
27466static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
27467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27468}
27469static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
27470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27471}
27472static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
27473 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27474}
27475static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
27476 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27477}
27478static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
27479 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27480}
27481static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
27482 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27483}
27484static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
27485 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27486}
27487static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
27488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27489}
27490static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
27491 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
27492}
27493static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
27494 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
27495}
27496static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
27497 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27498}
27499static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
27500 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27501}
27502static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
27503 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
27504}
27505static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
27506 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
27507}
27508static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
27509 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
27510}
27511static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
27512 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
27513}
27514static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
27515 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27516}
27517static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
27518 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27519}
27520static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
27521 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
27522}
27523static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
27524 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
27525}
27526static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
27527 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
27528}
27529static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
27530 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27531}
27532static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
27533 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27534}
27535static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
27536 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
27537}
27538static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
27539 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
27540}
27541static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
27542 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27543}
27544static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
27545 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27546}
27547static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
27548 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
27549}
27550static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
27551 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27552}
27553static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27554static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27555static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27556static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27557static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27558static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27559static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27560static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27561static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27562static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
27563static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27564static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27565static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27566static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow},{0}};
27567static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
27568static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27569static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27570static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27571static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27572static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27573static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject},{0}};
27574static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27575static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27576static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShapeEvtHandler"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler},{0}};
27577static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
27578static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
27579static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27580static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27581static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27582static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape},{"_p_wxPyShape"},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape},{0}};
27583static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27584static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27585static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0},{"_p_wxPyRectangleShape"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape},{0}};
27586static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
27587static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27588static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27589static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27590static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27591static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27592static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27593
27594static swig_type_info *swig_types_initial[] = {
27595_swigt__p_wxOGLConstraint,
27596_swigt__p_wxBrush,
27597_swigt__p_wxColour,
27598_swigt__p_wxShapeRegion,
27599_swigt__p_wxDC,
27600_swigt__p_wxRealPoint,
27601_swigt__p_wxPyControlPoint,
27602_swigt__p_wxArrowHead,
27603_swigt__p_wxStringList,
27604_swigt__p_wxPanel,
27605_swigt__p_bool,
27606_swigt__p_wxList,
27607_swigt__p_wxFont,
27608_swigt__p_wxScrolledWindow,
27609_swigt__p_wxWindow,
27610_swigt__p_double,
27611_swigt__p_wxPyDivisionShape,
27612_swigt__p_wxPyDrawnShape,
27613_swigt__p_wxPyPolygonShape,
27614_swigt__p_wxBitmap,
27615_swigt__p_wxObject,
27616_swigt__p_wxPyBitmapShape,
27617_swigt__p_wxString,
27618_swigt__p_wxPyShapeEvtHandler,
27619_swigt__p_wxEvtHandler,
27620_swigt__p_wxPyEllipseShape,
27621_swigt__p_wxPyShapeCanvas,
27622_swigt__p_wxPoint,
27623_swigt__p_wxDiagram,
27624_swigt__p_wxPyShape,
27625_swigt__p_wxClassInfo,
27626_swigt__p_wxPyLineShape,
27627_swigt__p_wxPyRectangleShape,
27628_swigt__p_wxPyCompositeShape,
27629_swigt__p_wxPyCircleShape,
27630_swigt__p_wxPen,
27631_swigt__p_int,
27632_swigt__p_wxPseudoMetaFile,
27633_swigt__p_wxPyTextShape,
27634_swigt__p_wxPyDividedShape,
276350
27636};
27637
27638
27639/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27640
27641static swig_const_info swig_const_table[] = {
27642{ SWIG_PY_INT, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE, 0, 0, 0},
27643{ SWIG_PY_INT, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS, 0, 0, 0},
27644{ SWIG_PY_INT, (char *)"KEY_SHIFT", (long) KEY_SHIFT, 0, 0, 0},
27645{ SWIG_PY_INT, (char *)"KEY_CTRL", (long) KEY_CTRL, 0, 0, 0},
27646{ SWIG_PY_INT, (char *)"ARROW_NONE", (long) ARROW_NONE, 0, 0, 0},
27647{ SWIG_PY_INT, (char *)"ARROW_END", (long) ARROW_END, 0, 0, 0},
27648{ SWIG_PY_INT, (char *)"ARROW_BOTH", (long) ARROW_BOTH, 0, 0, 0},
27649{ SWIG_PY_INT, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE, 0, 0, 0},
27650{ SWIG_PY_INT, (char *)"ARROW_START", (long) ARROW_START, 0, 0, 0},
27651{ SWIG_PY_INT, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE, 0, 0, 0},
27652{ SWIG_PY_INT, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE, 0, 0, 0},
27653{ SWIG_PY_INT, (char *)"ARROW_ARROW", (long) ARROW_ARROW, 0, 0, 0},
27654{ SWIG_PY_INT, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE, 0, 0, 0},
27655{ SWIG_PY_INT, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE, 0, 0, 0},
27656{ SWIG_PY_INT, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE, 0, 0, 0},
27657{ SWIG_PY_INT, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END, 0, 0, 0},
27658{ SWIG_PY_INT, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START, 0, 0, 0},
27659{ SWIG_PY_INT, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL, 0, 0, 0},
27660{ SWIG_PY_INT, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL, 0, 0, 0},
27661{ SWIG_PY_INT, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL, 0, 0, 0},
27662{ SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO, 0, 0, 0},
27663{ SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM, 0, 0, 0},
27664{ SWIG_PY_INT, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE, 0, 0, 0},
27665{ SWIG_PY_INT, (char *)"FORMAT_NONE", (long) FORMAT_NONE, 0, 0, 0},
27666{ SWIG_PY_INT, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ, 0, 0, 0},
27667{ SWIG_PY_INT, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT, 0, 0, 0},
27668{ SWIG_PY_INT, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS, 0, 0, 0},
27669{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ, 0, 0, 0},
27670{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT, 0, 0, 0},
27671{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE, 0, 0, 0},
27672{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE, 0, 0, 0},
27673{ SWIG_PY_INT, (char *)"SHADOW_NONE", (long) SHADOW_NONE, 0, 0, 0},
27674{ SWIG_PY_INT, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT, 0, 0, 0},
27675{ SWIG_PY_INT, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT, 0, 0, 0},
27676{ SWIG_PY_INT, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT, 0, 0, 0},
27677{ SWIG_PY_INT, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT, 0, 0, 0},
27678{ SWIG_PY_INT, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT, 0, 0, 0},
27679{ SWIG_PY_INT, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT, 0, 0, 0},
27680{ SWIG_PY_INT, (char *)"OP_ALL", (long) OP_ALL, 0, 0, 0},
27681{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE, 0, 0, 0},
27682{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE, 0, 0, 0},
27683{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING, 0, 0, 0},
27684{ SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL, 0, 0, 0},
27685{ SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB, 0, 0, 0},
27686{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY, 0, 0, 0},
27687{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY, 0, 0, 0},
27688{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH, 0, 0, 0},
27689{ SWIG_PY_INT, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF, 0, 0, 0},
27690{ SWIG_PY_INT, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF, 0, 0, 0},
27691{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE, 0, 0, 0},
27692{ SWIG_PY_INT, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW, 0, 0, 0},
27693{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP, 0, 0, 0},
27694{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM, 0, 0, 0},
27695{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT, 0, 0, 0},
27696{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT, 0, 0, 0},
27697{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP, 0, 0, 0},
27698{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM, 0, 0, 0},
27699{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT, 0, 0, 0},
27700{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT, 0, 0, 0},
27701{ SWIG_PY_INT, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE, 0, 0, 0},
27702{ SWIG_PY_INT, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT, 0, 0, 0},
27703{ SWIG_PY_INT, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP, 0, 0, 0},
27704{ SWIG_PY_INT, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT, 0, 0, 0},
27705{ SWIG_PY_INT, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM, 0, 0, 0},
27706{0}};
27707
27708#ifdef __cplusplus
27709}
27710#endif
27711
27712#ifdef __cplusplus
27713extern "C"
27714#endif
27715SWIGEXPORT(void) SWIG_init(void) {
27716 static PyObject *SWIG_globals = 0;
27717 static int typeinit = 0;
27718 PyObject *m, *d;
27719 int i;
27720 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27721 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27722 d = PyModule_GetDict(m);
27723
27724 if (!typeinit) {
27725 for (i = 0; swig_types_initial[i]; i++) {
27726 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27727 }
27728 typeinit = 1;
27729 }
27730 SWIG_InstallConstants(d,swig_const_table);
27731
27732
27733
27734 // initoglbasicc();
27735 // initoglshapesc();
27736 // initoglshapes2c();
27737 // initoglcanvasc();
27738
27739
27740 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27741 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27742 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27743 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27744 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27745 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27746 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27747 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27748 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27749 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27750 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27751 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27752 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27753 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
27754
27755
27756}
27757