]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/mac/ogl_wrap.cpp
Fixed a very weird typo
[wxWidgets.git] / wxPython / contrib / ogl / mac / 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
0f774bef
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
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
0f774bef 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 {
0f774bef 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 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 *);
0f774bef
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
0f774bef 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
0f774bef
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
269 static const wxString wxPyEmptyString(wxT(""));
270
271
272static PyObject* t_output_helper(PyObject* target, PyObject* o) {
273 PyObject* o2;
274 PyObject* o3;
275
276 if (!target) {
277 target = o;
278 } else if (target == Py_None) {
279 Py_DECREF(Py_None);
280 target = o;
281 } else {
282 if (!PyTuple_Check(target)) {
283 o2 = target;
284 target = PyTuple_New(1);
285 PyTuple_SetItem(target, 0, o2);
286 }
287 o3 = PyTuple_New(1);
288 PyTuple_SetItem(o3, 0, o);
289
290 o2 = target;
291 target = PySequence_Concat(o2, o3);
292 Py_DECREF(o2);
293 Py_DECREF(o3);
294 }
295 return target;
296}
297
298
299 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
300
301void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
302 self->SetClientObject(new wxPyOORClientData(_self));
303 }
304
305 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
306
307PyObject *wxPyShape_GetChildren(wxPyShape *self){
308 wxList& list = self->GetChildren();
309 return wxPy_ConvertShapeList(&list);
310 }
311PyObject *wxPyShape_GetLines(wxPyShape *self){
312 wxList& list = self->GetLines();
313 return wxPy_ConvertShapeList(&list);
314 }
315PyObject *wxPyShape_GetRegions(wxPyShape *self){
316 wxList& list = self->GetRegions();
317 return wxPy_ConvertList(&list);
318 }
319void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
320 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
321 self->ApplyAttachmentOrdering(*list);
322 delete list;
323 }
324
325// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
326// 6, so instead I'l just expand it out by hand...
327// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
328
329 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
330 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
331 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
332 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
333 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
334 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
335 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
336 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
337 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
338 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
339 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
340 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
341 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
342 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
343 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
344 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
345 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
346 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
347 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
348 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
349 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
350 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
351 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
352 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
353 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
354 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
355 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
356 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
357 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
358
359
360
361 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
362
363
364 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
365
366
367 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
368
369wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
370 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
371 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
372 delete list;
373 return rv;
374 }
375
376 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
377
378wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
379 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
380 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
381 delete list;
382 return rv;
383 }
384PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
385 wxList& list = self->GetConstraints();
386 return wxPy_ConvertList(&list);
387 }
388PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
389 wxList& list = self->GetDivisions();
390 return wxPy_ConvertShapeList(&list);
391 }
392
393 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
394
395
396 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
397
398
399 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
400
401
402 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
403
404
405 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
406
407void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
408 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
409 self->AddArrowOrdered(arrow, *list, end);
410 delete list;
411 }
412PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
413 wxList* list = self->GetLineControlPoints();
414 return wxPy_ConvertShapeList(list);
415 }
416
417 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
418
419PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
420 wxList* list = wxPy_wxRealPoint_ListHelper(points);
421 if (list) {
422 self->Create(list);
423 Py_INCREF(Py_None);
424 return Py_None;
425 }
426 else return NULL;
427 }
428PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
429 wxList* list = self->GetPoints();
430 PyObject* pyList;
431 PyObject* pyObj;
432 wxObject* wxObj;
433 wxNode* node = list->GetFirst();
434
435 wxPyBeginBlockThreads();
436 pyList = PyList_New(0);
437 while (node) {
438 wxObj = node->GetData();
439 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
440 PyList_Append(pyList, pyObj);
441 node = node->GetNext();
442 }
443 wxPyEndBlockThreads();
444 return pyList;
445 }
446
447 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
448
449
450 // Put some wx default wxChar* values into wxStrings.
451 DECLARE_DEF_STRING(ShapeCanvasNameStr);
452
453PyObject *wxDiagram_GetShapeList(wxDiagram *self){
454 wxList* list = self->GetShapeList();
455 return wxPy_ConvertShapeList(list);
456 }
457
458 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
459 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
460 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
461 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
462 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
463 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
464 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
465 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
466
467
468//---------------------------------------------------------------------------
469
470// Convert from a Python list to a list of className objects. This one will
471// work for any class for the VERY generic cases, but beyond that the helper
472// needs to know more about the type.
473wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
474 wxPyBeginBlockThreads();
475 if (!PyList_Check(pyList)) {
476 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
477 wxPyEndBlockThreads();
478 return NULL;
479 }
480 int count = PyList_Size(pyList);
481 wxList* list = new wxList;
482 if (! list) {
483 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
484 wxPyEndBlockThreads();
485 return NULL;
486 }
487 for (int x=0; x<count; x++) {
488 PyObject* pyo = PyList_GetItem(pyList, x);
489 wxObject* wxo = NULL;
490
491 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
492 wxString errmsg;
493 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
494 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
495 wxPyEndBlockThreads();
496 return NULL;
497 }
498 list->Append(wxo);
499 }
500 wxPyEndBlockThreads();
501 return list;
502}
503
504//---------------------------------------------------------------------------
505
506wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
507 wxPyBeginBlockThreads();
508 if (!PyList_Check(pyList)) {
509 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
510 wxPyEndBlockThreads();
511 return NULL;
512 }
513 int count = PyList_Size(pyList);
514 wxList* list = new wxList;
515 if (! list) {
516 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
517 wxPyEndBlockThreads();
518 return NULL;
519 }
520 for (int x=0; x<count; x++) {
521 PyObject* pyo = PyList_GetItem(pyList, x);
522
523 if (PyTuple_Check(pyo)) {
524 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
525 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
526
527 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
528 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
529
530 list->Append((wxObject*) new wxRealPoint(val1, val2));
531
532 } else {
533 wxRealPoint* wxo = NULL;
534 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
535 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
536 wxPyEndBlockThreads();
537 return NULL;
538 }
539 list->Append((wxObject*) new wxRealPoint(*wxo));
540 }
541 }
542 wxPyEndBlockThreads();
543 return list;
544}
545
546//---------------------------------------------------------------------------
547
548PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
549 PyObject* target = NULL;
550
551 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
552 // If it's derived from wxShapeEvtHandler then there may
553 // already be a pointer to a Python object that we can use
554 // in the OOR data.
555 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
556 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
557 if (data) {
558 target = data->m_obj;
559 Py_INCREF(target);
560 }
561 }
562 if (! target) {
563 target = wxPyMake_wxObject2(source, FALSE);
564 if (target != Py_None)
565 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
566 }
567 return target;
568}
569
570//---------------------------------------------------------------------------
571
572PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
573 wxList* list = (wxList*)listbase;
574 PyObject* pyList;
575 PyObject* pyObj;
576 wxObject* wxObj;
577 wxNode* node = list->GetFirst();
578
579 wxPyBeginBlockThreads();
580 pyList = PyList_New(0);
581 while (node) {
582 wxObj = node->GetData();
583 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
584 PyList_Append(pyList, pyObj);
585 node = node->GetNext();
586 }
587 wxPyEndBlockThreads();
588 return pyList;
589}
590
591
592//---------------------------------------------------------------------------
593
594IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
595IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
596IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
597IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
598IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
599IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
600IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
601IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
602IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
603IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
604IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
605IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
606IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
607IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
608IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
609
610//---------------------------------------------------------------------------
611
612// extern "C" SWIGEXPORT(void) initoglbasicc();
613// extern "C" SWIGEXPORT(void) initoglshapesc();
614// extern "C" SWIGEXPORT(void) initoglshapes2c();
615// extern "C" SWIGEXPORT(void) initoglcanvasc();
616
617#ifdef __cplusplus
618extern "C" {
619#endif
620static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
621 PyObject *resultobj;
622 wxShapeRegion *result;
623 char *kwnames[] = {
624 NULL
625 };
626
627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
628 {
629 PyThreadState* __tstate = wxPyBeginAllowThreads();
630 result = (wxShapeRegion *)new wxShapeRegion();
631
632 wxPyEndAllowThreads(__tstate);
633 if (PyErr_Occurred()) SWIG_fail;
634 }
635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
636 return resultobj;
637 fail:
638 return NULL;
639}
640
641
642static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
643 PyObject *resultobj;
644 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
645 wxString *arg2 = 0 ;
646 bool temp2 = False ;
647 PyObject * obj0 = 0 ;
648 PyObject * obj1 = 0 ;
649 char *kwnames[] = {
650 (char *) "self",(char *) "s", NULL
651 };
652
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
655 {
656 arg2 = wxString_in_helper(obj1);
657 if (arg2 == NULL) SWIG_fail;
658 temp2 = True;
659 }
660 {
661 PyThreadState* __tstate = wxPyBeginAllowThreads();
662 (arg1)->SetText((wxString const &)*arg2);
663
664 wxPyEndAllowThreads(__tstate);
665 if (PyErr_Occurred()) SWIG_fail;
666 }
667 Py_INCREF(Py_None); resultobj = Py_None;
668 {
669 if (temp2)
670 delete arg2;
671 }
672 return resultobj;
673 fail:
674 {
675 if (temp2)
676 delete arg2;
677 }
678 return NULL;
679}
680
681
682static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
683 PyObject *resultobj;
684 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
685 wxFont *arg2 = (wxFont *) 0 ;
686 PyObject * obj0 = 0 ;
687 PyObject * obj1 = 0 ;
688 char *kwnames[] = {
689 (char *) "self",(char *) "f", NULL
690 };
691
692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
694 {
695 wxFont* temp;
696 if (obj1) {
697 if (obj1 == Py_None) {
698 temp = NULL;
699 }
700 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
701 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
702 return NULL;
703 }
704 }
705 if (temp)
706 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
707 temp->GetFamily(),
708 temp->GetStyle(),
709 temp->GetWeight(),
710 temp->GetUnderlined(),
711 temp->GetFaceName(),
712 temp->GetEncoding());
713 else
714 arg2 = NULL;
715 }
716 {
717 PyThreadState* __tstate = wxPyBeginAllowThreads();
718 (arg1)->SetFont(arg2);
719
720 wxPyEndAllowThreads(__tstate);
721 if (PyErr_Occurred()) SWIG_fail;
722 }
723 Py_INCREF(Py_None); resultobj = Py_None;
724 return resultobj;
725 fail:
726 return NULL;
727}
728
729
730static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
731 PyObject *resultobj;
732 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
733 double arg2 ;
734 double arg3 ;
735 PyObject * obj0 = 0 ;
736 char *kwnames[] = {
737 (char *) "self",(char *) "w",(char *) "h", NULL
738 };
739
740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetMinSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
742 {
743 PyThreadState* __tstate = wxPyBeginAllowThreads();
744 (arg1)->SetMinSize(arg2,arg3);
745
746 wxPyEndAllowThreads(__tstate);
747 if (PyErr_Occurred()) SWIG_fail;
748 }
749 Py_INCREF(Py_None); resultobj = Py_None;
750 return resultobj;
751 fail:
752 return NULL;
753}
754
755
756static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
757 PyObject *resultobj;
758 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
759 double arg2 ;
760 double arg3 ;
761 PyObject * obj0 = 0 ;
762 char *kwnames[] = {
763 (char *) "self",(char *) "w",(char *) "h", NULL
764 };
765
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
768 {
769 PyThreadState* __tstate = wxPyBeginAllowThreads();
770 (arg1)->SetSize(arg2,arg3);
771
772 wxPyEndAllowThreads(__tstate);
773 if (PyErr_Occurred()) SWIG_fail;
774 }
775 Py_INCREF(Py_None); resultobj = Py_None;
776 return resultobj;
777 fail:
778 return NULL;
779}
780
781
782static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject *resultobj;
784 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
785 double arg2 ;
786 double arg3 ;
787 PyObject * obj0 = 0 ;
788 char *kwnames[] = {
789 (char *) "self",(char *) "x",(char *) "y", NULL
790 };
791
792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
794 {
795 PyThreadState* __tstate = wxPyBeginAllowThreads();
796 (arg1)->SetPosition(arg2,arg3);
797
798 wxPyEndAllowThreads(__tstate);
799 if (PyErr_Occurred()) SWIG_fail;
800 }
801 Py_INCREF(Py_None); resultobj = Py_None;
802 return resultobj;
803 fail:
804 return NULL;
805}
806
807
808static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
811 double arg2 ;
812 double arg3 ;
813 PyObject * obj0 = 0 ;
814 char *kwnames[] = {
815 (char *) "self",(char *) "x",(char *) "y", NULL
816 };
817
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetProportions",kwnames,&obj0,&arg2,&arg3)) goto fail;
819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
820 {
821 PyThreadState* __tstate = wxPyBeginAllowThreads();
822 (arg1)->SetProportions(arg2,arg3);
823
824 wxPyEndAllowThreads(__tstate);
825 if (PyErr_Occurred()) SWIG_fail;
826 }
827 Py_INCREF(Py_None); resultobj = Py_None;
828 return resultobj;
829 fail:
830 return NULL;
831}
832
833
834static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
835 PyObject *resultobj;
836 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
837 int arg2 ;
838 PyObject * obj0 = 0 ;
839 char *kwnames[] = {
840 (char *) "self",(char *) "mode", NULL
841 };
842
843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames,&obj0,&arg2)) goto fail;
844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 (arg1)->SetFormatMode(arg2);
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) SWIG_fail;
851 }
852 Py_INCREF(Py_None); resultobj = Py_None;
853 return resultobj;
854 fail:
855 return NULL;
856}
857
858
859static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject *resultobj;
861 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
862 wxString *arg2 = 0 ;
863 bool temp2 = False ;
864 PyObject * obj0 = 0 ;
865 PyObject * obj1 = 0 ;
866 char *kwnames[] = {
867 (char *) "self",(char *) "s", NULL
868 };
869
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
872 {
873 arg2 = wxString_in_helper(obj1);
874 if (arg2 == NULL) SWIG_fail;
875 temp2 = True;
876 }
877 {
878 PyThreadState* __tstate = wxPyBeginAllowThreads();
879 (arg1)->SetName((wxString const &)*arg2);
880
881 wxPyEndAllowThreads(__tstate);
882 if (PyErr_Occurred()) SWIG_fail;
883 }
884 Py_INCREF(Py_None); resultobj = Py_None;
885 {
886 if (temp2)
887 delete arg2;
888 }
889 return resultobj;
890 fail:
891 {
892 if (temp2)
893 delete arg2;
894 }
895 return NULL;
896}
897
898
899static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
900 PyObject *resultobj;
901 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
902 wxString *arg2 = 0 ;
903 bool temp2 = False ;
904 PyObject * obj0 = 0 ;
905 PyObject * obj1 = 0 ;
906 char *kwnames[] = {
907 (char *) "self",(char *) "col", NULL
908 };
909
910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
912 {
913 arg2 = wxString_in_helper(obj1);
914 if (arg2 == NULL) SWIG_fail;
915 temp2 = True;
916 }
917 {
918 PyThreadState* __tstate = wxPyBeginAllowThreads();
919 (arg1)->SetColour((wxString const &)*arg2);
920
921 wxPyEndAllowThreads(__tstate);
922 if (PyErr_Occurred()) SWIG_fail;
923 }
924 Py_INCREF(Py_None); resultobj = Py_None;
925 {
926 if (temp2)
927 delete arg2;
928 }
929 return resultobj;
930 fail:
931 {
932 if (temp2)
933 delete arg2;
934 }
935 return NULL;
936}
937
938
939static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject *resultobj;
941 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
942 wxString result;
943 PyObject * obj0 = 0 ;
944 char *kwnames[] = {
945 (char *) "self", NULL
946 };
947
948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
950 {
951 PyThreadState* __tstate = wxPyBeginAllowThreads();
952 result = (arg1)->GetText();
953
954 wxPyEndAllowThreads(__tstate);
955 if (PyErr_Occurred()) SWIG_fail;
956 }
957 {
958#if wxUSE_UNICODE
959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
960#else
961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
962#endif
963 }
964 return resultobj;
965 fail:
966 return NULL;
967}
968
969
970static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject *resultobj;
972 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
973 wxFont *result;
974 PyObject * obj0 = 0 ;
975 char *kwnames[] = {
976 (char *) "self", NULL
977 };
978
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
981 {
982 PyThreadState* __tstate = wxPyBeginAllowThreads();
983 result = (wxFont *)(arg1)->GetFont();
984
985 wxPyEndAllowThreads(__tstate);
986 if (PyErr_Occurred()) SWIG_fail;
987 }
988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
989 return resultobj;
990 fail:
991 return NULL;
992}
993
994
995static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
996 PyObject *resultobj;
997 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
998 double *arg2 = (double *) 0 ;
999 double *arg3 = (double *) 0 ;
1000 double temp2 ;
1001 double temp3 ;
1002 PyObject * obj0 = 0 ;
1003 char *kwnames[] = {
1004 (char *) "self", NULL
1005 };
1006
1007 arg2 = &temp2;
1008 arg3 = &temp3;
1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1011 {
1012 PyThreadState* __tstate = wxPyBeginAllowThreads();
1013 (arg1)->GetMinSize(arg2,arg3);
1014
1015 wxPyEndAllowThreads(__tstate);
1016 if (PyErr_Occurred()) SWIG_fail;
1017 }
1018 Py_INCREF(Py_None); resultobj = Py_None;
1019 {
1020 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1021 resultobj = t_output_helper(resultobj,o);
1022 }
1023 {
1024 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1025 resultobj = t_output_helper(resultobj,o);
1026 }
1027 return resultobj;
1028 fail:
1029 return NULL;
1030}
1031
1032
1033static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject *resultobj;
1035 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1036 double *arg2 = (double *) 0 ;
1037 double *arg3 = (double *) 0 ;
1038 double temp2 ;
1039 double temp3 ;
1040 PyObject * obj0 = 0 ;
1041 char *kwnames[] = {
1042 (char *) "self", NULL
1043 };
1044
1045 arg2 = &temp2;
1046 arg3 = &temp3;
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 (arg1)->GetProportion(arg2,arg3);
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 Py_INCREF(Py_None); resultobj = Py_None;
1057 {
1058 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1059 resultobj = t_output_helper(resultobj,o);
1060 }
1061 {
1062 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1063 resultobj = t_output_helper(resultobj,o);
1064 }
1065 return resultobj;
1066 fail:
1067 return NULL;
1068}
1069
1070
1071static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1074 double *arg2 = (double *) 0 ;
1075 double *arg3 = (double *) 0 ;
1076 double temp2 ;
1077 double temp3 ;
1078 PyObject * obj0 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "self", NULL
1081 };
1082
1083 arg2 = &temp2;
1084 arg3 = &temp3;
1085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 (arg1)->GetSize(arg2,arg3);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 Py_INCREF(Py_None); resultobj = Py_None;
1095 {
1096 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1097 resultobj = t_output_helper(resultobj,o);
1098 }
1099 {
1100 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1101 resultobj = t_output_helper(resultobj,o);
1102 }
1103 return resultobj;
1104 fail:
1105 return NULL;
1106}
1107
1108
1109static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1110 PyObject *resultobj;
1111 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1112 double *arg2 = (double *) 0 ;
1113 double *arg3 = (double *) 0 ;
1114 double temp2 ;
1115 double temp3 ;
1116 PyObject * obj0 = 0 ;
1117 char *kwnames[] = {
1118 (char *) "self", NULL
1119 };
1120
1121 arg2 = &temp2;
1122 arg3 = &temp3;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1125 {
1126 PyThreadState* __tstate = wxPyBeginAllowThreads();
1127 (arg1)->GetPosition(arg2,arg3);
1128
1129 wxPyEndAllowThreads(__tstate);
1130 if (PyErr_Occurred()) SWIG_fail;
1131 }
1132 Py_INCREF(Py_None); resultobj = Py_None;
1133 {
1134 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1135 resultobj = t_output_helper(resultobj,o);
1136 }
1137 {
1138 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1139 resultobj = t_output_helper(resultobj,o);
1140 }
1141 return resultobj;
1142 fail:
1143 return NULL;
1144}
1145
1146
1147static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1148 PyObject *resultobj;
1149 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1150 int result;
1151 PyObject * obj0 = 0 ;
1152 char *kwnames[] = {
1153 (char *) "self", NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1158 {
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = (int)(arg1)->GetFormatMode();
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
1165 resultobj = PyInt_FromLong((long)result);
1166 return resultobj;
1167 fail:
1168 return NULL;
1169}
1170
1171
1172static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1175 wxString result;
1176 PyObject * obj0 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "self", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 {
1184 PyThreadState* __tstate = wxPyBeginAllowThreads();
1185 result = (arg1)->GetName();
1186
1187 wxPyEndAllowThreads(__tstate);
1188 if (PyErr_Occurred()) SWIG_fail;
1189 }
1190 {
1191#if wxUSE_UNICODE
1192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1193#else
1194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1195#endif
1196 }
1197 return resultobj;
1198 fail:
1199 return NULL;
1200}
1201
1202
1203static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1204 PyObject *resultobj;
1205 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1206 wxString result;
1207 PyObject * obj0 = 0 ;
1208 char *kwnames[] = {
1209 (char *) "self", NULL
1210 };
1211
1212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 {
1215 PyThreadState* __tstate = wxPyBeginAllowThreads();
1216 result = (arg1)->GetColour();
1217
1218 wxPyEndAllowThreads(__tstate);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 }
1221 {
1222#if wxUSE_UNICODE
1223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1224#else
1225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1226#endif
1227 }
1228 return resultobj;
1229 fail:
1230 return NULL;
1231}
1232
1233
1234static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1235 PyObject *resultobj;
1236 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1237 wxColour *result;
1238 PyObject * obj0 = 0 ;
1239 char *kwnames[] = {
1240 (char *) "self", NULL
1241 };
1242
1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1245 {
1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
1247 result = (wxColour *)(arg1)->GetActualColourObject();
1248
1249 wxPyEndAllowThreads(__tstate);
1250 if (PyErr_Occurred()) SWIG_fail;
1251 }
1252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
1253 return resultobj;
1254 fail:
1255 return NULL;
1256}
1257
1258
1259static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1262 wxList *result;
1263 PyObject * obj0 = 0 ;
1264 char *kwnames[] = {
1265 (char *) "self", NULL
1266 };
1267
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 {
1273 wxList &_result_ref = (arg1)->GetFormattedText();
1274 result = (wxList *) &_result_ref;
1275 }
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) SWIG_fail;
1279 }
1280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1281 return resultobj;
1282 fail:
1283 return NULL;
1284}
1285
1286
1287static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1288 PyObject *resultobj;
1289 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1290 wxString result;
1291 PyObject * obj0 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "self", NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = (arg1)->GetPenColour();
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 {
1306#if wxUSE_UNICODE
1307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1308#else
1309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1310#endif
1311 }
1312 return resultobj;
1313 fail:
1314 return NULL;
1315}
1316
1317
1318static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject *resultobj;
1320 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1321 int result;
1322 PyObject * obj0 = 0 ;
1323 char *kwnames[] = {
1324 (char *) "self", NULL
1325 };
1326
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1329 {
1330 PyThreadState* __tstate = wxPyBeginAllowThreads();
1331 result = (int)(arg1)->GetPenStyle();
1332
1333 wxPyEndAllowThreads(__tstate);
1334 if (PyErr_Occurred()) SWIG_fail;
1335 }
1336 resultobj = PyInt_FromLong((long)result);
1337 return resultobj;
1338 fail:
1339 return NULL;
1340}
1341
1342
1343static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject *resultobj;
1345 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1346 int arg2 ;
1347 PyObject * obj0 = 0 ;
1348 char *kwnames[] = {
1349 (char *) "self",(char *) "style", NULL
1350 };
1351
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames,&obj0,&arg2)) goto fail;
1353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1354 {
1355 PyThreadState* __tstate = wxPyBeginAllowThreads();
1356 (arg1)->SetPenStyle(arg2);
1357
1358 wxPyEndAllowThreads(__tstate);
1359 if (PyErr_Occurred()) SWIG_fail;
1360 }
1361 Py_INCREF(Py_None); resultobj = Py_None;
1362 return resultobj;
1363 fail:
1364 return NULL;
1365}
1366
1367
1368static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1371 wxString *arg2 = 0 ;
1372 bool temp2 = False ;
1373 PyObject * obj0 = 0 ;
1374 PyObject * obj1 = 0 ;
1375 char *kwnames[] = {
1376 (char *) "self",(char *) "col", NULL
1377 };
1378
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1381 {
1382 arg2 = wxString_in_helper(obj1);
1383 if (arg2 == NULL) SWIG_fail;
1384 temp2 = True;
1385 }
1386 {
1387 PyThreadState* __tstate = wxPyBeginAllowThreads();
1388 (arg1)->SetPenColour((wxString const &)*arg2);
1389
1390 wxPyEndAllowThreads(__tstate);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 Py_INCREF(Py_None); resultobj = Py_None;
1394 {
1395 if (temp2)
1396 delete arg2;
1397 }
1398 return resultobj;
1399 fail:
1400 {
1401 if (temp2)
1402 delete arg2;
1403 }
1404 return NULL;
1405}
1406
1407
1408static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1411 wxPen *result;
1412 PyObject * obj0 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 result = (wxPen *)(arg1)->GetActualPen();
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1427 return resultobj;
1428 fail:
1429 return NULL;
1430}
1431
1432
1433static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1436 double result;
1437 PyObject * obj0 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "self", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 result = (double)(arg1)->GetWidth();
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 resultobj = PyFloat_FromDouble(result);
1452 return resultobj;
1453 fail:
1454 return NULL;
1455}
1456
1457
1458static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1461 double result;
1462 PyObject * obj0 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 result = (double)(arg1)->GetHeight();
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) SWIG_fail;
1475 }
1476 resultobj = PyFloat_FromDouble(result);
1477 return resultobj;
1478 fail:
1479 return NULL;
1480}
1481
1482
1483static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1484 PyObject *resultobj;
1485 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1486 PyObject * obj0 = 0 ;
1487 char *kwnames[] = {
1488 (char *) "self", NULL
1489 };
1490
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1493 {
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 (arg1)->ClearText();
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 Py_INCREF(Py_None); resultobj = Py_None;
1501 return resultobj;
1502 fail:
1503 return NULL;
1504}
1505
1506
1507static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1508 PyObject *obj;
1509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1510 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1511 Py_INCREF(obj);
1512 return Py_BuildValue((char *)"");
1513}
1514static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject *resultobj;
1516 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1517 wxPyShape *arg2 = (wxPyShape *) NULL ;
1518 wxPyShapeEvtHandler *result;
1519 PyObject * obj0 = 0 ;
1520 PyObject * obj1 = 0 ;
1521 char *kwnames[] = {
1522 (char *) "prev",(char *) "shape", NULL
1523 };
1524
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1526 if (obj0) {
1527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1528 }
1529 if (obj1) {
1530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1531 }
1532 {
1533 PyThreadState* __tstate = wxPyBeginAllowThreads();
1534 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1535
1536 wxPyEndAllowThreads(__tstate);
1537 if (PyErr_Occurred()) SWIG_fail;
1538 }
1539 {
1540 resultobj = wxPyMake_wxShapeEvtHandler(result);
1541 }
1542 return resultobj;
1543 fail:
1544 return NULL;
1545}
1546
1547
1548static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1551 PyObject *arg2 = (PyObject *) 0 ;
1552 PyObject *arg3 = (PyObject *) 0 ;
1553 PyObject * obj0 = 0 ;
1554 PyObject * obj1 = 0 ;
1555 PyObject * obj2 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self",(char *) "self",(char *) "_class", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 arg2 = obj1;
1563 arg3 = obj2;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 (arg1)->_setCallbackInfo(arg2,arg3);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 Py_INCREF(Py_None); resultobj = Py_None;
1572 return resultobj;
1573 fail:
1574 return NULL;
1575}
1576
1577
1578static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1581 PyObject *arg2 = (PyObject *) 0 ;
1582 PyObject * obj0 = 0 ;
1583 PyObject * obj1 = 0 ;
1584 char *kwnames[] = {
1585 (char *) "self",(char *) "_self", NULL
1586 };
1587
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1590 arg2 = obj1;
1591 {
1592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1593 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1594
1595 wxPyEndAllowThreads(__tstate);
1596 if (PyErr_Occurred()) SWIG_fail;
1597 }
1598 Py_INCREF(Py_None); resultobj = Py_None;
1599 return resultobj;
1600 fail:
1601 return NULL;
1602}
1603
1604
1605static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1608 wxPyShape *arg2 = (wxPyShape *) 0 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "self",(char *) "sh", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 (arg1)->SetShape(arg2);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 Py_INCREF(Py_None); resultobj = Py_None;
1626 return resultobj;
1627 fail:
1628 return NULL;
1629}
1630
1631
1632static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1633 PyObject *resultobj;
1634 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1635 wxPyShape *result;
1636 PyObject * obj0 = 0 ;
1637 char *kwnames[] = {
1638 (char *) "self", NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
1642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (wxPyShape *)(arg1)->GetShape();
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 resultobj = wxPyMake_wxShapeEvtHandler(result);
1652 }
1653 return resultobj;
1654 fail:
1655 return NULL;
1656}
1657
1658
1659static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1662 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665 char *kwnames[] = {
1666 (char *) "self",(char *) "handler", NULL
1667 };
1668
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
1670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 (arg1)->SetPreviousHandler(arg2);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 Py_INCREF(Py_None); resultobj = Py_None;
1680 return resultobj;
1681 fail:
1682 return NULL;
1683}
1684
1685
1686static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1687 PyObject *resultobj;
1688 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1689 wxPyShapeEvtHandler *result;
1690 PyObject * obj0 = 0 ;
1691 char *kwnames[] = {
1692 (char *) "self", NULL
1693 };
1694
1695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
1696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 {
1705 resultobj = wxPyMake_wxShapeEvtHandler(result);
1706 }
1707 return resultobj;
1708 fail:
1709 return NULL;
1710}
1711
1712
1713static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1716 wxPyShapeEvtHandler *result;
1717 PyObject * obj0 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 {
1732 resultobj = wxPyMake_wxShapeEvtHandler(result);
1733 }
1734 return resultobj;
1735 fail:
1736 return NULL;
1737}
1738
1739
1740static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject *resultobj;
1742 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1743 PyObject * obj0 = 0 ;
1744 char *kwnames[] = {
1745 (char *) "self", NULL
1746 };
1747
1748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
1749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 (arg1)->base_OnDelete();
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 Py_INCREF(Py_None); resultobj = Py_None;
1758 return resultobj;
1759 fail:
1760 return NULL;
1761}
1762
1763
1764static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1767 wxDC *arg2 = 0 ;
1768 PyObject * obj0 = 0 ;
1769 PyObject * obj1 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "self",(char *) "dc", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1777 if (arg2 == NULL) {
1778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1779 }
1780 {
1781 PyThreadState* __tstate = wxPyBeginAllowThreads();
1782 (arg1)->base_OnDraw(*arg2);
1783
1784 wxPyEndAllowThreads(__tstate);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 }
1787 Py_INCREF(Py_None); resultobj = Py_None;
1788 return resultobj;
1789 fail:
1790 return NULL;
1791}
1792
1793
1794static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1797 wxDC *arg2 = 0 ;
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800 char *kwnames[] = {
1801 (char *) "self",(char *) "dc", NULL
1802 };
1803
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
1805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1807 if (arg2 == NULL) {
1808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1809 }
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 (arg1)->base_OnDrawContents(*arg2);
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 Py_INCREF(Py_None); resultobj = Py_None;
1818 return resultobj;
1819 fail:
1820 return NULL;
1821}
1822
1823
1824static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject *resultobj;
1826 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1827 wxDC *arg2 = 0 ;
1828 bool arg3 = (bool) False ;
1829 PyObject * obj0 = 0 ;
1830 PyObject * obj1 = 0 ;
1831 PyObject * obj2 = 0 ;
1832 char *kwnames[] = {
1833 (char *) "self",(char *) "dc",(char *) "erase", NULL
1834 };
1835
1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
1837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1839 if (arg2 == NULL) {
1840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1841 }
1842 if (obj2) {
1843 arg3 = PyInt_AsLong(obj2) ? true : false;
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 (arg1)->base_OnDrawBranches(*arg2,arg3);
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 Py_INCREF(Py_None); resultobj = Py_None;
1854 return resultobj;
1855 fail:
1856 return NULL;
1857}
1858
1859
1860static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1863 wxDC *arg2 = 0 ;
1864 PyObject * obj0 = 0 ;
1865 PyObject * obj1 = 0 ;
1866 char *kwnames[] = {
1867 (char *) "self",(char *) "dc", NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
1871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1873 if (arg2 == NULL) {
1874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1875 }
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 (arg1)->base_OnMoveLinks(*arg2);
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 Py_INCREF(Py_None); resultobj = Py_None;
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1893 wxDC *arg2 = 0 ;
1894 PyObject * obj0 = 0 ;
1895 PyObject * obj1 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self",(char *) "dc", NULL
1898 };
1899
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
1901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 if (arg2 == NULL) {
1904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1905 }
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->base_OnErase(*arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
1920static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1923 wxDC *arg2 = 0 ;
1924 PyObject * obj0 = 0 ;
1925 PyObject * obj1 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self",(char *) "dc", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 if (arg2 == NULL) {
1934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1935 }
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 (arg1)->base_OnEraseContents(*arg2);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 Py_INCREF(Py_None); resultobj = Py_None;
1944 return resultobj;
1945 fail:
1946 return NULL;
1947}
1948
1949
1950static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1953 wxDC *arg2 = 0 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "dc", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1963 if (arg2 == NULL) {
1964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1965 }
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 (arg1)->base_OnHighlight(*arg2);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 Py_INCREF(Py_None); resultobj = Py_None;
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
1980static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1981 PyObject *resultobj;
1982 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1983 double arg2 ;
1984 double arg3 ;
1985 int arg4 = (int) 0 ;
1986 int arg5 = (int) 0 ;
1987 PyObject * obj0 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
1993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
2008static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2011 double arg2 ;
2012 double arg3 ;
2013 int arg4 = (int) 0 ;
2014 int arg5 = (int) 0 ;
2015 PyObject * obj0 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033}
2034
2035
2036static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2039 double arg2 ;
2040 double arg3 ;
2041 int arg4 = (int) 0 ;
2042 int arg5 = (int) 0 ;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 Py_INCREF(Py_None); resultobj = Py_None;
2058 return resultobj;
2059 fail:
2060 return NULL;
2061}
2062
2063
2064static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2067 double arg2 ;
2068 double arg3 ;
2069 PyObject * obj0 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "x",(char *) "y", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 (arg1)->base_OnSize(arg2,arg3);
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 Py_INCREF(Py_None); resultobj = Py_None;
2084 return resultobj;
2085 fail:
2086 return NULL;
2087}
2088
2089
2090static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2093 wxDC *arg2 = 0 ;
2094 double arg3 ;
2095 double arg4 ;
2096 double arg5 ;
2097 double arg6 ;
2098 bool arg7 = (bool) True ;
2099 bool result;
2100 PyObject * obj0 = 0 ;
2101 PyObject * obj1 = 0 ;
2102 PyObject * obj6 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2110 if (arg2 == NULL) {
2111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2112 }
2113 if (obj6) {
2114 arg7 = PyInt_AsLong(obj6) ? true : false;
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 resultobj = PyInt_FromLong((long)result);
2125 return resultobj;
2126 fail:
2127 return NULL;
2128}
2129
2130
2131static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject *resultobj;
2133 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2134 wxDC *arg2 = 0 ;
2135 double arg3 ;
2136 double arg4 ;
2137 double arg5 ;
2138 double arg6 ;
2139 bool arg7 = (bool) True ;
2140 PyObject * obj0 = 0 ;
2141 PyObject * obj1 = 0 ;
2142 PyObject * obj6 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 if (arg2 == NULL) {
2151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2152 }
2153 if (obj6) {
2154 arg7 = PyInt_AsLong(obj6) ? true : false;
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 Py_INCREF(Py_None); resultobj = Py_None;
2165 return resultobj;
2166 fail:
2167 return NULL;
2168}
2169
2170
2171static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2172 PyObject *resultobj;
2173 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2174 bool arg2 ;
2175 double arg3 ;
2176 double arg4 ;
2177 int arg5 = (int) 0 ;
2178 int arg6 = (int) 0 ;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 arg2 = PyInt_AsLong(obj1) ? true : false;
2188 if (PyErr_Occurred()) SWIG_fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 Py_INCREF(Py_None); resultobj = Py_None;
2197 return resultobj;
2198 fail:
2199 return NULL;
2200}
2201
2202
2203static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2206 double arg2 ;
2207 double arg3 ;
2208 int arg4 = (int) 0 ;
2209 int arg5 = (int) 0 ;
2210 PyObject * obj0 = 0 ;
2211 char *kwnames[] = {
2212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2213 };
2214
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228}
2229
2230
2231static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2234 double arg2 ;
2235 double arg3 ;
2236 int arg4 = (int) 0 ;
2237 int arg5 = (int) 0 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2262 bool arg2 ;
2263 double arg3 ;
2264 double arg4 ;
2265 int arg5 = (int) 0 ;
2266 int arg6 = (int) 0 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 arg2 = PyInt_AsLong(obj1) ? true : false;
2276 if (PyErr_Occurred()) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 return resultobj;
2286 fail:
2287 return NULL;
2288}
2289
2290
2291static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2294 double arg2 ;
2295 double arg3 ;
2296 int arg4 = (int) 0 ;
2297 int arg5 = (int) 0 ;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 Py_INCREF(Py_None); resultobj = Py_None;
2313 return resultobj;
2314 fail:
2315 return NULL;
2316}
2317
2318
2319static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2322 double arg2 ;
2323 double arg3 ;
2324 int arg4 = (int) 0 ;
2325 int arg5 = (int) 0 ;
2326 PyObject * obj0 = 0 ;
2327 char *kwnames[] = {
2328 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2329 };
2330
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 Py_INCREF(Py_None); resultobj = Py_None;
2341 return resultobj;
2342 fail:
2343 return NULL;
2344}
2345
2346
2347static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2350 wxDC *arg2 = 0 ;
2351 double arg3 ;
2352 double arg4 ;
2353 double arg5 ;
2354 double arg6 ;
2355 PyObject * obj0 = 0 ;
2356 PyObject * obj1 = 0 ;
2357 char *kwnames[] = {
2358 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2359 };
2360
2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 if (arg2 == NULL) {
2365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2366 }
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 Py_INCREF(Py_None); resultobj = Py_None;
2375 return resultobj;
2376 fail:
2377 return NULL;
2378}
2379
2380
2381static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2384 wxDC *arg2 = 0 ;
2385 PyObject * obj0 = 0 ;
2386 PyObject * obj1 = 0 ;
2387 char *kwnames[] = {
2388 (char *) "self",(char *) "dc", NULL
2389 };
2390
2391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 if (arg2 == NULL) {
2395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2396 }
2397 {
2398 PyThreadState* __tstate = wxPyBeginAllowThreads();
2399 (arg1)->base_OnDrawControlPoints(*arg2);
2400
2401 wxPyEndAllowThreads(__tstate);
2402 if (PyErr_Occurred()) SWIG_fail;
2403 }
2404 Py_INCREF(Py_None); resultobj = Py_None;
2405 return resultobj;
2406 fail:
2407 return NULL;
2408}
2409
2410
2411static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2414 wxDC *arg2 = 0 ;
2415 PyObject * obj0 = 0 ;
2416 PyObject * obj1 = 0 ;
2417 char *kwnames[] = {
2418 (char *) "self",(char *) "dc", NULL
2419 };
2420
2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2424 if (arg2 == NULL) {
2425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2426 }
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->base_OnEraseControlPoints(*arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438}
2439
2440
2441static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2444 wxDC *arg2 = 0 ;
2445 bool arg3 = (bool) True ;
2446 PyObject * obj0 = 0 ;
2447 PyObject * obj1 = 0 ;
2448 PyObject * obj2 = 0 ;
2449 char *kwnames[] = {
2450 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2451 };
2452
2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if (arg2 == NULL) {
2457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2458 }
2459 if (obj2) {
2460 arg3 = PyInt_AsLong(obj2) ? true : false;
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 {
2464 PyThreadState* __tstate = wxPyBeginAllowThreads();
2465 (arg1)->base_OnMoveLink(*arg2,arg3);
2466
2467 wxPyEndAllowThreads(__tstate);
2468 if (PyErr_Occurred()) SWIG_fail;
2469 }
2470 Py_INCREF(Py_None); resultobj = Py_None;
2471 return resultobj;
2472 fail:
2473 return NULL;
2474}
2475
2476
2477static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject *resultobj;
2479 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2480 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2481 bool arg3 ;
2482 double arg4 ;
2483 double arg5 ;
2484 int arg6 = (int) 0 ;
2485 int arg7 = (int) 0 ;
2486 PyObject * obj0 = 0 ;
2487 PyObject * obj1 = 0 ;
2488 PyObject * obj2 = 0 ;
2489 char *kwnames[] = {
2490 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
2494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2496 arg3 = PyInt_AsLong(obj2) ? true : false;
2497 if (PyErr_Occurred()) SWIG_fail;
2498 {
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 Py_INCREF(Py_None); resultobj = Py_None;
2506 return resultobj;
2507 fail:
2508 return NULL;
2509}
2510
2511
2512static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj;
2514 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2515 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2516 double arg3 ;
2517 double arg4 ;
2518 int arg5 = (int) 0 ;
2519 int arg6 = (int) 0 ;
2520 PyObject * obj0 = 0 ;
2521 PyObject * obj1 = 0 ;
2522 char *kwnames[] = {
2523 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 Py_INCREF(Py_None); resultobj = Py_None;
2537 return resultobj;
2538 fail:
2539 return NULL;
2540}
2541
2542
2543static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject *resultobj;
2545 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2546 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2547 double arg3 ;
2548 double arg4 ;
2549 int arg5 = (int) 0 ;
2550 int arg6 = (int) 0 ;
2551 PyObject * obj0 = 0 ;
2552 PyObject * obj1 = 0 ;
2553 char *kwnames[] = {
2554 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 Py_INCREF(Py_None); resultobj = Py_None;
2568 return resultobj;
2569 fail:
2570 return NULL;
2571}
2572
2573
2574static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject *resultobj;
2576 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2577 double arg2 ;
2578 double arg3 ;
2579 PyObject * obj0 = 0 ;
2580 char *kwnames[] = {
2581 (char *) "self",(char *) "w",(char *) "h", NULL
2582 };
2583
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2586 {
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 (arg1)->base_OnBeginSize(arg2,arg3);
2589
2590 wxPyEndAllowThreads(__tstate);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 Py_INCREF(Py_None); resultobj = Py_None;
2594 return resultobj;
2595 fail:
2596 return NULL;
2597}
2598
2599
2600static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2601 PyObject *resultobj;
2602 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2603 double arg2 ;
2604 double arg3 ;
2605 PyObject * obj0 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self",(char *) "w",(char *) "h", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 (arg1)->base_OnEndSize(arg2,arg3);
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) SWIG_fail;
2618 }
2619 Py_INCREF(Py_None); resultobj = Py_None;
2620 return resultobj;
2621 fail:
2622 return NULL;
2623}
2624
2625
2626static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
2627 PyObject *obj;
2628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2629 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
2630 Py_INCREF(obj);
2631 return Py_BuildValue((char *)"");
2632}
2633static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
2636 wxPyShape *result;
2637 PyObject * obj0 = 0 ;
2638 char *kwnames[] = {
2639 (char *) "can", NULL
2640 };
2641
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
2643 if (obj0) {
2644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 result = (wxPyShape *)new wxPyShape(arg1);
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 {
2654 resultobj = wxPyMake_wxShapeEvtHandler(result);
2655 }
2656 return resultobj;
2657 fail:
2658 return NULL;
2659}
2660
2661
2662static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxPyShape *arg1 = (wxPyShape *) 0 ;
2665 PyObject *arg2 = (PyObject *) 0 ;
2666 PyObject *arg3 = (PyObject *) 0 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 PyObject * obj2 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "self",(char *) "_class", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676 arg2 = obj1;
2677 arg3 = obj2;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->_setCallbackInfo(arg2,arg3);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
2692static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxPyShape *arg1 = (wxPyShape *) 0 ;
2695 double *arg2 = (double *) 0 ;
2696 double *arg3 = (double *) 0 ;
2697 double temp2 ;
2698 double temp3 ;
2699 PyObject * obj0 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self", NULL
2702 };
2703
2704 arg2 = &temp2;
2705 arg3 = &temp3;
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 (arg1)->GetBoundingBoxMax(arg2,arg3);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 Py_INCREF(Py_None); resultobj = Py_None;
2716 {
2717 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2718 resultobj = t_output_helper(resultobj,o);
2719 }
2720 {
2721 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2722 resultobj = t_output_helper(resultobj,o);
2723 }
2724 return resultobj;
2725 fail:
2726 return NULL;
2727}
2728
2729
2730static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxPyShape *arg1 = (wxPyShape *) 0 ;
2733 double *arg2 = (double *) 0 ;
2734 double *arg3 = (double *) 0 ;
2735 double temp2 ;
2736 double temp3 ;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 arg2 = &temp2;
2743 arg3 = &temp3;
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->GetBoundingBoxMin(arg2,arg3);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 {
2755 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2756 resultobj = t_output_helper(resultobj,o);
2757 }
2758 {
2759 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2760 resultobj = t_output_helper(resultobj,o);
2761 }
2762 return resultobj;
2763 fail:
2764 return NULL;
2765}
2766
2767
2768static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxPyShape *arg1 = (wxPyShape *) 0 ;
2771 double arg2 ;
2772 double arg3 ;
2773 double arg4 ;
2774 double arg5 ;
2775 double *arg6 = (double *) 0 ;
2776 double *arg7 = (double *) 0 ;
2777 bool result;
2778 double temp6 ;
2779 double temp7 ;
2780 PyObject * obj0 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2783 };
2784
2785 arg6 = &temp6;
2786 arg7 = &temp7;
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
2796 resultobj = PyInt_FromLong((long)result);
2797 {
2798 PyObject *o = PyFloat_FromDouble((double) (*arg6));
2799 resultobj = t_output_helper(resultobj,o);
2800 }
2801 {
2802 PyObject *o = PyFloat_FromDouble((double) (*arg7));
2803 resultobj = t_output_helper(resultobj,o);
2804 }
2805 return resultobj;
2806 fail:
2807 return NULL;
2808}
2809
2810
2811static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxPyShape *arg1 = (wxPyShape *) 0 ;
2814 wxPyShapeCanvas *result;
2815 PyObject * obj0 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2829 {
2830 resultobj = wxPyMake_wxObject(result);
2831 }
2832 return resultobj;
2833 fail:
2834 return NULL;
2835}
2836
2837
2838static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxPyShape *arg1 = (wxPyShape *) 0 ;
2841 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2842 PyObject * obj0 = 0 ;
2843 PyObject * obj1 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "the_canvas", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 (arg1)->SetCanvas(arg2);
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 Py_INCREF(Py_None); resultobj = Py_None;
2859 return resultobj;
2860 fail:
2861 return NULL;
2862}
2863
2864
2865static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxPyShape *arg1 = (wxPyShape *) 0 ;
2868 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2869 wxPyShape *arg3 = (wxPyShape *) NULL ;
2870 PyObject * obj0 = 0 ;
2871 PyObject * obj1 = 0 ;
2872 PyObject * obj2 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2880 if (obj2) {
2881 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 }
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 (arg1)->AddToCanvas(arg2,arg3);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894}
2895
2896
2897static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxPyShape *arg1 = (wxPyShape *) 0 ;
2900 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2901 PyObject * obj0 = 0 ;
2902 PyObject * obj1 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "the_canvas", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 (arg1)->InsertInCanvas(arg2);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 Py_INCREF(Py_None); resultobj = Py_None;
2918 return resultobj;
2919 fail:
2920 return NULL;
2921}
2922
2923
2924static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxPyShape *arg1 = (wxPyShape *) 0 ;
2927 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2928 PyObject * obj0 = 0 ;
2929 PyObject * obj1 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self",(char *) "the_canvas", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 (arg1)->RemoveFromCanvas(arg2);
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
2951static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj;
2953 wxPyShape *arg1 = (wxPyShape *) 0 ;
2954 double result;
2955 PyObject * obj0 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "self", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 result = (double)(arg1)->GetX();
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 resultobj = PyFloat_FromDouble(result);
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
2976static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxPyShape *arg1 = (wxPyShape *) 0 ;
2979 double result;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 result = (double)(arg1)->GetY();
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 resultobj = PyFloat_FromDouble(result);
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
3001static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxPyShape *arg1 = (wxPyShape *) 0 ;
3004 double arg2 ;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "x", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetX",kwnames,&obj0,&arg2)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->SetX(arg2);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023}
3024
3025
3026static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxPyShape *arg1 = (wxPyShape *) 0 ;
3029 double arg2 ;
3030 PyObject * obj0 = 0 ;
3031 char *kwnames[] = {
3032 (char *) "self",(char *) "y", NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetY",kwnames,&obj0,&arg2)) goto fail;
3036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 (arg1)->SetY(arg2);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 Py_INCREF(Py_None); resultobj = Py_None;
3045 return resultobj;
3046 fail:
3047 return NULL;
3048}
3049
3050
3051static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxPyShape *arg1 = (wxPyShape *) 0 ;
3054 wxPyShape *result;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = (wxPyShape *)(arg1)->GetParent();
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 {
3070 resultobj = wxPyMake_wxShapeEvtHandler(result);
3071 }
3072 return resultobj;
3073 fail:
3074 return NULL;
3075}
3076
3077
3078static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxPyShape *arg1 = (wxPyShape *) 0 ;
3081 wxPyShape *arg2 = (wxPyShape *) 0 ;
3082 PyObject * obj0 = 0 ;
3083 PyObject * obj1 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self",(char *) "p", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 {
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 (arg1)->SetParent(arg2);
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 }
3098 Py_INCREF(Py_None); resultobj = Py_None;
3099 return resultobj;
3100 fail:
3101 return NULL;
3102}
3103
3104
3105static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj;
3107 wxPyShape *arg1 = (wxPyShape *) 0 ;
3108 wxPyShape *result;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 result = (wxPyShape *)(arg1)->GetTopAncestor();
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 {
3124 resultobj = wxPyMake_wxShapeEvtHandler(result);
3125 }
3126 return resultobj;
3127 fail:
3128 return NULL;
3129}
3130
3131
3132static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj;
3134 wxPyShape *arg1 = (wxPyShape *) 0 ;
3135 PyObject *result;
3136 PyObject * obj0 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (PyObject *)wxPyShape_GetChildren(arg1);
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 resultobj = result;
3151 return resultobj;
3152 fail:
3153 return NULL;
3154}
3155
3156
3157static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxPyShape *arg1 = (wxPyShape *) 0 ;
3160 PyObject * obj0 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3167 {
3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
3169 (arg1)->Unlink();
3170
3171 wxPyEndAllowThreads(__tstate);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 Py_INCREF(Py_None); resultobj = Py_None;
3175 return resultobj;
3176 fail:
3177 return NULL;
3178}
3179
3180
3181static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj;
3183 wxPyShape *arg1 = (wxPyShape *) 0 ;
3184 bool arg2 ;
3185 PyObject * obj0 = 0 ;
3186 PyObject * obj1 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "drawH", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 arg2 = PyInt_AsLong(obj1) ? true : false;
3194 if (PyErr_Occurred()) SWIG_fail;
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 (arg1)->SetDrawHandles(arg2);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 Py_INCREF(Py_None); resultobj = Py_None;
3203 return resultobj;
3204 fail:
3205 return NULL;
3206}
3207
3208
3209static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject *resultobj;
3211 wxPyShape *arg1 = (wxPyShape *) 0 ;
3212 bool result;
3213 PyObject * obj0 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 result = (bool)(arg1)->GetDrawHandles();
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 resultobj = PyInt_FromLong((long)result);
3228 return resultobj;
3229 fail:
3230 return NULL;
3231}
3232
3233
3234static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject *resultobj;
3236 wxPyShape *arg1 = (wxPyShape *) 0 ;
3237 PyObject * obj0 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
3243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 (arg1)->MakeControlPoints();
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 Py_INCREF(Py_None); resultobj = Py_None;
3252 return resultobj;
3253 fail:
3254 return NULL;
3255}
3256
3257
3258static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxPyShape *arg1 = (wxPyShape *) 0 ;
3261 wxDC *arg2 = (wxDC *) NULL ;
3262 PyObject * obj0 = 0 ;
3263 PyObject * obj1 = 0 ;
3264 char *kwnames[] = {
3265 (char *) "self",(char *) "dc", NULL
3266 };
3267
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 if (obj1) {
3271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 }
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 (arg1)->DeleteControlPoints(arg2);
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 Py_INCREF(Py_None); resultobj = Py_None;
3281 return resultobj;
3282 fail:
3283 return NULL;
3284}
3285
3286
3287static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxPyShape *arg1 = (wxPyShape *) 0 ;
3290 PyObject * obj0 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->ResetControlPoints();
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308}
3309
3310
3311static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxPyShape *arg1 = (wxPyShape *) 0 ;
3314 wxPyShapeEvtHandler *result;
3315 PyObject * obj0 = 0 ;
3316 char *kwnames[] = {
3317 (char *) "self", NULL
3318 };
3319
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
3321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 resultobj = wxPyMake_wxShapeEvtHandler(result);
3331 }
3332 return resultobj;
3333 fail:
3334 return NULL;
3335}
3336
3337
3338static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 wxPyShape *arg1 = (wxPyShape *) 0 ;
3341 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self",(char *) "handler", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
3349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetEventHandler(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362}
3363
3364
3365static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxPyShape *arg1 = (wxPyShape *) 0 ;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 (arg1)->MakeMandatoryControlPoints();
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 Py_INCREF(Py_None); resultobj = Py_None;
3383 return resultobj;
3384 fail:
3385 return NULL;
3386}
3387
3388
3389static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxPyShape *arg1 = (wxPyShape *) 0 ;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 (arg1)->ResetMandatoryControlPoints();
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 Py_INCREF(Py_None); resultobj = Py_None;
3407 return resultobj;
3408 fail:
3409 return NULL;
3410}
3411
3412
3413static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj;
3415 wxPyShape *arg1 = (wxPyShape *) 0 ;
3416 bool result;
3417 PyObject * obj0 = 0 ;
3418 char *kwnames[] = {
3419 (char *) "self", NULL
3420 };
3421
3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
3423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 result = (bool)(arg1)->Recompute();
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 resultobj = PyInt_FromLong((long)result);
3432 return resultobj;
3433 fail:
3434 return NULL;
3435}
3436
3437
3438static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3439 PyObject *resultobj;
3440 wxPyShape *arg1 = (wxPyShape *) 0 ;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 (arg1)->CalculateSize();
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 Py_INCREF(Py_None); resultobj = Py_None;
3456 return resultobj;
3457 fail:
3458 return NULL;
3459}
3460
3461
3462static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxPyShape *arg1 = (wxPyShape *) 0 ;
3465 bool arg2 = (bool) True ;
3466 wxDC *arg3 = (wxDC *) NULL ;
3467 PyObject * obj0 = 0 ;
3468 PyObject * obj1 = 0 ;
3469 PyObject * obj2 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "self",(char *) "select",(char *) "dc", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3476 if (obj1) {
3477 arg2 = PyInt_AsLong(obj1) ? true : false;
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 if (obj2) {
3481 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 }
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 (arg1)->Select(arg2,arg3);
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 Py_INCREF(Py_None); resultobj = Py_None;
3491 return resultobj;
3492 fail:
3493 return NULL;
3494}
3495
3496
3497static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject *resultobj;
3499 wxPyShape *arg1 = (wxPyShape *) 0 ;
3500 bool arg2 = (bool) True ;
3501 bool arg3 = (bool) False ;
3502 PyObject * obj0 = 0 ;
3503 PyObject * obj1 = 0 ;
3504 PyObject * obj2 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3511 if (obj1) {
3512 arg2 = PyInt_AsLong(obj1) ? true : false;
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 if (obj2) {
3516 arg3 = PyInt_AsLong(obj2) ? true : false;
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->SetHighlight(arg2,arg3);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530}
3531
3532
3533static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 wxPyShape *arg1 = (wxPyShape *) 0 ;
3536 bool result;
3537 PyObject * obj0 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (bool)(arg1)->IsHighlighted();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 resultobj = PyInt_FromLong((long)result);
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
3558static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxPyShape *arg1 = (wxPyShape *) 0 ;
3561 bool result;
3562 PyObject * obj0 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (bool)(arg1)->Selected();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 resultobj = PyInt_FromLong((long)result);
3577 return resultobj;
3578 fail:
3579 return NULL;
3580}
3581
3582
3583static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxPyShape *arg1 = (wxPyShape *) 0 ;
3586 bool result;
3587 PyObject * obj0 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 result = (bool)(arg1)->AncestorSelected();
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 resultobj = PyInt_FromLong((long)result);
3602 return resultobj;
3603 fail:
3604 return NULL;
3605}
3606
3607
3608static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxPyShape *arg1 = (wxPyShape *) 0 ;
3611 int arg2 = (int) OP_ALL ;
3612 bool arg3 = (bool) False ;
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj2 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames,&obj0,&arg2,&obj2)) goto fail;
3620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 if (obj2) {
3622 arg3 = PyInt_AsLong(obj2) ? true : false;
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 (arg1)->SetSensitivityFilter(arg2,arg3);
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 Py_INCREF(Py_None); resultobj = Py_None;
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
3639static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj;
3641 wxPyShape *arg1 = (wxPyShape *) 0 ;
3642 int result;
3643 PyObject * obj0 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 result = (int)(arg1)->GetSensitivityFilter();
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 resultobj = PyInt_FromLong((long)result);
3658 return resultobj;
3659 fail:
3660 return NULL;
3661}
3662
3663
3664static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject *resultobj;
3666 wxPyShape *arg1 = (wxPyShape *) 0 ;
3667 bool arg2 ;
3668 bool arg3 = (bool) False ;
3669 PyObject * obj0 = 0 ;
3670 PyObject * obj1 = 0 ;
3671 PyObject * obj2 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3678 arg2 = PyInt_AsLong(obj1) ? true : false;
3679 if (PyErr_Occurred()) SWIG_fail;
3680 if (obj2) {
3681 arg3 = PyInt_AsLong(obj2) ? true : false;
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 (arg1)->SetDraggable(arg2,arg3);
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 Py_INCREF(Py_None); resultobj = Py_None;
3692 return resultobj;
3693 fail:
3694 return NULL;
3695}
3696
3697
3698static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 wxPyShape *arg1 = (wxPyShape *) 0 ;
3701 bool arg2 ;
3702 bool arg3 ;
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 PyObject * obj2 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "x",(char *) "y", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 arg2 = PyInt_AsLong(obj1) ? true : false;
3713 if (PyErr_Occurred()) SWIG_fail;
3714 arg3 = PyInt_AsLong(obj2) ? true : false;
3715 if (PyErr_Occurred()) SWIG_fail;
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 (arg1)->SetFixedSize(arg2,arg3);
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 Py_INCREF(Py_None); resultobj = Py_None;
3724 return resultobj;
3725 fail:
3726 return NULL;
3727}
3728
3729
3730static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxPyShape *arg1 = (wxPyShape *) 0 ;
3733 bool *arg2 = (bool *) 0 ;
3734 bool *arg3 = (bool *) 0 ;
3735 bool temp2 ;
3736 bool temp3 ;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self", NULL
3740 };
3741
3742 arg2 = &temp2;
3743 arg3 = &temp3;
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 (arg1)->GetFixedSize(arg2,arg3);
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 Py_INCREF(Py_None); resultobj = Py_None;
3754 {
3755 PyObject *o = PyInt_FromLong((long) (*arg2));
3756 resultobj = t_output_helper(resultobj,o);
3757 }
3758 {
3759 PyObject *o = PyInt_FromLong((long) (*arg3));
3760 resultobj = t_output_helper(resultobj,o);
3761 }
3762 return resultobj;
3763 fail:
3764 return NULL;
3765}
3766
3767
3768static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxPyShape *arg1 = (wxPyShape *) 0 ;
3771 bool result;
3772 PyObject * obj0 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
3778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 result = (bool)(arg1)->GetFixedWidth();
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 resultobj = PyInt_FromLong((long)result);
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
3793static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxPyShape *arg1 = (wxPyShape *) 0 ;
3796 bool result;
3797 PyObject * obj0 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (bool)(arg1)->GetFixedHeight();
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 resultobj = PyInt_FromLong((long)result);
3812 return resultobj;
3813 fail:
3814 return NULL;
3815}
3816
3817
3818static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 wxPyShape *arg1 = (wxPyShape *) 0 ;
3821 bool arg2 ;
3822 PyObject * obj0 = 0 ;
3823 PyObject * obj1 = 0 ;
3824 char *kwnames[] = {
3825 (char *) "self",(char *) "sp", NULL
3826 };
3827
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
3829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3830 arg2 = PyInt_AsLong(obj1) ? true : false;
3831 if (PyErr_Occurred()) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->SetSpaceAttachments(arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843}
3844
3845
3846static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxPyShape *arg1 = (wxPyShape *) 0 ;
3849 bool result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)(arg1)->GetSpaceAttachments();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = PyInt_FromLong((long)result);
3865 return resultobj;
3866 fail:
3867 return NULL;
3868}
3869
3870
3871static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxPyShape *arg1 = (wxPyShape *) 0 ;
3874 int arg2 ;
3875 bool arg3 = (bool) False ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:PyShape_SetShadowMode",kwnames,&obj0,&arg2,&obj2)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 if (obj2) {
3885 arg3 = PyInt_AsLong(obj2) ? true : false;
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 (arg1)->SetShadowMode(arg2,arg3);
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 Py_INCREF(Py_None); resultobj = Py_None;
3896 return resultobj;
3897 fail:
3898 return NULL;
3899}
3900
3901
3902static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxPyShape *arg1 = (wxPyShape *) 0 ;
3905 int result;
3906 PyObject * obj0 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "self", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
3912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (int)(arg1)->GetShadowMode();
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = PyInt_FromLong((long)result);
3921 return resultobj;
3922 fail:
3923 return NULL;
3924}
3925
3926
3927static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxPyShape *arg1 = (wxPyShape *) 0 ;
3930 double arg2 ;
3931 double arg3 ;
3932 int *arg4 = (int *) 0 ;
3933 double *arg5 = (double *) 0 ;
3934 bool result;
3935 int temp4 ;
3936 double temp5 ;
3937 PyObject * obj0 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "self",(char *) "x",(char *) "y", NULL
3940 };
3941
3942 arg4 = &temp4;
3943 arg5 = &temp5;
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_HitTest",kwnames,&obj0,&arg2,&arg3)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
3949
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 resultobj = PyInt_FromLong((long)result);
3954 {
3955 PyObject *o = PyInt_FromLong((long) (*arg4));
3956 resultobj = t_output_helper(resultobj,o);
3957 }
3958 {
3959 PyObject *o = PyFloat_FromDouble((double) (*arg5));
3960 resultobj = t_output_helper(resultobj,o);
3961 }
3962 return resultobj;
3963 fail:
3964 return NULL;
3965}
3966
3967
3968static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxPyShape *arg1 = (wxPyShape *) 0 ;
3971 bool arg2 ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self",(char *) "cr", NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3980 arg2 = PyInt_AsLong(obj1) ? true : false;
3981 if (PyErr_Occurred()) SWIG_fail;
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 (arg1)->SetCentreResize(arg2);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 Py_INCREF(Py_None); resultobj = Py_None;
3990 return resultobj;
3991 fail:
3992 return NULL;
3993}
3994
3995
3996static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxPyShape *arg1 = (wxPyShape *) 0 ;
3999 bool result;
4000 PyObject * obj0 = 0 ;
4001 char *kwnames[] = {
4002 (char *) "self", NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (bool)(arg1)->GetCentreResize();
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = PyInt_FromLong((long)result);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxPyShape *arg1 = (wxPyShape *) 0 ;
4024 bool arg2 ;
4025 PyObject * obj0 = 0 ;
4026 PyObject * obj1 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self",(char *) "ar", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 arg2 = PyInt_AsLong(obj1) ? true : false;
4034 if (PyErr_Occurred()) SWIG_fail;
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 (arg1)->SetMaintainAspectRatio(arg2);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
4049static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxPyShape *arg1 = (wxPyShape *) 0 ;
4052 bool result;
4053 PyObject * obj0 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "self", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (bool)(arg1)->GetMaintainAspectRatio();
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = PyInt_FromLong((long)result);
4068 return resultobj;
4069 fail:
4070 return NULL;
4071}
4072
4073
4074static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4075 PyObject *resultobj;
4076 wxPyShape *arg1 = (wxPyShape *) 0 ;
4077 PyObject *result;
4078 PyObject * obj0 = 0 ;
4079 char *kwnames[] = {
4080 (char *) "self", NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (PyObject *)wxPyShape_GetLines(arg1);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = result;
4093 return resultobj;
4094 fail:
4095 return NULL;
4096}
4097
4098
4099static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject *resultobj;
4101 wxPyShape *arg1 = (wxPyShape *) 0 ;
4102 bool arg2 ;
4103 PyObject * obj0 = 0 ;
4104 PyObject * obj1 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self",(char *) "flag", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4111 arg2 = PyInt_AsLong(obj1) ? true : false;
4112 if (PyErr_Occurred()) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 (arg1)->SetDisableLabel(arg2);
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 return resultobj;
4122 fail:
4123 return NULL;
4124}
4125
4126
4127static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxPyShape *arg1 = (wxPyShape *) 0 ;
4130 bool result;
4131 PyObject * obj0 = 0 ;
4132 char *kwnames[] = {
4133 (char *) "self", NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (bool)(arg1)->GetDisableLabel();
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = PyInt_FromLong((long)result);
4146 return resultobj;
4147 fail:
4148 return NULL;
4149}
4150
4151
4152static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxPyShape *arg1 = (wxPyShape *) 0 ;
4155 int arg2 ;
4156 PyObject * obj0 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "self",(char *) "mode", NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetAttachmentMode",kwnames,&obj0,&arg2)) goto fail;
4162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 (arg1)->SetAttachmentMode(arg2);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174}
4175
4176
4177static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxPyShape *arg1 = (wxPyShape *) 0 ;
4180 int result;
4181 PyObject * obj0 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 result = (int)(arg1)->GetAttachmentMode();
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 resultobj = PyInt_FromLong((long)result);
4196 return resultobj;
4197 fail:
4198 return NULL;
4199}
4200
4201
4202static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxPyShape *arg1 = (wxPyShape *) 0 ;
4205 long arg2 ;
4206 PyObject * obj0 = 0 ;
4207 char *kwnames[] = {
4208 (char *) "self",(char *) "i", NULL
4209 };
4210
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetId",kwnames,&obj0,&arg2)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 (arg1)->SetId(arg2);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 Py_INCREF(Py_None); resultobj = Py_None;
4221 return resultobj;
4222 fail:
4223 return NULL;
4224}
4225
4226
4227static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxPyShape *arg1 = (wxPyShape *) 0 ;
4230 long result;
4231 PyObject * obj0 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
4237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 result = (long)(arg1)->GetId();
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 resultobj = PyInt_FromLong((long)result);
4246 return resultobj;
4247 fail:
4248 return NULL;
4249}
4250
4251
4252static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxPyShape *arg1 = (wxPyShape *) 0 ;
4255 wxPen *arg2 = (wxPen *) 0 ;
4256 PyObject * obj0 = 0 ;
4257 PyObject * obj1 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self",(char *) "pen", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4264 {
4265 wxPen* temp;
4266 if (obj1) {
4267 if (obj1 == Py_None) {
4268 temp = NULL;
4269 }
4270 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
4271 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
4272 return NULL;
4273 }
4274 }
4275 if (temp)
4276 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4277 temp->GetWidth(),
4278 temp->GetStyle());
4279 else
4280 arg2 = NULL;
4281 }
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
4284 (arg1)->SetPen(arg2);
4285
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4289 Py_INCREF(Py_None); resultobj = Py_None;
4290 return resultobj;
4291 fail:
4292 return NULL;
4293}
4294
4295
4296static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject *resultobj;
4298 wxPyShape *arg1 = (wxPyShape *) 0 ;
4299 wxBrush *arg2 = (wxBrush *) 0 ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self",(char *) "brush", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 {
4309 wxBrush* temp;
4310 if (obj1) {
4311 if (obj1 == Py_None) {
4312 temp = NULL;
4313 }
4314 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
4315 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
4316 return NULL;
4317 }
4318 }
4319 if (temp)
4320 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4321 else
4322 arg2 = NULL;
4323 }
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 (arg1)->SetBrush(arg2);
4327
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 Py_INCREF(Py_None); resultobj = Py_None;
4332 return resultobj;
4333 fail:
4334 return NULL;
4335}
4336
4337
4338static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxPyShape *arg1 = (wxPyShape *) 0 ;
4341 bool arg2 ;
4342 PyObject * obj0 = 0 ;
4343 PyObject * obj1 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "show", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4350 arg2 = PyInt_AsLong(obj1) ? true : false;
4351 if (PyErr_Occurred()) SWIG_fail;
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 (arg1)->Show(arg2);
4355
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 }
4359 Py_INCREF(Py_None); resultobj = Py_None;
4360 return resultobj;
4361 fail:
4362 return NULL;
4363}
4364
4365
4366static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxPyShape *arg1 = (wxPyShape *) 0 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (bool)(arg1)->IsShown();
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = PyInt_FromLong((long)result);
4385 return resultobj;
4386 fail:
4387 return NULL;
4388}
4389
4390
4391static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj;
4393 wxPyShape *arg1 = (wxPyShape *) 0 ;
4394 wxDC *arg2 = 0 ;
4395 double arg3 ;
4396 double arg4 ;
4397 bool arg5 = (bool) True ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 PyObject * obj4 = 0 ;
4401 char *kwnames[] = {
4402 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4403 };
4404
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|O:PyShape_Move",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4408 if (arg2 == NULL) {
4409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4410 }
4411 if (obj4) {
4412 arg5 = PyInt_AsLong(obj4) ? true : false;
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 (arg1)->Move(*arg2,arg3,arg4,arg5);
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 Py_INCREF(Py_None); resultobj = Py_None;
4423 return resultobj;
4424 fail:
4425 return NULL;
4426}
4427
4428
4429static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxPyShape *arg1 = (wxPyShape *) 0 ;
4432 wxDC *arg2 = 0 ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "dc", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
4440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4442 if (arg2 == NULL) {
4443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4444 }
4445 {
4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4447 (arg1)->Erase(*arg2);
4448
4449 wxPyEndAllowThreads(__tstate);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 Py_INCREF(Py_None); resultobj = Py_None;
4453 return resultobj;
4454 fail:
4455 return NULL;
4456}
4457
4458
4459static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 wxPyShape *arg1 = (wxPyShape *) 0 ;
4462 wxDC *arg2 = 0 ;
4463 PyObject * obj0 = 0 ;
4464 PyObject * obj1 = 0 ;
4465 char *kwnames[] = {
4466 (char *) "self",(char *) "dc", NULL
4467 };
4468
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
4470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 if (arg2 == NULL) {
4473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->EraseContents(*arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486}
4487
4488
4489static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxPyShape *arg1 = (wxPyShape *) 0 ;
4492 wxDC *arg2 = 0 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "dc", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4502 if (arg2 == NULL) {
4503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->Draw(*arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxPyShape *arg1 = (wxPyShape *) 0 ;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->Flash();
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 Py_INCREF(Py_None); resultobj = Py_None;
4537 return resultobj;
4538 fail:
4539 return NULL;
4540}
4541
4542
4543static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxPyShape *arg1 = (wxPyShape *) 0 ;
4546 wxDC *arg2 = 0 ;
4547 PyObject * obj0 = 0 ;
4548 PyObject * obj1 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self",(char *) "dc", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
4554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4556 if (arg2 == NULL) {
4557 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4558 }
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->MoveLinks(*arg2);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
4573static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxPyShape *arg1 = (wxPyShape *) 0 ;
4576 wxDC *arg2 = 0 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "dc", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
4584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 if (arg2 == NULL) {
4587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->DrawContents(*arg2);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
4603static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxPyShape *arg1 = (wxPyShape *) 0 ;
4606 double arg2 ;
4607 double arg3 ;
4608 bool arg4 = (bool) True ;
4609 PyObject * obj0 = 0 ;
4610 PyObject * obj3 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|O:PyShape_SetSize",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4617 if (obj3) {
4618 arg4 = PyInt_AsLong(obj3) ? true : false;
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 (arg1)->SetSize(arg2,arg3,arg4);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 Py_INCREF(Py_None); resultobj = Py_None;
4629 return resultobj;
4630 fail:
4631 return NULL;
4632}
4633
4634
4635static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject *resultobj;
4637 wxPyShape *arg1 = (wxPyShape *) 0 ;
4638 double arg2 ;
4639 double arg3 ;
4640 PyObject * obj0 = 0 ;
4641 char *kwnames[] = {
4642 (char *) "self",(char *) "x",(char *) "y", NULL
4643 };
4644
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_SetAttachmentSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
4646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 (arg1)->SetAttachmentSize(arg2,arg3);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 Py_INCREF(Py_None); resultobj = Py_None;
4655 return resultobj;
4656 fail:
4657 return NULL;
4658}
4659
4660
4661static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxPyShape *arg1 = (wxPyShape *) 0 ;
4664 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
4665 PyObject * obj0 = 0 ;
4666 PyObject * obj1 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "can", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->Attach(arg2);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
4688static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 wxPyShape *arg1 = (wxPyShape *) 0 ;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Detach();
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
4712static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxPyShape *arg1 = (wxPyShape *) 0 ;
4715 bool result;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 result = (bool)(arg1)->Constrain();
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 resultobj = PyInt_FromLong((long)result);
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
4737static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxPyShape *arg1 = (wxPyShape *) 0 ;
4740 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4741 wxPyShape *arg3 = (wxPyShape *) 0 ;
4742 int arg4 = (int) 0 ;
4743 int arg5 = (int) 0 ;
4744 int arg6 = (int) -1 ;
4745 int arg7 = (int) -1 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiii:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 Py_INCREF(Py_None); resultobj = Py_None;
4765 return resultobj;
4766 fail:
4767 return NULL;
4768}
4769
4770
4771static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxPyShape *arg1 = (wxPyShape *) 0 ;
4774 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4775 int result;
4776 PyObject * obj0 = 0 ;
4777 PyObject * obj1 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "line", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 result = (int)(arg1)->GetLinePosition(arg2);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = PyInt_FromLong((long)result);
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxPyShape *arg1 = (wxPyShape *) 0 ;
4802 wxString *arg2 = 0 ;
4803 bool temp2 = False ;
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
4806 char *kwnames[] = {
4807 (char *) "self",(char *) "string", NULL
4808 };
4809
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4812 {
4813 arg2 = wxString_in_helper(obj1);
4814 if (arg2 == NULL) SWIG_fail;
4815 temp2 = True;
4816 }
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 (arg1)->AddText((wxString const &)*arg2);
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 Py_INCREF(Py_None); resultobj = Py_None;
4825 {
4826 if (temp2)
4827 delete arg2;
4828 }
4829 return resultobj;
4830 fail:
4831 {
4832 if (temp2)
4833 delete arg2;
4834 }
4835 return NULL;
4836}
4837
4838
4839static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxPyShape *arg1 = (wxPyShape *) 0 ;
4842 wxPen *result;
4843 PyObject * obj0 = 0 ;
4844 char *kwnames[] = {
4845 (char *) "self", NULL
4846 };
4847
4848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
4849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (wxPen *)(arg1)->GetPen();
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
4858 return resultobj;
4859 fail:
4860 return NULL;
4861}
4862
4863
4864static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxPyShape *arg1 = (wxPyShape *) 0 ;
4867 wxBrush *result;
4868 PyObject * obj0 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (wxBrush *)(arg1)->GetBrush();
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
4883 return resultobj;
4884 fail:
4885 return NULL;
4886}
4887
4888
4889static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxPyShape *arg1 = (wxPyShape *) 0 ;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->SetDefaultRegionSize();
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910}
4911
4912
4913static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxPyShape *arg1 = (wxPyShape *) 0 ;
4916 wxDC *arg2 = 0 ;
4917 wxString *arg3 = 0 ;
4918 int arg4 = (int) 0 ;
4919 bool temp3 = False ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 PyObject * obj2 = 0 ;
4923 char *kwnames[] = {
4924 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4925 };
4926
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4930 if (arg2 == NULL) {
4931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4932 }
4933 {
4934 arg3 = wxString_in_helper(obj2);
4935 if (arg3 == NULL) SWIG_fail;
4936 temp3 = True;
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 {
4947 if (temp3)
4948 delete arg3;
4949 }
4950 return resultobj;
4951 fail:
4952 {
4953 if (temp3)
4954 delete arg3;
4955 }
4956 return NULL;
4957}
4958
4959
4960static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxPyShape *arg1 = (wxPyShape *) 0 ;
4963 int arg2 ;
4964 int arg3 = (int) 0 ;
4965 PyObject * obj0 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:PyShape_SetFormatMode",kwnames,&obj0,&arg2,&arg3)) goto fail;
4971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 (arg1)->SetFormatMode(arg2,arg3);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 Py_INCREF(Py_None); resultobj = Py_None;
4980 return resultobj;
4981 fail:
4982 return NULL;
4983}
4984
4985
4986static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxPyShape *arg1 = (wxPyShape *) 0 ;
4989 int arg2 = (int) 0 ;
4990 int result;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "regionId", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFormatMode",kwnames,&obj0,&arg2)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (int)(arg1)->GetFormatMode(arg2);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = PyInt_FromLong((long)result);
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxPyShape *arg1 = (wxPyShape *) 0 ;
5015 wxFont *arg2 = (wxFont *) 0 ;
5016 int arg3 = (int) 0 ;
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "font",(char *) "regionId", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 {
5026 wxFont* temp;
5027 if (obj1) {
5028 if (obj1 == Py_None) {
5029 temp = NULL;
5030 }
5031 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5032 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5033 return NULL;
5034 }
5035 }
5036 if (temp)
5037 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5038 temp->GetFamily(),
5039 temp->GetStyle(),
5040 temp->GetWeight(),
5041 temp->GetUnderlined(),
5042 temp->GetFaceName(),
5043 temp->GetEncoding());
5044 else
5045 arg2 = NULL;
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->SetFont(arg2,arg3);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
5061static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxPyShape *arg1 = (wxPyShape *) 0 ;
5064 int arg2 = (int) 0 ;
5065 wxFont *result;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "regionId", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFont",kwnames,&obj0,&arg2)) goto fail;
5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (wxFont *)(arg1)->GetFont(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
5087static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxPyShape *arg1 = (wxPyShape *) 0 ;
5090 wxString *arg2 = 0 ;
5091 int arg3 = (int) 0 ;
5092 bool temp2 = False ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetTextColour",kwnames,&obj0,&obj1,&arg3)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 {
5102 arg2 = wxString_in_helper(obj1);
5103 if (arg2 == NULL) SWIG_fail;
5104 temp2 = True;
5105 }
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return resultobj;
5119 fail:
5120 {
5121 if (temp2)
5122 delete arg2;
5123 }
5124 return NULL;
5125}
5126
5127
5128static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxPyShape *arg1 = (wxPyShape *) 0 ;
5131 int arg2 = (int) 0 ;
5132 wxString result;
5133 PyObject * obj0 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "regionId", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetTextColour",kwnames,&obj0,&arg2)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 result = (arg1)->GetTextColour(arg2);
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 {
5148#if wxUSE_UNICODE
5149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5150#else
5151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5152#endif
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
5160static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxPyShape *arg1 = (wxPyShape *) 0 ;
5163 int result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (int)(arg1)->GetNumberOfTextRegions();
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = PyInt_FromLong((long)result);
5179 return resultobj;
5180 fail:
5181 return NULL;
5182}
5183
5184
5185static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxPyShape *arg1 = (wxPyShape *) 0 ;
5188 wxString *arg2 = 0 ;
5189 int arg3 = (int) 0 ;
5190 bool temp2 = False ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "name",(char *) "regionId", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetRegionName",kwnames,&obj0,&obj1,&arg3)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5199 {
5200 arg2 = wxString_in_helper(obj1);
5201 if (arg2 == NULL) SWIG_fail;
5202 temp2 = True;
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 {
5213 if (temp2)
5214 delete arg2;
5215 }
5216 return resultobj;
5217 fail:
5218 {
5219 if (temp2)
5220 delete arg2;
5221 }
5222 return NULL;
5223}
5224
5225
5226static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxPyShape *arg1 = (wxPyShape *) 0 ;
5229 int arg2 ;
5230 wxString result;
5231 PyObject * obj0 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "regionId", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetRegionName",kwnames,&obj0,&arg2)) goto fail;
5237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (arg1)->GetRegionName(arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246#if wxUSE_UNICODE
5247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5248#else
5249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5250#endif
5251 }
5252 return resultobj;
5253 fail:
5254 return NULL;
5255}
5256
5257
5258static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxPyShape *arg1 = (wxPyShape *) 0 ;
5261 wxString *arg2 = 0 ;
5262 int result;
5263 bool temp2 = False ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self",(char *) "name", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
5271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272 {
5273 arg2 = wxString_in_helper(obj1);
5274 if (arg2 == NULL) SWIG_fail;
5275 temp2 = True;
5276 }
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = PyInt_FromLong((long)result);
5285 {
5286 if (temp2)
5287 delete arg2;
5288 }
5289 return resultobj;
5290 fail:
5291 {
5292 if (temp2)
5293 delete arg2;
5294 }
5295 return NULL;
5296}
5297
5298
5299static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxPyShape *arg1 = (wxPyShape *) 0 ;
41f1cec7 5302 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65
RD
5303 wxString *arg2 = (wxString *) &arg2_defvalue ;
5304 bool temp2 = False ;
5305 PyObject * obj0 = 0 ;
5306 PyObject * obj1 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self",(char *) "parentName", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
5312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5313 if (obj1) {
5314 {
5315 arg2 = wxString_in_helper(obj1);
5316 if (arg2 == NULL) SWIG_fail;
5317 temp2 = True;
5318 }
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 (arg1)->NameRegions((wxString const &)*arg2);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 Py_INCREF(Py_None); resultobj = Py_None;
5328 {
5329 if (temp2)
5330 delete arg2;
5331 }
5332 return resultobj;
5333 fail:
5334 {
5335 if (temp2)
5336 delete arg2;
5337 }
5338 return NULL;
5339}
5340
5341
5342static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxPyShape *arg1 = (wxPyShape *) 0 ;
5345 PyObject *result;
5346 PyObject * obj0 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
5352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 result = (PyObject *)wxPyShape_GetRegions(arg1);
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 resultobj = result;
5361 return resultobj;
5362 fail:
5363 return NULL;
5364}
5365
5366
5367static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxPyShape *arg1 = (wxPyShape *) 0 ;
5370 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self",(char *) "region", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 (arg1)->AddRegion(arg2);
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 Py_INCREF(Py_None); resultobj = Py_None;
5388 return resultobj;
5389 fail:
5390 return NULL;
5391}
5392
5393
5394static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxPyShape *arg1 = (wxPyShape *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->ClearRegions();
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxPyShape *arg1 = (wxPyShape *) 0 ;
5421 PyObject * obj0 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
5427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->AssignNewIds();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 Py_INCREF(Py_None); resultobj = Py_None;
5436 return resultobj;
5437 fail:
5438 return NULL;
5439}
5440
5441
5442static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj;
5444 wxPyShape *arg1 = (wxPyShape *) 0 ;
5445 wxString *arg2 = 0 ;
5446 int *arg3 = (int *) 0 ;
5447 wxPyShape *result;
5448 bool temp2 = False ;
5449 int temp3 ;
5450 PyObject * obj0 = 0 ;
5451 PyObject * obj1 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "self",(char *) "regionName", NULL
5454 };
5455
5456 arg3 = &temp3;
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 arg2 = wxString_in_helper(obj1);
5461 if (arg2 == NULL) SWIG_fail;
5462 temp2 = True;
5463 }
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 resultobj = wxPyMake_wxShapeEvtHandler(result);
5473 }
5474 {
5475 PyObject *o = PyInt_FromLong((long) (*arg3));
5476 resultobj = t_output_helper(resultobj,o);
5477 }
5478 {
5479 if (temp2)
5480 delete arg2;
5481 }
5482 return resultobj;
5483 fail:
5484 {
5485 if (temp2)
5486 delete arg2;
5487 }
5488 return NULL;
5489}
5490
5491
5492static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj;
5494 wxPyShape *arg1 = (wxPyShape *) 0 ;
5495 wxStringList *arg2 = 0 ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "list", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 if (arg2 == NULL) {
5506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5507 }
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 (arg1)->FindRegionNames(*arg2);
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 Py_INCREF(Py_None); resultobj = Py_None;
5516 return resultobj;
5517 fail:
5518 return NULL;
5519}
5520
5521
5522static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5523 PyObject *resultobj;
5524 wxPyShape *arg1 = (wxPyShape *) 0 ;
5525 int arg2 = (int) 0 ;
5526 PyObject * obj0 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "regionId", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_ClearText",kwnames,&obj0,&arg2)) goto fail;
5532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 (arg1)->ClearText(arg2);
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 Py_INCREF(Py_None); resultobj = Py_None;
5541 return resultobj;
5542 fail:
5543 return NULL;
5544}
5545
5546
5547static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxPyShape *arg1 = (wxPyShape *) 0 ;
5550 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "line", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
5558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->RemoveLine(arg2);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571}
5572
5573
5574static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj;
5576 wxPyShape *arg1 = (wxPyShape *) 0 ;
5577 int arg2 ;
5578 double *arg3 = (double *) 0 ;
5579 double *arg4 = (double *) 0 ;
5580 int arg5 = (int) 0 ;
5581 int arg6 = (int) 1 ;
5582 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5583 bool result;
5584 double temp3 ;
5585 double temp4 ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj4 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5590 };
5591
5592 arg3 = &temp3;
5593 arg4 = &temp4;
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5596 if (obj4) {
5597 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5598 }
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 resultobj = PyInt_FromLong((long)result);
5607 {
5608 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5609 resultobj = t_output_helper(resultobj,o);
5610 }
5611 {
5612 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5613 resultobj = t_output_helper(resultobj,o);
5614 }
5615 return resultobj;
5616 fail:
5617 return NULL;
5618}
5619
5620
5621static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject *resultobj;
5623 wxPyShape *arg1 = (wxPyShape *) 0 ;
5624 int result;
5625 PyObject * obj0 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
5631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 result = (int)(arg1)->GetNumberOfAttachments();
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 resultobj = PyInt_FromLong((long)result);
5640 return resultobj;
5641 fail:
5642 return NULL;
5643}
5644
5645
5646static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5647 PyObject *resultobj;
5648 wxPyShape *arg1 = (wxPyShape *) 0 ;
5649 int arg2 ;
5650 bool result;
5651 PyObject * obj0 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self",(char *) "attachment", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_AttachmentIsValid",kwnames,&obj0,&arg2)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (bool)(arg1)->AttachmentIsValid(arg2);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 resultobj = PyInt_FromLong((long)result);
5666 return resultobj;
5667 fail:
5668 return NULL;
5669}
5670
5671
5672static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxPyShape *arg1 = (wxPyShape *) 0 ;
5675 int arg2 ;
5676 double *arg3 = (double *) 0 ;
5677 double *arg4 = (double *) 0 ;
5678 int arg5 = (int) 0 ;
5679 int arg6 = (int) 1 ;
5680 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5681 bool result;
5682 double temp3 ;
5683 double temp4 ;
5684 PyObject * obj0 = 0 ;
5685 PyObject * obj4 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5688 };
5689
5690 arg3 = &temp3;
5691 arg4 = &temp4;
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5694 if (obj4) {
5695 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = PyInt_FromLong((long)result);
5705 {
5706 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5707 resultobj = t_output_helper(resultobj,o);
5708 }
5709 {
5710 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5711 resultobj = t_output_helper(resultobj,o);
5712 }
5713 return resultobj;
5714 fail:
5715 return NULL;
5716}
5717
5718
5719static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxPyShape *arg1 = (wxPyShape *) 0 ;
5722 wxRealPoint *arg2 = 0 ;
5723 wxRealPoint *arg3 = 0 ;
5724 int arg4 ;
5725 int arg5 ;
5726 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
5727 wxRealPoint result;
5728 wxRealPoint temp2 ;
5729 wxRealPoint temp3 ;
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 PyObject * obj5 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5740 {
5741 arg2 = &temp2;
5742 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
5743 }
5744 {
5745 arg3 = &temp3;
5746 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5747 }
5748 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 wxRealPoint * resultptr;
5758 resultptr = new wxRealPoint((wxRealPoint &) result);
5759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5760 }
5761 return resultobj;
5762 fail:
5763 return NULL;
5764}
5765
5766
5767static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxPyShape *arg1 = (wxPyShape *) 0 ;
5770 int arg2 ;
5771 wxRealPoint *arg3 = 0 ;
5772 wxRealPoint *arg4 = 0 ;
5773 bool result;
5774 wxRealPoint temp3 ;
5775 wxRealPoint temp4 ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj2 = 0 ;
5778 PyObject * obj3 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 {
5786 arg3 = &temp3;
5787 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5788 }
5789 {
5790 arg4 = &temp4;
5791 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = PyInt_FromLong((long)result);
5801 return resultobj;
5802 fail:
5803 return NULL;
5804}
5805
5806
5807static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxPyShape *arg1 = (wxPyShape *) 0 ;
5810 wxDC *arg2 = 0 ;
5811 int arg3 = (int) -1 ;
5812 bool arg4 = (bool) False ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 PyObject * obj3 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5823 if (arg2 == NULL) {
5824 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5825 }
5826 if (obj3) {
5827 arg4 = PyInt_AsLong(obj3) ? true : false;
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 (arg1)->EraseLinks(*arg2,arg3,arg4);
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 Py_INCREF(Py_None); resultobj = Py_None;
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
5844static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxPyShape *arg1 = (wxPyShape *) 0 ;
5847 wxDC *arg2 = 0 ;
5848 int arg3 = (int) -1 ;
5849 bool arg4 = (bool) False ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 PyObject * obj3 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 if (arg2 == NULL) {
5861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5862 }
5863 if (obj3) {
5864 arg4 = PyInt_AsLong(obj3) ? true : false;
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 (arg1)->DrawLinks(*arg2,arg3,arg4);
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 Py_INCREF(Py_None); resultobj = Py_None;
5875 return resultobj;
5876 fail:
5877 return NULL;
5878}
5879
5880
5881static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxPyShape *arg1 = (wxPyShape *) 0 ;
5884 wxDC *arg2 = 0 ;
5885 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
5886 double arg4 ;
5887 double arg5 ;
5888 bool result;
5889 PyObject * obj0 = 0 ;
5890 PyObject * obj1 = 0 ;
5891 PyObject * obj2 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5899 if (arg2 == NULL) {
5900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5901 }
5902 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = PyInt_FromLong((long)result);
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxPyShape *arg1 = (wxPyShape *) 0 ;
5920 PyObject *arg2 = (PyObject *) 0 ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "linesToSort", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 arg2 = obj1;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 Py_INCREF(Py_None); resultobj = Py_None;
5938 return resultobj;
5939 fail:
5940 return NULL;
5941}
5942
5943
5944static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxPyShape *arg1 = (wxPyShape *) 0 ;
5947 int arg2 ;
5948 wxRealPoint result;
5949 PyObject * obj0 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self",(char *) "attachment", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&arg2)) goto fail;
5955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 result = (arg1)->GetBranchingAttachmentRoot(arg2);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 {
5964 wxRealPoint * resultptr;
5965 resultptr = new wxRealPoint((wxRealPoint &) result);
5966 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5967 }
5968 return resultobj;
5969 fail:
5970 return NULL;
5971}
5972
5973
5974static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxPyShape *arg1 = (wxPyShape *) 0 ;
5977 int arg2 ;
5978 wxRealPoint *arg3 = 0 ;
5979 wxRealPoint *arg4 = 0 ;
5980 wxRealPoint *arg5 = 0 ;
5981 wxRealPoint *arg6 = 0 ;
5982 bool result;
5983 wxRealPoint temp3 ;
5984 wxRealPoint temp4 ;
5985 wxRealPoint temp5 ;
5986 wxRealPoint temp6 ;
5987 PyObject * obj0 = 0 ;
5988 PyObject * obj2 = 0 ;
5989 PyObject * obj3 = 0 ;
5990 PyObject * obj4 = 0 ;
5991 PyObject * obj5 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5998 {
5999 arg3 = &temp3;
6000 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6001 }
6002 {
6003 arg4 = &temp4;
6004 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6005 }
6006 {
6007 arg5 = &temp5;
6008 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6009 }
6010 {
6011 arg6 = &temp6;
6012 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = PyInt_FromLong((long)result);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025}
6026
6027
6028static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxPyShape *arg1 = (wxPyShape *) 0 ;
6031 int arg2 ;
6032 int arg3 ;
6033 wxRealPoint *arg4 = 0 ;
6034 wxRealPoint *arg5 = 0 ;
6035 bool result;
6036 wxRealPoint temp4 ;
6037 wxRealPoint temp5 ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj3 = 0 ;
6040 PyObject * obj4 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6047 {
6048 arg4 = &temp4;
6049 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6050 }
6051 {
6052 arg5 = &temp5;
6053 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6054 }
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = PyInt_FromLong((long)result);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066}
6067
6068
6069static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxPyShape *arg1 = (wxPyShape *) 0 ;
6072 int arg2 ;
6073 int result;
6074 PyObject * obj0 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self",(char *) "attachment", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames,&obj0,&arg2)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (int)(arg1)->GetAttachmentLineCount(arg2);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 resultobj = PyInt_FromLong((long)result);
6089 return resultobj;
6090 fail:
6091 return NULL;
6092}
6093
6094
6095static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxPyShape *arg1 = (wxPyShape *) 0 ;
6098 int arg2 ;
6099 PyObject * obj0 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "len", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames,&obj0,&arg2)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 (arg1)->SetBranchNeckLength(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 Py_INCREF(Py_None); resultobj = Py_None;
6114 return resultobj;
6115 fail:
6116 return NULL;
6117}
6118
6119
6120static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxPyShape *arg1 = (wxPyShape *) 0 ;
6123 int result;
6124 PyObject * obj0 = 0 ;
6125 char *kwnames[] = {
6126 (char *) "self", NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
6130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (int)(arg1)->GetBranchNeckLength();
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 resultobj = PyInt_FromLong((long)result);
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
6145static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxPyShape *arg1 = (wxPyShape *) 0 ;
6148 int arg2 ;
6149 PyObject * obj0 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "self",(char *) "len", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchStemLength",kwnames,&obj0,&arg2)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->SetBranchStemLength(arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
6170static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxPyShape *arg1 = (wxPyShape *) 0 ;
6173 int result;
6174 PyObject * obj0 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (int)(arg1)->GetBranchStemLength();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = PyInt_FromLong((long)result);
6189 return resultobj;
6190 fail:
6191 return NULL;
6192}
6193
6194
6195static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxPyShape *arg1 = (wxPyShape *) 0 ;
6198 int arg2 ;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "len", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchSpacing",kwnames,&obj0,&arg2)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 (arg1)->SetBranchSpacing(arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 Py_INCREF(Py_None); resultobj = Py_None;
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
6220static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxPyShape *arg1 = (wxPyShape *) 0 ;
6223 int result;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (int)(arg1)->GetBranchSpacing();
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 resultobj = PyInt_FromLong((long)result);
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
6245static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxPyShape *arg1 = (wxPyShape *) 0 ;
6248 long arg2 ;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self",(char *) "style", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetBranchStyle",kwnames,&obj0,&arg2)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 (arg1)->SetBranchStyle(arg2);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 Py_INCREF(Py_None); resultobj = Py_None;
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
6270static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxPyShape *arg1 = (wxPyShape *) 0 ;
6273 long result;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
6280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (long)(arg1)->GetBranchStyle();
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = PyInt_FromLong((long)result);
6289 return resultobj;
6290 fail:
6291 return NULL;
6292}
6293
6294
6295static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxPyShape *arg1 = (wxPyShape *) 0 ;
6298 int arg2 ;
6299 int result;
6300 PyObject * obj0 = 0 ;
6301 char *kwnames[] = {
6302 (char *) "self",(char *) "physicalAttachment", NULL
6303 };
6304
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 resultobj = PyInt_FromLong((long)result);
6315 return resultobj;
6316 fail:
6317 return NULL;
6318}
6319
6320
6321static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxPyShape *arg1 = (wxPyShape *) 0 ;
6324 int arg2 ;
6325 int result;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "logicalAttachment", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 resultobj = PyInt_FromLong((long)result);
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
6347static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxPyShape *arg1 = (wxPyShape *) 0 ;
6350 bool result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->Draggable();
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = PyInt_FromLong((long)result);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369}
6370
6371
6372static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxPyShape *arg1 = (wxPyShape *) 0 ;
6375 wxPyShape *arg2 = (wxPyShape *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 PyObject * obj1 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self",(char *) "image", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
6384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (bool)(arg1)->HasDescendant(arg2);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = PyInt_FromLong((long)result);
6394 return resultobj;
6395 fail:
6396 return NULL;
6397}
6398
6399
6400static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxPyShape *arg1 = (wxPyShape *) 0 ;
6403 bool arg2 = (bool) True ;
6404 bool arg3 = (bool) True ;
6405 wxPyShape *result;
6406 PyObject * obj0 = 0 ;
6407 PyObject * obj1 = 0 ;
6408 PyObject * obj2 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6415 if (obj1) {
6416 arg2 = PyInt_AsLong(obj1) ? true : false;
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 if (obj2) {
6420 arg3 = PyInt_AsLong(obj2) ? true : false;
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 {
6431 resultobj = wxPyMake_wxShapeEvtHandler(result);
6432 }
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxPyShape *arg1 = (wxPyShape *) 0 ;
6442 wxPyShape *arg2 = 0 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "copy", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 if (arg2 == NULL) {
6453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6454 }
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 (arg1)->Copy(*arg2);
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 Py_INCREF(Py_None); resultobj = Py_None;
6463 return resultobj;
6464 fail:
6465 return NULL;
6466}
6467
6468
6469static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxPyShape *arg1 = (wxPyShape *) 0 ;
6472 wxPyShape *arg2 = 0 ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self",(char *) "copy", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 if (arg2 == NULL) {
6483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6484 }
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 (arg1)->CopyWithHandler(*arg2);
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
6499static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxPyShape *arg1 = (wxPyShape *) 0 ;
6502 double arg2 ;
6503 double arg3 ;
6504 double arg4 ;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->Rotate(arg2,arg3,arg4);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 return resultobj;
6521 fail:
6522 return NULL;
6523}
6524
6525
6526static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxPyShape *arg1 = (wxPyShape *) 0 ;
6529 double result;
6530 PyObject * obj0 = 0 ;
6531 char *kwnames[] = {
6532 (char *) "self", NULL
6533 };
6534
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
6536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (double)(arg1)->GetRotation();
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = PyFloat_FromDouble(result);
6545 return resultobj;
6546 fail:
6547 return NULL;
6548}
6549
6550
6551static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxPyShape *arg1 = (wxPyShape *) 0 ;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->ClearAttachments();
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
6575static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxPyShape *arg1 = (wxPyShape *) 0 ;
6578 wxDC *arg2 = 0 ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj1 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self",(char *) "dc", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
6586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6588 if (arg2 == NULL) {
6589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 (arg1)->Recentre(*arg2);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602}
6603
6604
6605static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxPyShape *arg1 = (wxPyShape *) 0 ;
6608 wxList *arg2 = 0 ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char *kwnames[] = {
6612 (char *) "self",(char *) "list", NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
6616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618 if (arg2 == NULL) {
6619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->ClearPointList(*arg2);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632}
6633
6634
6635static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxPyShape *arg1 = (wxPyShape *) 0 ;
6638 wxPen result;
6639 PyObject * obj0 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
6645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 result = (arg1)->GetBackgroundPen();
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 {
6654 wxPen * resultptr;
6655 resultptr = new wxPen((wxPen &) result);
6656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
6657 }
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
6664static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxPyShape *arg1 = (wxPyShape *) 0 ;
6667 wxBrush result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (arg1)->GetBackgroundBrush();
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683 wxBrush * resultptr;
6684 resultptr = new wxBrush((wxBrush &) result);
6685 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690}
6691
6692
6693static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxPyShape *arg1 = (wxPyShape *) 0 ;
6696 PyObject * obj0 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "self", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
6702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 (arg1)->base_OnDelete();
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 Py_INCREF(Py_None); resultobj = Py_None;
6711 return resultobj;
6712 fail:
6713 return NULL;
6714}
6715
6716
6717static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj;
6719 wxPyShape *arg1 = (wxPyShape *) 0 ;
6720 wxDC *arg2 = 0 ;
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "self",(char *) "dc", NULL
6725 };
6726
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6730 if (arg2 == NULL) {
6731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6732 }
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->base_OnDraw(*arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744}
6745
6746
6747static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxPyShape *arg1 = (wxPyShape *) 0 ;
6750 wxDC *arg2 = 0 ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self",(char *) "dc", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 if (arg2 == NULL) {
6761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6762 }
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 (arg1)->base_OnDrawContents(*arg2);
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 Py_INCREF(Py_None); resultobj = Py_None;
6771 return resultobj;
6772 fail:
6773 return NULL;
6774}
6775
6776
6777static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj;
6779 wxPyShape *arg1 = (wxPyShape *) 0 ;
6780 wxDC *arg2 = 0 ;
6781 bool arg3 = (bool) False ;
6782 PyObject * obj0 = 0 ;
6783 PyObject * obj1 = 0 ;
6784 PyObject * obj2 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "dc",(char *) "erase", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 if (arg2 == NULL) {
6793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6794 }
6795 if (obj2) {
6796 arg3 = PyInt_AsLong(obj2) ? true : false;
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 (arg1)->base_OnDrawBranches(*arg2,arg3);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 Py_INCREF(Py_None); resultobj = Py_None;
6807 return resultobj;
6808 fail:
6809 return NULL;
6810}
6811
6812
6813static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxPyShape *arg1 = (wxPyShape *) 0 ;
6816 wxDC *arg2 = 0 ;
6817 PyObject * obj0 = 0 ;
6818 PyObject * obj1 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self",(char *) "dc", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6826 if (arg2 == NULL) {
6827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6828 }
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 (arg1)->base_OnMoveLinks(*arg2);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 Py_INCREF(Py_None); resultobj = Py_None;
6837 return resultobj;
6838 fail:
6839 return NULL;
6840}
6841
6842
6843static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxPyShape *arg1 = (wxPyShape *) 0 ;
6846 wxDC *arg2 = 0 ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self",(char *) "dc", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6856 if (arg2 == NULL) {
6857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->base_OnErase(*arg2);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870}
6871
6872
6873static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 wxPyShape *arg1 = (wxPyShape *) 0 ;
6876 wxDC *arg2 = 0 ;
6877 PyObject * obj0 = 0 ;
6878 PyObject * obj1 = 0 ;
6879 char *kwnames[] = {
6880 (char *) "self",(char *) "dc", NULL
6881 };
6882
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
6884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6886 if (arg2 == NULL) {
6887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 (arg1)->base_OnEraseContents(*arg2);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 Py_INCREF(Py_None); resultobj = Py_None;
6897 return resultobj;
6898 fail:
6899 return NULL;
6900}
6901
6902
6903static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxPyShape *arg1 = (wxPyShape *) 0 ;
6906 wxDC *arg2 = 0 ;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 char *kwnames[] = {
6910 (char *) "self",(char *) "dc", NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
6914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6916 if (arg2 == NULL) {
6917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6918 }
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->base_OnHighlight(*arg2);
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 Py_INCREF(Py_None); resultobj = Py_None;
6927 return resultobj;
6928 fail:
6929 return NULL;
6930}
6931
6932
6933static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxPyShape *arg1 = (wxPyShape *) 0 ;
6936 double arg2 ;
6937 double arg3 ;
6938 int arg4 = (int) 0 ;
6939 int arg5 = (int) 0 ;
6940 PyObject * obj0 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 Py_INCREF(Py_None); resultobj = Py_None;
6955 return resultobj;
6956 fail:
6957 return NULL;
6958}
6959
6960
6961static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxPyShape *arg1 = (wxPyShape *) 0 ;
6964 double arg2 ;
6965 double arg3 ;
6966 int arg4 = (int) 0 ;
6967 int arg5 = (int) 0 ;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986}
6987
6988
6989static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxPyShape *arg1 = (wxPyShape *) 0 ;
6992 double arg2 ;
6993 double arg3 ;
6994 int arg4 = (int) 0 ;
6995 int arg5 = (int) 0 ;
6996 PyObject * obj0 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014}
7015
7016
7017static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxPyShape *arg1 = (wxPyShape *) 0 ;
7020 double arg2 ;
7021 double arg3 ;
7022 PyObject * obj0 = 0 ;
7023 char *kwnames[] = {
7024 (char *) "self",(char *) "x",(char *) "y", NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->base_OnSize(arg2,arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040}
7041
7042
7043static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxPyShape *arg1 = (wxPyShape *) 0 ;
7046 wxDC *arg2 = 0 ;
7047 double arg3 ;
7048 double arg4 ;
7049 double arg5 ;
7050 double arg6 ;
7051 bool arg7 = (bool) True ;
7052 bool result;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj6 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7063 if (arg2 == NULL) {
7064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7065 }
7066 if (obj6) {
7067 arg7 = PyInt_AsLong(obj6) ? true : false;
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = PyInt_FromLong((long)result);
7078 return resultobj;
7079 fail:
7080 return NULL;
7081}
7082
7083
7084static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxPyShape *arg1 = (wxPyShape *) 0 ;
7087 wxDC *arg2 = 0 ;
7088 double arg3 ;
7089 double arg4 ;
7090 double arg5 ;
7091 double arg6 ;
7092 bool arg7 = (bool) True ;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 PyObject * obj6 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7103 if (arg2 == NULL) {
7104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7105 }
7106 if (obj6) {
7107 arg7 = PyInt_AsLong(obj6) ? true : false;
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 Py_INCREF(Py_None); resultobj = Py_None;
7118 return resultobj;
7119 fail:
7120 return NULL;
7121}
7122
7123
7124static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj;
7126 wxPyShape *arg1 = (wxPyShape *) 0 ;
7127 bool arg2 ;
7128 double arg3 ;
7129 double arg4 ;
7130 int arg5 = (int) 0 ;
7131 int arg6 = (int) 0 ;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 arg2 = PyInt_AsLong(obj1) ? true : false;
7141 if (PyErr_Occurred()) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 return resultobj;
7151 fail:
7152 return NULL;
7153}
7154
7155
7156static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxPyShape *arg1 = (wxPyShape *) 0 ;
7159 double arg2 ;
7160 double arg3 ;
7161 int arg4 = (int) 0 ;
7162 int arg5 = (int) 0 ;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181}
7182
7183
7184static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxPyShape *arg1 = (wxPyShape *) 0 ;
7187 double arg2 ;
7188 double arg3 ;
7189 int arg4 = (int) 0 ;
7190 int arg5 = (int) 0 ;
7191 PyObject * obj0 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 Py_INCREF(Py_None); resultobj = Py_None;
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxPyShape *arg1 = (wxPyShape *) 0 ;
7215 bool arg2 ;
7216 double arg3 ;
7217 double arg4 ;
7218 int arg5 = (int) 0 ;
7219 int arg6 = (int) 0 ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 arg2 = PyInt_AsLong(obj1) ? true : false;
7229 if (PyErr_Occurred()) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 return resultobj;
7239 fail:
7240 return NULL;
7241}
7242
7243
7244static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxPyShape *arg1 = (wxPyShape *) 0 ;
7247 double arg2 ;
7248 double arg3 ;
7249 int arg4 = (int) 0 ;
7250 int arg5 = (int) 0 ;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 Py_INCREF(Py_None); resultobj = Py_None;
7266 return resultobj;
7267 fail:
7268 return NULL;
7269}
7270
7271
7272static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj;
7274 wxPyShape *arg1 = (wxPyShape *) 0 ;
7275 double arg2 ;
7276 double arg3 ;
7277 int arg4 = (int) 0 ;
7278 int arg5 = (int) 0 ;
7279 PyObject * obj0 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 Py_INCREF(Py_None); resultobj = Py_None;
7294 return resultobj;
7295 fail:
7296 return NULL;
7297}
7298
7299
7300static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7301 PyObject *resultobj;
7302 wxPyShape *arg1 = (wxPyShape *) 0 ;
7303 wxDC *arg2 = 0 ;
7304 double arg3 ;
7305 double arg4 ;
7306 double arg5 ;
7307 double arg6 ;
7308 PyObject * obj0 = 0 ;
7309 PyObject * obj1 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 if (arg2 == NULL) {
7318 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 Py_INCREF(Py_None); resultobj = Py_None;
7328 return resultobj;
7329 fail:
7330 return NULL;
7331}
7332
7333
7334static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxPyShape *arg1 = (wxPyShape *) 0 ;
7337 wxDC *arg2 = 0 ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "self",(char *) "dc", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
7345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 if (arg2 == NULL) {
7348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7349 }
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 (arg1)->base_OnDrawControlPoints(*arg2);
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 Py_INCREF(Py_None); resultobj = Py_None;
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
7364static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxPyShape *arg1 = (wxPyShape *) 0 ;
7367 wxDC *arg2 = 0 ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self",(char *) "dc", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 if (arg2 == NULL) {
7378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->base_OnEraseControlPoints(*arg2);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
7394static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxPyShape *arg1 = (wxPyShape *) 0 ;
7397 wxDC *arg2 = 0 ;
7398 bool arg3 = (bool) True ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
7407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 if (arg2 == NULL) {
7410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7411 }
7412 if (obj2) {
7413 arg3 = PyInt_AsLong(obj2) ? true : false;
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 (arg1)->base_OnMoveLink(*arg2,arg3);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 Py_INCREF(Py_None); resultobj = Py_None;
7424 return resultobj;
7425 fail:
7426 return NULL;
7427}
7428
7429
7430static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxPyShape *arg1 = (wxPyShape *) 0 ;
7433 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7434 bool arg3 ;
7435 double arg4 ;
7436 double arg5 ;
7437 int arg6 = (int) 0 ;
7438 int arg7 = (int) 0 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 PyObject * obj2 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7449 arg3 = PyInt_AsLong(obj2) ? true : false;
7450 if (PyErr_Occurred()) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 Py_INCREF(Py_None); resultobj = Py_None;
7459 return resultobj;
7460 fail:
7461 return NULL;
7462}
7463
7464
7465static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxPyShape *arg1 = (wxPyShape *) 0 ;
7468 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7469 double arg3 ;
7470 double arg4 ;
7471 int arg5 = (int) 0 ;
7472 int arg6 = (int) 0 ;
7473 PyObject * obj0 = 0 ;
7474 PyObject * obj1 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 return resultobj;
7491 fail:
7492 return NULL;
7493}
7494
7495
7496static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxPyShape *arg1 = (wxPyShape *) 0 ;
7499 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7500 double arg3 ;
7501 double arg4 ;
7502 int arg5 = (int) 0 ;
7503 int arg6 = (int) 0 ;
7504 PyObject * obj0 = 0 ;
7505 PyObject * obj1 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 Py_INCREF(Py_None); resultobj = Py_None;
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
7527static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxPyShape *arg1 = (wxPyShape *) 0 ;
7530 double arg2 ;
7531 double arg3 ;
7532 PyObject * obj0 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self",(char *) "w",(char *) "h", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 (arg1)->base_OnBeginSize(arg2,arg3);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 return resultobj;
7548 fail:
7549 return NULL;
7550}
7551
7552
7553static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxPyShape *arg1 = (wxPyShape *) 0 ;
7556 double arg2 ;
7557 double arg3 ;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "w",(char *) "h", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 (arg1)->base_OnEndSize(arg2,arg3);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 Py_INCREF(Py_None); resultobj = Py_None;
7573 return resultobj;
7574 fail:
7575 return NULL;
7576}
7577
7578
7579static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
7580 PyObject *obj;
7581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7582 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
7583 Py_INCREF(obj);
7584 return Py_BuildValue((char *)"");
7585}
7586static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxPseudoMetaFile *result;
7589 char *kwnames[] = {
7590 NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 {
7602 resultobj = wxPyMake_wxObject(result);
7603 }
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
7610static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj;
7612 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
7619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 delete arg1;
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 Py_INCREF(Py_None); resultobj = Py_None;
7628 return resultobj;
7629 fail:
7630 return NULL;
7631}
7632
7633
7634static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7637 wxDC *arg2 = 0 ;
7638 double arg3 ;
7639 double arg4 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7649 if (arg2 == NULL) {
7650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->Draw(*arg2,arg3,arg4);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
7666static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7669 PyObject * obj0 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->Clear();
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 return resultobj;
7685 fail:
7686 return NULL;
7687}
7688
7689
7690static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7693 wxPseudoMetaFile *arg2 = 0 ;
7694 PyObject * obj0 = 0 ;
7695 PyObject * obj1 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self",(char *) "copy", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 if (arg2 == NULL) {
7704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->Copy(*arg2);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 return resultobj;
7715 fail:
7716 return NULL;
7717}
7718
7719
7720static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7723 double arg2 ;
7724 double arg3 ;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "sx",(char *) "sy", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->Scale(arg2,arg3);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743}
7744
7745
7746static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7749 double arg2 ;
7750 double arg3 ;
7751 PyObject * obj0 = 0 ;
7752 char *kwnames[] = {
7753 (char *) "self",(char *) "w",(char *) "h", NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames,&obj0,&arg2,&arg3)) goto fail;
7757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 (arg1)->ScaleTo(arg2,arg3);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 Py_INCREF(Py_None); resultobj = Py_None;
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7775 double arg2 ;
7776 double arg3 ;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "x",(char *) "y", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 (arg1)->Translate(arg2,arg3);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 Py_INCREF(Py_None); resultobj = Py_None;
7792 return resultobj;
7793 fail:
7794 return NULL;
7795}
7796
7797
7798static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7801 double arg2 ;
7802 double arg3 ;
7803 double arg4 ;
7804 PyObject * obj0 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
7810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->Rotate(arg2,arg3,arg4);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 return resultobj;
7820 fail:
7821 return NULL;
7822}
7823
7824
7825static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7828 wxString *arg2 = 0 ;
7829 double *arg3 = (double *) 0 ;
7830 double *arg4 = (double *) 0 ;
7831 bool result;
7832 bool temp2 = False ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 PyObject * obj2 = 0 ;
7836 PyObject * obj3 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 {
7844 arg2 = wxString_in_helper(obj1);
7845 if (arg2 == NULL) SWIG_fail;
7846 temp2 = True;
7847 }
7848 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = PyInt_FromLong((long)result);
7858 {
7859 if (temp2)
7860 delete arg2;
7861 }
7862 return resultobj;
7863 fail:
7864 {
7865 if (temp2)
7866 delete arg2;
7867 }
7868 return NULL;
7869}
7870
7871
7872static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7875 double *arg2 = (double *) 0 ;
7876 double *arg3 = (double *) 0 ;
7877 double *arg4 = (double *) 0 ;
7878 double *arg5 = (double *) 0 ;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 PyObject * obj2 = 0 ;
7882 PyObject * obj3 = 0 ;
7883 PyObject * obj4 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7891 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7892 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7893 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
7908static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7911 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "shape", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->CalculateSize(arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932}
7933
7934
7935static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7938 bool arg2 ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self",(char *) "rot", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7947 arg2 = PyInt_AsLong(obj1) ? true : false;
7948 if (PyErr_Occurred()) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->SetRotateable(arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960}
7961
7962
7963static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7966 bool result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (bool)(arg1)->GetRotateable();
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = PyInt_FromLong((long)result);
7982 return resultobj;
7983 fail:
7984 return NULL;
7985}
7986
7987
7988static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7991 double arg2 ;
7992 double arg3 ;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self",(char *) "w",(char *) "h", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 (arg1)->SetSize(arg2,arg3);
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 Py_INCREF(Py_None); resultobj = Py_None;
8008 return resultobj;
8009 fail:
8010 return NULL;
8011}
8012
8013
8014static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj;
8016 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8017 wxBrush *arg2 = (wxBrush *) 0 ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "brush", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
8025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8026 {
8027 wxBrush* temp;
8028 if (obj1) {
8029 if (obj1 == Py_None) {
8030 temp = NULL;
8031 }
8032 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8033 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8034 return NULL;
8035 }
8036 }
8037 if (temp)
8038 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8039 else
8040 arg2 = NULL;
8041 }
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 (arg1)->SetFillBrush(arg2);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 Py_INCREF(Py_None); resultobj = Py_None;
8050 return resultobj;
8051 fail:
8052 return NULL;
8053}
8054
8055
8056static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8059 wxBrush *result;
8060 PyObject * obj0 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
8066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = (wxBrush *)(arg1)->GetFillBrush();
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
8081static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8084 wxPen *arg2 = (wxPen *) 0 ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self",(char *) "pen", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093 {
8094 wxPen* temp;
8095 if (obj1) {
8096 if (obj1 == Py_None) {
8097 temp = NULL;
8098 }
8099 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8100 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8101 return NULL;
8102 }
8103 }
8104 if (temp)
8105 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8106 temp->GetWidth(),
8107 temp->GetStyle());
8108 else
8109 arg2 = NULL;
8110 }
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 (arg1)->SetOutlinePen(arg2);
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 Py_INCREF(Py_None); resultobj = Py_None;
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
8125static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8128 wxPen *result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (wxPen *)(arg1)->GetOutlinePen();
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8153 int arg2 ;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "op", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&arg2)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 {
8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
8163 (arg1)->SetOutlineOp(arg2);
8164
8165 wxPyEndAllowThreads(__tstate);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 Py_INCREF(Py_None); resultobj = Py_None;
8169 return resultobj;
8170 fail:
8171 return NULL;
8172}
8173
8174
8175static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8176 PyObject *resultobj;
8177 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8178 int result;
8179 PyObject * obj0 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "self", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = (int)(arg1)->GetOutlineOp();
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 resultobj = PyInt_FromLong((long)result);
8194 return resultobj;
8195 fail:
8196 return NULL;
8197}
8198
8199
8200static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject *resultobj;
8202 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8203 bool result;
8204 PyObject * obj0 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 result = (bool)(arg1)->IsValid();
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 resultobj = PyInt_FromLong((long)result);
8219 return resultobj;
8220 fail:
8221 return NULL;
8222}
8223
8224
8225static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8228 wxPoint *arg2 = 0 ;
8229 wxPoint *arg3 = 0 ;
8230 wxPoint temp2 ;
8231 wxPoint temp3 ;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8241 {
8242 arg2 = &temp2;
8243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8244 }
8245 {
8246 arg3 = &temp3;
8247 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260}
8261
8262
8263static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8266 wxRect *arg2 = 0 ;
8267 wxRect temp2 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self",(char *) "rect", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 arg2 = &temp2;
8278 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8279 }
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 (arg1)->DrawRectangle((wxRect const &)*arg2);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 Py_INCREF(Py_None); resultobj = Py_None;
8288 return resultobj;
8289 fail:
8290 return NULL;
8291}
8292
8293
8294static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj;
8296 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8297 wxRect *arg2 = 0 ;
8298 double arg3 ;
8299 wxRect temp2 ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "rect",(char *) "radius", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 {
8309 arg2 = &temp2;
8310 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8311 }
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 Py_INCREF(Py_None); resultobj = Py_None;
8320 return resultobj;
8321 fail:
8322 return NULL;
8323}
8324
8325
8326static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8329 wxPoint *arg2 = 0 ;
8330 wxPoint *arg3 = 0 ;
8331 wxPoint *arg4 = 0 ;
8332 wxPoint temp2 ;
8333 wxPoint temp3 ;
8334 wxPoint temp4 ;
8335 PyObject * obj0 = 0 ;
8336 PyObject * obj1 = 0 ;
8337 PyObject * obj2 = 0 ;
8338 PyObject * obj3 = 0 ;
8339 char *kwnames[] = {
8340 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8341 };
8342
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8345 {
8346 arg2 = &temp2;
8347 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8348 }
8349 {
8350 arg3 = &temp3;
8351 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8352 }
8353 {
8354 arg4 = &temp4;
8355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8356 }
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 Py_INCREF(Py_None); resultobj = Py_None;
8365 return resultobj;
8366 fail:
8367 return NULL;
8368}
8369
8370
8371static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8374 wxRect *arg2 = 0 ;
8375 double arg3 ;
8376 double arg4 ;
8377 wxRect temp2 ;
8378 PyObject * obj0 = 0 ;
8379 PyObject * obj1 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8386 {
8387 arg2 = &temp2;
8388 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401}
8402
8403
8404static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8407 wxRect *arg2 = 0 ;
8408 wxRect temp2 ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "rect", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
8416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8417 {
8418 arg2 = &temp2;
8419 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8420 }
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 (arg1)->DrawEllipse((wxRect const &)*arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
8435static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8438 wxPoint *arg2 = 0 ;
8439 wxPoint temp2 ;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "pt", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 {
8449 arg2 = &temp2;
8450 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8451 }
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 (arg1)->DrawPoint((wxPoint const &)*arg2);
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 Py_INCREF(Py_None); resultobj = Py_None;
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
8466static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8469 wxString *arg2 = 0 ;
8470 wxPoint *arg3 = 0 ;
8471 bool temp2 = False ;
8472 wxPoint temp3 ;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475 PyObject * obj2 = 0 ;
8476 char *kwnames[] = {
8477 (char *) "self",(char *) "text",(char *) "pt", NULL
8478 };
8479
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8482 {
8483 arg2 = wxString_in_helper(obj1);
8484 if (arg2 == NULL) SWIG_fail;
8485 temp2 = True;
8486 }
8487 {
8488 arg3 = &temp3;
8489 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 Py_INCREF(Py_None); resultobj = Py_None;
8499 {
8500 if (temp2)
8501 delete arg2;
8502 }
8503 return resultobj;
8504 fail:
8505 {
8506 if (temp2)
8507 delete arg2;
8508 }
8509 return NULL;
8510}
8511
8512
8513static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8516 int arg2 ;
8517 wxPoint *arg3 = (wxPoint *) 0 ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj2 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 (arg1)->DrawLines(arg2,arg3);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 Py_INCREF(Py_None); resultobj = Py_None;
8535 return resultobj;
8536 fail:
8537 return NULL;
8538}
8539
8540
8541static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8544 int arg2 ;
8545 wxPoint *arg3 = (wxPoint *) 0 ;
8546 int arg4 = (int) 0 ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj2 = 0 ;
8549 char *kwnames[] = {
8550 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8551 };
8552
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
8554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8555 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 (arg1)->DrawPolygon(arg2,arg3,arg4);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 Py_INCREF(Py_None); resultobj = Py_None;
8564 return resultobj;
8565 fail:
8566 return NULL;
8567}
8568
8569
8570static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject *resultobj;
8572 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8573 int arg2 ;
8574 wxPoint *arg3 = (wxPoint *) 0 ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj2 = 0 ;
8577 char *kwnames[] = {
8578 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
8582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8583 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 (arg1)->DrawSpline(arg2,arg3);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 Py_INCREF(Py_None); resultobj = Py_None;
8592 return resultobj;
8593 fail:
8594 return NULL;
8595}
8596
8597
8598static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8599 PyObject *resultobj;
8600 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8601 wxRect *arg2 = 0 ;
8602 wxRect temp2 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self",(char *) "rect", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8611 {
8612 arg2 = &temp2;
8613 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8614 }
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 (arg1)->SetClippingRect((wxRect const &)*arg2);
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 Py_INCREF(Py_None); resultobj = Py_None;
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8632 PyObject * obj0 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 (arg1)->DestroyClippingRect();
8642
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 Py_INCREF(Py_None); resultobj = Py_None;
8647 return resultobj;
8648 fail:
8649 return NULL;
8650}
8651
8652
8653static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8656 wxPen *arg2 = (wxPen *) 0 ;
8657 bool arg3 = (bool) FALSE ;
8658 PyObject * obj0 = 0 ;
8659 PyObject * obj1 = 0 ;
8660 PyObject * obj2 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8667 {
8668 wxPen* temp;
8669 if (obj1) {
8670 if (obj1 == Py_None) {
8671 temp = NULL;
8672 }
8673 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8674 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8675 return NULL;
8676 }
8677 }
8678 if (temp)
8679 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8680 temp->GetWidth(),
8681 temp->GetStyle());
8682 else
8683 arg2 = NULL;
8684 }
8685 if (obj2) {
8686 arg3 = PyInt_AsLong(obj2) ? true : false;
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetPen(arg2,arg3);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
8703static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8706 wxBrush *arg2 = (wxBrush *) 0 ;
8707 bool arg3 = (bool) FALSE ;
8708 PyObject * obj0 = 0 ;
8709 PyObject * obj1 = 0 ;
8710 PyObject * obj2 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8717 {
8718 wxBrush* temp;
8719 if (obj1) {
8720 if (obj1 == Py_None) {
8721 temp = NULL;
8722 }
8723 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8724 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8725 return NULL;
8726 }
8727 }
8728 if (temp)
8729 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8730 else
8731 arg2 = NULL;
8732 }
8733 if (obj2) {
8734 arg3 = PyInt_AsLong(obj2) ? true : false;
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->SetBrush(arg2,arg3);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
8751static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8754 wxFont *arg2 = (wxFont *) 0 ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "font", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763 {
8764 wxFont* temp;
8765 if (obj1) {
8766 if (obj1 == Py_None) {
8767 temp = NULL;
8768 }
8769 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
8770 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
8771 return NULL;
8772 }
8773 }
8774 if (temp)
8775 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
8776 temp->GetFamily(),
8777 temp->GetStyle(),
8778 temp->GetWeight(),
8779 temp->GetUnderlined(),
8780 temp->GetFaceName(),
8781 temp->GetEncoding());
8782 else
8783 arg2 = NULL;
8784 }
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 (arg1)->SetFont(arg2);
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 Py_INCREF(Py_None); resultobj = Py_None;
8793 return resultobj;
8794 fail:
8795 return NULL;
8796}
8797
8798
8799static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8802 wxColour *arg2 = 0 ;
8803 wxColour temp2 ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "colour", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8812 {
8813 arg2 = &temp2;
8814 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->SetTextColour((wxColour const &)*arg2);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
8830static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8833 wxColour *arg2 = 0 ;
8834 wxColour temp2 ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "colour", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8843 {
8844 arg2 = &temp2;
8845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 Py_INCREF(Py_None); resultobj = Py_None;
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
8861static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8862 PyObject *resultobj;
8863 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8864 int arg2 ;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "mode", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->SetBackgroundMode(arg2);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 Py_INCREF(Py_None); resultobj = Py_None;
8880 return resultobj;
8881 fail:
8882 return NULL;
8883}
8884
8885
8886static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
8887 PyObject *obj;
8888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8889 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
8890 Py_INCREF(obj);
8891 return Py_BuildValue((char *)"");
8892}
8893static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 double arg1 = (double) 0.0 ;
8896 double arg2 = (double) 0.0 ;
8897 wxPyRectangleShape *result;
8898 char *kwnames[] = {
8899 (char *) "width",(char *) "height", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyRectangleShape",kwnames,&arg1,&arg2)) goto fail;
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
8911 return resultobj;
8912 fail:
8913 return NULL;
8914}
8915
8916
8917static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8920 PyObject *arg2 = (PyObject *) 0 ;
8921 PyObject *arg3 = (PyObject *) 0 ;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 PyObject * obj2 = 0 ;
8925 char *kwnames[] = {
8926 (char *) "self",(char *) "self",(char *) "_class", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8931 arg2 = obj1;
8932 arg3 = obj2;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->_setCallbackInfo(arg2,arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 Py_INCREF(Py_None); resultobj = Py_None;
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8950 double arg2 ;
8951 PyObject * obj0 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "radius", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->SetCornerRadius(arg2);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 Py_INCREF(Py_None); resultobj = Py_None;
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 (arg1)->base_OnDelete();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
8996static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8999 wxDC *arg2 = 0 ;
9000 PyObject * obj0 = 0 ;
9001 PyObject * obj1 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self",(char *) "dc", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9009 if (arg2 == NULL) {
9010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->base_OnDraw(*arg2);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023}
9024
9025
9026static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9029 wxDC *arg2 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "self",(char *) "dc", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
9037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9039 if (arg2 == NULL) {
9040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9041 }
9042 {
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 (arg1)->base_OnDrawContents(*arg2);
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 Py_INCREF(Py_None); resultobj = Py_None;
9050 return resultobj;
9051 fail:
9052 return NULL;
9053}
9054
9055
9056static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9059 wxDC *arg2 = 0 ;
9060 bool arg3 = (bool) FALSE ;
9061 PyObject * obj0 = 0 ;
9062 PyObject * obj1 = 0 ;
9063 PyObject * obj2 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "self",(char *) "dc",(char *) "erase", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
9069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 if (arg2 == NULL) {
9072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9073 }
9074 if (obj2) {
9075 arg3 = PyInt_AsLong(obj2) ? true : false;
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 (arg1)->base_OnDrawBranches(*arg2,arg3);
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 Py_INCREF(Py_None); resultobj = Py_None;
9086 return resultobj;
9087 fail:
9088 return NULL;
9089}
9090
9091
9092static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9093 PyObject *resultobj;
9094 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9095 wxDC *arg2 = 0 ;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self",(char *) "dc", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
9103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9105 if (arg2 == NULL) {
9106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9107 }
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 (arg1)->base_OnMoveLinks(*arg2);
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 Py_INCREF(Py_None); resultobj = Py_None;
9116 return resultobj;
9117 fail:
9118 return NULL;
9119}
9120
9121
9122static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9125 wxDC *arg2 = 0 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self",(char *) "dc", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9135 if (arg2 == NULL) {
9136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->base_OnErase(*arg2);
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 Py_INCREF(Py_None); resultobj = Py_None;
9146 return resultobj;
9147 fail:
9148 return NULL;
9149}
9150
9151
9152static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9155 wxDC *arg2 = 0 ;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "dc", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
9163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9165 if (arg2 == NULL) {
9166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->base_OnEraseContents(*arg2);
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
9182static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9185 wxDC *arg2 = 0 ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self",(char *) "dc", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9195 if (arg2 == NULL) {
9196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9197 }
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 (arg1)->base_OnHighlight(*arg2);
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 Py_INCREF(Py_None); resultobj = Py_None;
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
9212static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9215 double arg2 ;
9216 double arg3 ;
9217 int arg4 = (int) 0 ;
9218 int arg5 = (int) 0 ;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 Py_INCREF(Py_None); resultobj = Py_None;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
9240static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9243 double arg2 ;
9244 double arg3 ;
9245 int arg4 = (int) 0 ;
9246 int arg5 = (int) 0 ;
9247 PyObject * obj0 = 0 ;
9248 char *kwnames[] = {
9249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9250 };
9251
9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 return resultobj;
9263 fail:
9264 return NULL;
9265}
9266
9267
9268static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9271 double arg2 ;
9272 double arg3 ;
9273 int arg4 = (int) 0 ;
9274 int arg5 = (int) 0 ;
9275 PyObject * obj0 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 Py_INCREF(Py_None); resultobj = Py_None;
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
9296static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj;
9298 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9299 double arg2 ;
9300 double arg3 ;
9301 PyObject * obj0 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self",(char *) "x",(char *) "y", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 (arg1)->base_OnSize(arg2,arg3);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 Py_INCREF(Py_None); resultobj = Py_None;
9316 return resultobj;
9317 fail:
9318 return NULL;
9319}
9320
9321
9322static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject *resultobj;
9324 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9325 wxDC *arg2 = 0 ;
9326 double arg3 ;
9327 double arg4 ;
9328 double arg5 ;
9329 double arg6 ;
9330 bool arg7 = (bool) True ;
9331 bool result;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334 PyObject * obj6 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9342 if (arg2 == NULL) {
9343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9344 }
9345 if (obj6) {
9346 arg7 = PyInt_AsLong(obj6) ? true : false;
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = PyInt_FromLong((long)result);
9357 return resultobj;
9358 fail:
9359 return NULL;
9360}
9361
9362
9363static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9366 wxDC *arg2 = 0 ;
9367 double arg3 ;
9368 double arg4 ;
9369 double arg5 ;
9370 double arg6 ;
9371 bool arg7 = (bool) True ;
9372 PyObject * obj0 = 0 ;
9373 PyObject * obj1 = 0 ;
9374 PyObject * obj6 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9382 if (arg2 == NULL) {
9383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9384 }
9385 if (obj6) {
9386 arg7 = PyInt_AsLong(obj6) ? true : false;
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 Py_INCREF(Py_None); resultobj = Py_None;
9397 return resultobj;
9398 fail:
9399 return NULL;
9400}
9401
9402
9403static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9406 bool arg2 ;
9407 double arg3 ;
9408 double arg4 ;
9409 int arg5 = (int) 0 ;
9410 int arg6 = (int) 0 ;
9411 PyObject * obj0 = 0 ;
9412 PyObject * obj1 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9419 arg2 = PyInt_AsLong(obj1) ? true : false;
9420 if (PyErr_Occurred()) SWIG_fail;
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 Py_INCREF(Py_None); resultobj = Py_None;
9429 return resultobj;
9430 fail:
9431 return NULL;
9432}
9433
9434
9435static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9438 double arg2 ;
9439 double arg3 ;
9440 int arg4 = (int) 0 ;
9441 int arg5 = (int) 0 ;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 Py_INCREF(Py_None); resultobj = Py_None;
9457 return resultobj;
9458 fail:
9459 return NULL;
9460}
9461
9462
9463static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9466 double arg2 ;
9467 double arg3 ;
9468 int arg4 = (int) 0 ;
9469 int arg5 = (int) 0 ;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 Py_INCREF(Py_None); resultobj = Py_None;
9485 return resultobj;
9486 fail:
9487 return NULL;
9488}
9489
9490
9491static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj;
9493 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9494 bool arg2 ;
9495 double arg3 ;
9496 double arg4 ;
9497 int arg5 = (int) 0 ;
9498 int arg6 = (int) 0 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9507 arg2 = PyInt_AsLong(obj1) ? true : false;
9508 if (PyErr_Occurred()) SWIG_fail;
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 Py_INCREF(Py_None); resultobj = Py_None;
9517 return resultobj;
9518 fail:
9519 return NULL;
9520}
9521
9522
9523static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj;
9525 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9526 double arg2 ;
9527 double arg3 ;
9528 int arg4 = (int) 0 ;
9529 int arg5 = (int) 0 ;
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 Py_INCREF(Py_None); resultobj = Py_None;
9545 return resultobj;
9546 fail:
9547 return NULL;
9548}
9549
9550
9551static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9554 double arg2 ;
9555 double arg3 ;
9556 int arg4 = (int) 0 ;
9557 int arg5 = (int) 0 ;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 Py_INCREF(Py_None); resultobj = Py_None;
9573 return resultobj;
9574 fail:
9575 return NULL;
9576}
9577
9578
9579static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9582 wxDC *arg2 = 0 ;
9583 double arg3 ;
9584 double arg4 ;
9585 double arg5 ;
9586 double arg6 ;
9587 PyObject * obj0 = 0 ;
9588 PyObject * obj1 = 0 ;
9589 char *kwnames[] = {
9590 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9591 };
9592
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9596 if (arg2 == NULL) {
9597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9598 }
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610}
9611
9612
9613static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9616 wxDC *arg2 = 0 ;
9617 PyObject * obj0 = 0 ;
9618 PyObject * obj1 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self",(char *) "dc", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 if (arg2 == NULL) {
9627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9628 }
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 (arg1)->base_OnDrawControlPoints(*arg2);
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 Py_INCREF(Py_None); resultobj = Py_None;
9637 return resultobj;
9638 fail:
9639 return NULL;
9640}
9641
9642
9643static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9646 wxDC *arg2 = 0 ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "dc", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9656 if (arg2 == NULL) {
9657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9658 }
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 (arg1)->base_OnEraseControlPoints(*arg2);
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 Py_INCREF(Py_None); resultobj = Py_None;
9667 return resultobj;
9668 fail:
9669 return NULL;
9670}
9671
9672
9673static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject *resultobj;
9675 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9676 wxDC *arg2 = 0 ;
9677 bool arg3 = (bool) True ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 PyObject * obj2 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
9686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9688 if (arg2 == NULL) {
9689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9690 }
9691 if (obj2) {
9692 arg3 = PyInt_AsLong(obj2) ? true : false;
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 (arg1)->base_OnMoveLink(*arg2,arg3);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 Py_INCREF(Py_None); resultobj = Py_None;
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
9709static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9712 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9713 bool arg3 ;
9714 double arg4 ;
9715 double arg5 ;
9716 int arg6 = (int) 0 ;
9717 int arg7 = (int) 0 ;
9718 PyObject * obj0 = 0 ;
9719 PyObject * obj1 = 0 ;
9720 PyObject * obj2 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 arg3 = PyInt_AsLong(obj2) ? true : false;
9729 if (PyErr_Occurred()) SWIG_fail;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 Py_INCREF(Py_None); resultobj = Py_None;
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9747 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9748 double arg3 ;
9749 double arg4 ;
9750 int arg5 = (int) 0 ;
9751 int arg6 = (int) 0 ;
9752 PyObject * obj0 = 0 ;
9753 PyObject * obj1 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 Py_INCREF(Py_None); resultobj = Py_None;
9769 return resultobj;
9770 fail:
9771 return NULL;
9772}
9773
9774
9775static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9778 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9779 double arg3 ;
9780 double arg4 ;
9781 int arg5 = (int) 0 ;
9782 int arg6 = (int) 0 ;
9783 PyObject * obj0 = 0 ;
9784 PyObject * obj1 = 0 ;
9785 char *kwnames[] = {
9786 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9787 };
9788
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9795
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 Py_INCREF(Py_None); resultobj = Py_None;
9800 return resultobj;
9801 fail:
9802 return NULL;
9803}
9804
9805
9806static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9809 double arg2 ;
9810 double arg3 ;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "w",(char *) "h", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 (arg1)->base_OnBeginSize(arg2,arg3);
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 Py_INCREF(Py_None); resultobj = Py_None;
9826 return resultobj;
9827 fail:
9828 return NULL;
9829}
9830
9831
9832static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9835 double arg2 ;
9836 double arg3 ;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "w",(char *) "h", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 (arg1)->base_OnEndSize(arg2,arg3);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 Py_INCREF(Py_None); resultobj = Py_None;
9852 return resultobj;
9853 fail:
9854 return NULL;
9855}
9856
9857
9858static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
9859 PyObject *obj;
9860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9861 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
9862 Py_INCREF(obj);
9863 return Py_BuildValue((char *)"");
9864}
9865static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj;
9867 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
9868 wxPyShape *arg2 = (wxPyShape *) NULL ;
9869 double arg3 = (double) 0.0 ;
9870 double arg4 = (double) 0.0 ;
9871 double arg5 = (double) 0.0 ;
9872 int arg6 = (int) 0 ;
9873 wxPyControlPoint *result;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char *kwnames[] = {
9877 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9878 };
9879
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOdddi:new_PyControlPoint",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9881 if (obj0) {
9882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9883 }
9884 if (obj1) {
9885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898}
9899
9900
9901static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9904 PyObject *arg2 = (PyObject *) 0 ;
9905 PyObject *arg3 = (PyObject *) 0 ;
9906 PyObject * obj0 = 0 ;
9907 PyObject * obj1 = 0 ;
9908 PyObject * obj2 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "self",(char *) "_class", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 arg2 = obj1;
9916 arg3 = obj2;
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 (arg1)->_setCallbackInfo(arg2,arg3);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 Py_INCREF(Py_None); resultobj = Py_None;
9925 return resultobj;
9926 fail:
9927 return NULL;
9928}
9929
9930
9931static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj;
9933 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9934 double arg2 ;
9935 PyObject * obj0 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self",(char *) "radius", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetCornerRadius(arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953}
9954
9955
9956static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 (arg1)->base_OnDelete();
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 Py_INCREF(Py_None); resultobj = Py_None;
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
9980static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9983 wxDC *arg2 = 0 ;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self",(char *) "dc", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9993 if (arg2 == NULL) {
9994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 (arg1)->base_OnDraw(*arg2);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 return resultobj;
10005 fail:
10006 return NULL;
10007}
10008
10009
10010static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10013 wxDC *arg2 = 0 ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self",(char *) "dc", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10023 if (arg2 == NULL) {
10024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10025 }
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 (arg1)->base_OnDrawContents(*arg2);
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 Py_INCREF(Py_None); resultobj = Py_None;
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
10040static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10043 wxDC *arg2 = 0 ;
10044 bool arg3 = (bool) FALSE ;
10045 PyObject * obj0 = 0 ;
10046 PyObject * obj1 = 0 ;
10047 PyObject * obj2 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "self",(char *) "dc",(char *) "erase", NULL
10050 };
10051
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10055 if (arg2 == NULL) {
10056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10057 }
10058 if (obj2) {
10059 arg3 = PyInt_AsLong(obj2) ? true : false;
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 (arg1)->base_OnDrawBranches(*arg2,arg3);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 Py_INCREF(Py_None); resultobj = Py_None;
10070 return resultobj;
10071 fail:
10072 return NULL;
10073}
10074
10075
10076static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10079 wxDC *arg2 = 0 ;
10080 PyObject * obj0 = 0 ;
10081 PyObject * obj1 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self",(char *) "dc", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10089 if (arg2 == NULL) {
10090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10091 }
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 (arg1)->base_OnMoveLinks(*arg2);
10095
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 Py_INCREF(Py_None); resultobj = Py_None;
10100 return resultobj;
10101 fail:
10102 return NULL;
10103}
10104
10105
10106static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10109 wxDC *arg2 = 0 ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112 char *kwnames[] = {
10113 (char *) "self",(char *) "dc", NULL
10114 };
10115
10116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10119 if (arg2 == NULL) {
10120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10121 }
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->base_OnErase(*arg2);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133}
10134
10135
10136static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10139 wxDC *arg2 = 0 ;
10140 PyObject * obj0 = 0 ;
10141 PyObject * obj1 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self",(char *) "dc", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10149 if (arg2 == NULL) {
10150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10151 }
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 (arg1)->base_OnEraseContents(*arg2);
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 Py_INCREF(Py_None); resultobj = Py_None;
10160 return resultobj;
10161 fail:
10162 return NULL;
10163}
10164
10165
10166static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10169 wxDC *arg2 = 0 ;
10170 PyObject * obj0 = 0 ;
10171 PyObject * obj1 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "dc", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10179 if (arg2 == NULL) {
10180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->base_OnHighlight(*arg2);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 Py_INCREF(Py_None); resultobj = Py_None;
10190 return resultobj;
10191 fail:
10192 return NULL;
10193}
10194
10195
10196static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10199 double arg2 ;
10200 double arg3 ;
10201 int arg4 = (int) 0 ;
10202 int arg5 = (int) 0 ;
10203 PyObject * obj0 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 Py_INCREF(Py_None); resultobj = Py_None;
10218 return resultobj;
10219 fail:
10220 return NULL;
10221}
10222
10223
10224static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10227 double arg2 ;
10228 double arg3 ;
10229 int arg4 = (int) 0 ;
10230 int arg5 = (int) 0 ;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 Py_INCREF(Py_None); resultobj = Py_None;
10246 return resultobj;
10247 fail:
10248 return NULL;
10249}
10250
10251
10252static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10255 double arg2 ;
10256 double arg3 ;
10257 int arg4 = (int) 0 ;
10258 int arg5 = (int) 0 ;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10283 double arg2 ;
10284 double arg3 ;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self",(char *) "x",(char *) "y", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 (arg1)->base_OnSize(arg2,arg3);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
10306static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10309 wxDC *arg2 = 0 ;
10310 double arg3 ;
10311 double arg4 ;
10312 double arg5 ;
10313 double arg6 ;
10314 bool arg7 = (bool) True ;
10315 bool result;
10316 PyObject * obj0 = 0 ;
10317 PyObject * obj1 = 0 ;
10318 PyObject * obj6 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10326 if (arg2 == NULL) {
10327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10328 }
10329 if (obj6) {
10330 arg7 = PyInt_AsLong(obj6) ? true : false;
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = PyInt_FromLong((long)result);
10341 return resultobj;
10342 fail:
10343 return NULL;
10344}
10345
10346
10347static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject *resultobj;
10349 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10350 wxDC *arg2 = 0 ;
10351 double arg3 ;
10352 double arg4 ;
10353 double arg5 ;
10354 double arg6 ;
10355 bool arg7 = (bool) True ;
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 PyObject * obj6 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10366 if (arg2 == NULL) {
10367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10368 }
10369 if (obj6) {
10370 arg7 = PyInt_AsLong(obj6) ? true : false;
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 Py_INCREF(Py_None); resultobj = Py_None;
10381 return resultobj;
10382 fail:
10383 return NULL;
10384}
10385
10386
10387static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10390 bool arg2 ;
10391 double arg3 ;
10392 double arg4 ;
10393 int arg5 = (int) 0 ;
10394 int arg6 = (int) 0 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10403 arg2 = PyInt_AsLong(obj1) ? true : false;
10404 if (PyErr_Occurred()) SWIG_fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416}
10417
10418
10419static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10422 double arg2 ;
10423 double arg3 ;
10424 int arg4 = (int) 0 ;
10425 int arg5 = (int) 0 ;
10426 PyObject * obj0 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 Py_INCREF(Py_None); resultobj = Py_None;
10441 return resultobj;
10442 fail:
10443 return NULL;
10444}
10445
10446
10447static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10450 double arg2 ;
10451 double arg3 ;
10452 int arg4 = (int) 0 ;
10453 int arg5 = (int) 0 ;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 Py_INCREF(Py_None); resultobj = Py_None;
10469 return resultobj;
10470 fail:
10471 return NULL;
10472}
10473
10474
10475static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10478 bool arg2 ;
10479 double arg3 ;
10480 double arg4 ;
10481 int arg5 = (int) 0 ;
10482 int arg6 = (int) 0 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 arg2 = PyInt_AsLong(obj1) ? true : false;
10492 if (PyErr_Occurred()) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504}
10505
10506
10507static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10510 double arg2 ;
10511 double arg3 ;
10512 int arg4 = (int) 0 ;
10513 int arg5 = (int) 0 ;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 Py_INCREF(Py_None); resultobj = Py_None;
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
10535static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10538 double arg2 ;
10539 double arg3 ;
10540 int arg4 = (int) 0 ;
10541 int arg5 = (int) 0 ;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560}
10561
10562
10563static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10566 wxDC *arg2 = 0 ;
10567 double arg3 ;
10568 double arg4 ;
10569 double arg5 ;
10570 double arg6 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10580 if (arg2 == NULL) {
10581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10582 }
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 Py_INCREF(Py_None); resultobj = Py_None;
10591 return resultobj;
10592 fail:
10593 return NULL;
10594}
10595
10596
10597static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10598 PyObject *resultobj;
10599 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10600 wxDC *arg2 = 0 ;
10601 PyObject * obj0 = 0 ;
10602 PyObject * obj1 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self",(char *) "dc", NULL
10605 };
10606
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
10608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10610 if (arg2 == NULL) {
10611 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10612 }
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 (arg1)->base_OnDrawControlPoints(*arg2);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624}
10625
10626
10627static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10630 wxDC *arg2 = 0 ;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "self",(char *) "dc", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10640 if (arg2 == NULL) {
10641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10642 }
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 (arg1)->base_OnEraseControlPoints(*arg2);
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654}
10655
10656
10657static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10660 wxDC *arg2 = 0 ;
10661 bool arg3 = (bool) True ;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 PyObject * obj2 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
10670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10672 if (arg2 == NULL) {
10673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10674 }
10675 if (obj2) {
10676 arg3 = PyInt_AsLong(obj2) ? true : false;
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 (arg1)->base_OnMoveLink(*arg2,arg3);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 Py_INCREF(Py_None); resultobj = Py_None;
10687 return resultobj;
10688 fail:
10689 return NULL;
10690}
10691
10692
10693static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10696 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10697 bool arg3 ;
10698 double arg4 ;
10699 double arg5 ;
10700 int arg6 = (int) 0 ;
10701 int arg7 = (int) 0 ;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 PyObject * obj2 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10712 arg3 = PyInt_AsLong(obj2) ? true : false;
10713 if (PyErr_Occurred()) SWIG_fail;
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 Py_INCREF(Py_None); resultobj = Py_None;
10722 return resultobj;
10723 fail:
10724 return NULL;
10725}
10726
10727
10728static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10731 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10732 double arg3 ;
10733 double arg4 ;
10734 int arg5 = (int) 0 ;
10735 int arg6 = (int) 0 ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 Py_INCREF(Py_None); resultobj = Py_None;
10753 return resultobj;
10754 fail:
10755 return NULL;
10756}
10757
10758
10759static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10762 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10763 double arg3 ;
10764 double arg4 ;
10765 int arg5 = (int) 0 ;
10766 int arg6 = (int) 0 ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 Py_INCREF(Py_None); resultobj = Py_None;
10784 return resultobj;
10785 fail:
10786 return NULL;
10787}
10788
10789
10790static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10793 double arg2 ;
10794 double arg3 ;
10795 PyObject * obj0 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self",(char *) "w",(char *) "h", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 (arg1)->base_OnBeginSize(arg2,arg3);
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 Py_INCREF(Py_None); resultobj = Py_None;
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
10816static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10819 double arg2 ;
10820 double arg3 ;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "w",(char *) "h", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->base_OnEndSize(arg2,arg3);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 Py_INCREF(Py_None); resultobj = Py_None;
10836 return resultobj;
10837 fail:
10838 return NULL;
10839}
10840
10841
10842static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
10843 PyObject *obj;
10844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10845 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
10846 Py_INCREF(obj);
10847 return Py_BuildValue((char *)"");
10848}
10849static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxPyBitmapShape *result;
10852 char *kwnames[] = {
10853 NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 result = (wxPyBitmapShape *)new wxPyBitmapShape();
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
10871static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10874 PyObject *arg2 = (PyObject *) 0 ;
10875 PyObject *arg3 = (PyObject *) 0 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "self",(char *) "_class", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 arg2 = obj1;
10886 arg3 = obj2;
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 (arg1)->_setCallbackInfo(arg2,arg3);
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10904 wxBitmap *result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 {
10915 wxBitmap &_result_ref = (arg1)->GetBitmap();
10916 result = (wxBitmap *) &_result_ref;
10917 }
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
10929static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10932 wxString result;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (arg1)->GetFilename();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 {
10948#if wxUSE_UNICODE
10949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10950#else
10951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10952#endif
10953 }
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
10960static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10963 wxBitmap *arg2 = 0 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "bitmap", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10973 if (arg2 == NULL) {
10974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10975 }
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 Py_INCREF(Py_None); resultobj = Py_None;
10984 return resultobj;
10985 fail:
10986 return NULL;
10987}
10988
10989
10990static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10993 wxString *arg2 = 0 ;
10994 bool temp2 = False ;
10995 PyObject * obj0 = 0 ;
10996 PyObject * obj1 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self",(char *) "filename", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11003 {
11004 arg2 = wxString_in_helper(obj1);
11005 if (arg2 == NULL) SWIG_fail;
11006 temp2 = True;
11007 }
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 (arg1)->SetFilename((wxString const &)*arg2);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 Py_INCREF(Py_None); resultobj = Py_None;
11016 {
11017 if (temp2)
11018 delete arg2;
11019 }
11020 return resultobj;
11021 fail:
11022 {
11023 if (temp2)
11024 delete arg2;
11025 }
11026 return NULL;
11027}
11028
11029
11030static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11033 PyObject * obj0 = 0 ;
11034 char *kwnames[] = {
11035 (char *) "self", NULL
11036 };
11037
11038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
11039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 (arg1)->base_OnDelete();
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 Py_INCREF(Py_None); resultobj = Py_None;
11048 return resultobj;
11049 fail:
11050 return NULL;
11051}
11052
11053
11054static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject *resultobj;
11056 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11057 wxDC *arg2 = 0 ;
11058 PyObject * obj0 = 0 ;
11059 PyObject * obj1 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "self",(char *) "dc", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11067 if (arg2 == NULL) {
11068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11069 }
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 (arg1)->base_OnDraw(*arg2);
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 Py_INCREF(Py_None); resultobj = Py_None;
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11087 wxDC *arg2 = 0 ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "self",(char *) "dc", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
11095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 if (arg2 == NULL) {
11098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11099 }
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 (arg1)->base_OnDrawContents(*arg2);
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 Py_INCREF(Py_None); resultobj = Py_None;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111}
11112
11113
11114static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11117 wxDC *arg2 = 0 ;
11118 bool arg3 = (bool) FALSE ;
11119 PyObject * obj0 = 0 ;
11120 PyObject * obj1 = 0 ;
11121 PyObject * obj2 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self",(char *) "dc",(char *) "erase", NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
11127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11129 if (arg2 == NULL) {
11130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11131 }
11132 if (obj2) {
11133 arg3 = PyInt_AsLong(obj2) ? true : false;
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->base_OnDrawBranches(*arg2,arg3);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 return resultobj;
11145 fail:
11146 return NULL;
11147}
11148
11149
11150static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11153 wxDC *arg2 = 0 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "dc", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
11161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11163 if (arg2 == NULL) {
11164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11165 }
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 (arg1)->base_OnMoveLinks(*arg2);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 Py_INCREF(Py_None); resultobj = Py_None;
11174 return resultobj;
11175 fail:
11176 return NULL;
11177}
11178
11179
11180static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11183 wxDC *arg2 = 0 ;
11184 PyObject * obj0 = 0 ;
11185 PyObject * obj1 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self",(char *) "dc", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11193 if (arg2 == NULL) {
11194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11195 }
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 (arg1)->base_OnErase(*arg2);
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 Py_INCREF(Py_None); resultobj = Py_None;
11204 return resultobj;
11205 fail:
11206 return NULL;
11207}
11208
11209
11210static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11213 wxDC *arg2 = 0 ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self",(char *) "dc", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11223 if (arg2 == NULL) {
11224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11225 }
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 (arg1)->base_OnEraseContents(*arg2);
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 Py_INCREF(Py_None); resultobj = Py_None;
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
11240static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11243 wxDC *arg2 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "dc", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11253 if (arg2 == NULL) {
11254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11255 }
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 (arg1)->base_OnHighlight(*arg2);
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 Py_INCREF(Py_None); resultobj = Py_None;
11264 return resultobj;
11265 fail:
11266 return NULL;
11267}
11268
11269
11270static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11273 double arg2 ;
11274 double arg3 ;
11275 int arg4 = (int) 0 ;
11276 int arg5 = (int) 0 ;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 Py_INCREF(Py_None); resultobj = Py_None;
11292 return resultobj;
11293 fail:
11294 return NULL;
11295}
11296
11297
11298static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11301 double arg2 ;
11302 double arg3 ;
11303 int arg4 = (int) 0 ;
11304 int arg5 = (int) 0 ;
11305 PyObject * obj0 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
11326static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11329 double arg2 ;
11330 double arg3 ;
11331 int arg4 = (int) 0 ;
11332 int arg5 = (int) 0 ;
11333 PyObject * obj0 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 Py_INCREF(Py_None); resultobj = Py_None;
11348 return resultobj;
11349 fail:
11350 return NULL;
11351}
11352
11353
11354static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11357 double arg2 ;
11358 double arg3 ;
11359 PyObject * obj0 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "x",(char *) "y", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->base_OnSize(arg2,arg3);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
11380static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11383 wxDC *arg2 = 0 ;
11384 double arg3 ;
11385 double arg4 ;
11386 double arg5 ;
11387 double arg6 ;
11388 bool arg7 = (bool) True ;
11389 bool result;
11390 PyObject * obj0 = 0 ;
11391 PyObject * obj1 = 0 ;
11392 PyObject * obj6 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11400 if (arg2 == NULL) {
11401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11402 }
11403 if (obj6) {
11404 arg7 = PyInt_AsLong(obj6) ? true : false;
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = PyInt_FromLong((long)result);
11415 return resultobj;
11416 fail:
11417 return NULL;
11418}
11419
11420
11421static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11424 wxDC *arg2 = 0 ;
11425 double arg3 ;
11426 double arg4 ;
11427 double arg5 ;
11428 double arg6 ;
11429 bool arg7 = (bool) True ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 PyObject * obj6 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 if (arg2 == NULL) {
11441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11442 }
11443 if (obj6) {
11444 arg7 = PyInt_AsLong(obj6) ? true : false;
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 Py_INCREF(Py_None); resultobj = Py_None;
11455 return resultobj;
11456 fail:
11457 return NULL;
11458}
11459
11460
11461static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11464 bool arg2 ;
11465 double arg3 ;
11466 double arg4 ;
11467 int arg5 = (int) 0 ;
11468 int arg6 = (int) 0 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 char *kwnames[] = {
11472 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 arg2 = PyInt_AsLong(obj1) ? true : false;
11478 if (PyErr_Occurred()) SWIG_fail;
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 Py_INCREF(Py_None); resultobj = Py_None;
11487 return resultobj;
11488 fail:
11489 return NULL;
11490}
11491
11492
11493static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11496 double arg2 ;
11497 double arg3 ;
11498 int arg4 = (int) 0 ;
11499 int arg5 = (int) 0 ;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 Py_INCREF(Py_None); resultobj = Py_None;
11515 return resultobj;
11516 fail:
11517 return NULL;
11518}
11519
11520
11521static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11524 double arg2 ;
11525 double arg3 ;
11526 int arg4 = (int) 0 ;
11527 int arg5 = (int) 0 ;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 {
11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
11537 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11538
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) SWIG_fail;
11541 }
11542 Py_INCREF(Py_None); resultobj = Py_None;
11543 return resultobj;
11544 fail:
11545 return NULL;
11546}
11547
11548
11549static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11550 PyObject *resultobj;
11551 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11552 bool arg2 ;
11553 double arg3 ;
11554 double arg4 ;
11555 int arg5 = (int) 0 ;
11556 int arg6 = (int) 0 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 arg2 = PyInt_AsLong(obj1) ? true : false;
11566 if (PyErr_Occurred()) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 Py_INCREF(Py_None); resultobj = Py_None;
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
11581static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11584 double arg2 ;
11585 double arg3 ;
11586 int arg4 = (int) 0 ;
11587 int arg5 = (int) 0 ;
11588 PyObject * obj0 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
11609static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11612 double arg2 ;
11613 double arg3 ;
11614 int arg4 = (int) 0 ;
11615 int arg5 = (int) 0 ;
11616 PyObject * obj0 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 Py_INCREF(Py_None); resultobj = Py_None;
11631 return resultobj;
11632 fail:
11633 return NULL;
11634}
11635
11636
11637static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11640 wxDC *arg2 = 0 ;
11641 double arg3 ;
11642 double arg4 ;
11643 double arg5 ;
11644 double arg6 ;
11645 PyObject * obj0 = 0 ;
11646 PyObject * obj1 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11654 if (arg2 == NULL) {
11655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11656 }
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 Py_INCREF(Py_None); resultobj = Py_None;
11665 return resultobj;
11666 fail:
11667 return NULL;
11668}
11669
11670
11671static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11674 wxDC *arg2 = 0 ;
11675 PyObject * obj0 = 0 ;
11676 PyObject * obj1 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "self",(char *) "dc", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11684 if (arg2 == NULL) {
11685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11686 }
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->base_OnDrawControlPoints(*arg2);
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 Py_INCREF(Py_None); resultobj = Py_None;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698}
11699
11700
11701static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11704 wxDC *arg2 = 0 ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "dc", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11714 if (arg2 == NULL) {
11715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11716 }
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 (arg1)->base_OnEraseControlPoints(*arg2);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 Py_INCREF(Py_None); resultobj = Py_None;
11725 return resultobj;
11726 fail:
11727 return NULL;
11728}
11729
11730
11731static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11732 PyObject *resultobj;
11733 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11734 wxDC *arg2 = 0 ;
11735 bool arg3 = (bool) True ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 PyObject * obj2 = 0 ;
11739 char *kwnames[] = {
11740 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11741 };
11742
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 if (arg2 == NULL) {
11747 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11748 }
11749 if (obj2) {
11750 arg3 = PyInt_AsLong(obj2) ? true : false;
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 (arg1)->base_OnMoveLink(*arg2,arg3);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 Py_INCREF(Py_None); resultobj = Py_None;
11761 return resultobj;
11762 fail:
11763 return NULL;
11764}
11765
11766
11767static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11770 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11771 bool arg3 ;
11772 double arg4 ;
11773 double arg5 ;
11774 int arg6 = (int) 0 ;
11775 int arg7 = (int) 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 PyObject * obj2 = 0 ;
11779 char *kwnames[] = {
11780 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11781 };
11782
11783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
11784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11786 arg3 = PyInt_AsLong(obj2) ? true : false;
11787 if (PyErr_Occurred()) SWIG_fail;
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 Py_INCREF(Py_None); resultobj = Py_None;
11796 return resultobj;
11797 fail:
11798 return NULL;
11799}
11800
11801
11802static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11805 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11806 double arg3 ;
11807 double arg4 ;
11808 int arg5 = (int) 0 ;
11809 int arg6 = (int) 0 ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 Py_INCREF(Py_None); resultobj = Py_None;
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
11833static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11836 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11837 double arg3 ;
11838 double arg4 ;
11839 int arg5 = (int) 0 ;
11840 int arg6 = (int) 0 ;
11841 PyObject * obj0 = 0 ;
11842 PyObject * obj1 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
11864static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11867 double arg2 ;
11868 double arg3 ;
11869 PyObject * obj0 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self",(char *) "w",(char *) "h", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 (arg1)->base_OnBeginSize(arg2,arg3);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 Py_INCREF(Py_None); resultobj = Py_None;
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
11890static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj;
11892 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11893 double arg2 ;
11894 double arg3 ;
11895 PyObject * obj0 = 0 ;
11896 char *kwnames[] = {
11897 (char *) "self",(char *) "w",(char *) "h", NULL
11898 };
11899
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 (arg1)->base_OnEndSize(arg2,arg3);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 Py_INCREF(Py_None); resultobj = Py_None;
11910 return resultobj;
11911 fail:
11912 return NULL;
11913}
11914
11915
11916static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
11917 PyObject *obj;
11918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
11920 Py_INCREF(obj);
11921 return Py_BuildValue((char *)"");
11922}
11923static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxPyDrawnShape *result;
11926 char *kwnames[] = {
11927 NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
11931 {
11932 PyThreadState* __tstate = wxPyBeginAllowThreads();
11933 result = (wxPyDrawnShape *)new wxPyDrawnShape();
11934
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
11939 return resultobj;
11940 fail:
11941 return NULL;
11942}
11943
11944
11945static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11948 PyObject *arg2 = (PyObject *) 0 ;
11949 PyObject *arg3 = (PyObject *) 0 ;
11950 PyObject * obj0 = 0 ;
11951 PyObject * obj1 = 0 ;
11952 PyObject * obj2 = 0 ;
11953 char *kwnames[] = {
11954 (char *) "self",(char *) "self",(char *) "_class", NULL
11955 };
11956
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11959 arg2 = obj1;
11960 arg3 = obj2;
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 (arg1)->_setCallbackInfo(arg2,arg3);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 Py_INCREF(Py_None); resultobj = Py_None;
11969 return resultobj;
11970 fail:
11971 return NULL;
11972}
11973
11974
11975static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject *resultobj;
11977 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11978 PyObject * obj0 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "self", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 (arg1)->CalculateSize();
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 Py_INCREF(Py_None); resultobj = Py_None;
11993 return resultobj;
11994 fail:
11995 return NULL;
11996}
11997
11998
11999static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12002 PyObject * obj0 = 0 ;
12003 char *kwnames[] = {
12004 (char *) "self", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->DestroyClippingRect();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 Py_INCREF(Py_None); resultobj = Py_None;
12017 return resultobj;
12018 fail:
12019 return NULL;
12020}
12021
12022
12023static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12026 wxPoint *arg2 = 0 ;
12027 wxPoint *arg3 = 0 ;
12028 wxPoint *arg4 = 0 ;
12029 wxPoint temp2 ;
12030 wxPoint temp3 ;
12031 wxPoint temp4 ;
12032 PyObject * obj0 = 0 ;
12033 PyObject * obj1 = 0 ;
12034 PyObject * obj2 = 0 ;
12035 PyObject * obj3 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 {
12043 arg2 = &temp2;
12044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12045 }
12046 {
12047 arg3 = &temp3;
12048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12049 }
12050 {
12051 arg4 = &temp4;
12052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12053 }
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 Py_INCREF(Py_None); resultobj = Py_None;
12062 return resultobj;
12063 fail:
12064 return NULL;
12065}
12066
12067
12068static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12071 int arg2 ;
12072 PyObject * obj0 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "angle", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&arg2)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 (arg1)->DrawAtAngle(arg2);
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 Py_INCREF(Py_None); resultobj = Py_None;
12087 return resultobj;
12088 fail:
12089 return NULL;
12090}
12091
12092
12093static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj;
12095 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12096 wxRect *arg2 = 0 ;
12097 double arg3 ;
12098 double arg4 ;
12099 wxRect temp2 ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12108 {
12109 arg2 = &temp2;
12110 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12111 }
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
12115
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 Py_INCREF(Py_None); resultobj = Py_None;
12120 return resultobj;
12121 fail:
12122 return NULL;
12123}
12124
12125
12126static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12129 wxPoint *arg2 = 0 ;
12130 wxPoint *arg3 = 0 ;
12131 wxPoint temp2 ;
12132 wxPoint temp3 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 PyObject * obj2 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self",(char *) "point1",(char *) "point2", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12142 {
12143 arg2 = &temp2;
12144 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12145 }
12146 {
12147 arg3 = &temp3;
12148 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12149 }
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 Py_INCREF(Py_None); resultobj = Py_None;
12158 return resultobj;
12159 fail:
12160 return NULL;
12161}
12162
12163
12164static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12167 int arg2 ;
12168 wxPoint *arg3 = (wxPoint *) 0 ;
12169 PyObject * obj0 = 0 ;
12170 PyObject * obj2 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
12176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 (arg1)->DrawLines(arg2,arg3);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 Py_INCREF(Py_None); resultobj = Py_None;
12186 return resultobj;
12187 fail:
12188 return NULL;
12189}
12190
12191
12192static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12195 wxPoint *arg2 = 0 ;
12196 wxPoint temp2 ;
12197 PyObject * obj0 = 0 ;
12198 PyObject * obj1 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self",(char *) "point", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
12204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12205 {
12206 arg2 = &temp2;
12207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 (arg1)->DrawPoint((wxPoint const &)*arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220}
12221
12222
12223static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12226 int arg2 ;
12227 wxPoint *arg3 = (wxPoint *) 0 ;
12228 int arg4 = (int) 0 ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj2 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
12236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 (arg1)->DrawPolygon(arg2,arg3,arg4);
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 Py_INCREF(Py_None); resultobj = Py_None;
12246 return resultobj;
12247 fail:
12248 return NULL;
12249}
12250
12251
12252static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12255 wxRect *arg2 = 0 ;
12256 wxRect temp2 ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "rect", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
12264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12265 {
12266 arg2 = &temp2;
12267 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12268 }
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 (arg1)->DrawRectangle((wxRect const &)*arg2);
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 Py_INCREF(Py_None); resultobj = Py_None;
12277 return resultobj;
12278 fail:
12279 return NULL;
12280}
12281
12282
12283static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12286 wxRect *arg2 = 0 ;
12287 double arg3 ;
12288 wxRect temp2 ;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self",(char *) "rect",(char *) "radius", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
12296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12297 {
12298 arg2 = &temp2;
12299 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12300 }
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 Py_INCREF(Py_None); resultobj = Py_None;
12309 return resultobj;
12310 fail:
12311 return NULL;
12312}
12313
12314
12315static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12318 int arg2 ;
12319 wxPoint *arg3 = (wxPoint *) 0 ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj2 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 (arg1)->DrawSpline(arg2,arg3);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340}
12341
12342
12343static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12346 wxString *arg2 = 0 ;
12347 wxPoint *arg3 = 0 ;
12348 bool temp2 = False ;
12349 wxPoint temp3 ;
12350 PyObject * obj0 = 0 ;
12351 PyObject * obj1 = 0 ;
12352 PyObject * obj2 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "text",(char *) "point", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12359 {
12360 arg2 = wxString_in_helper(obj1);
12361 if (arg2 == NULL) SWIG_fail;
12362 temp2 = True;
12363 }
12364 {
12365 arg3 = &temp3;
12366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12367 }
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 Py_INCREF(Py_None); resultobj = Py_None;
12376 {
12377 if (temp2)
12378 delete arg2;
12379 }
12380 return resultobj;
12381 fail:
12382 {
12383 if (temp2)
12384 delete arg2;
12385 }
12386 return NULL;
12387}
12388
12389
12390static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12391 PyObject *resultobj;
12392 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12393 int result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (int)(arg1)->GetAngle();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = PyInt_FromLong((long)result);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412}
12413
12414
12415static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12418 wxPseudoMetaFile *result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 {
12429 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
12430 result = (wxPseudoMetaFile *) &_result_ref;
12431 }
12432
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
12437 return resultobj;
12438 fail:
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12446 double result;
12447 PyObject * obj0 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (double)(arg1)->GetRotation();
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = PyFloat_FromDouble(result);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12471 wxString *arg2 = 0 ;
12472 bool result;
12473 bool temp2 = False ;
12474 PyObject * obj0 = 0 ;
12475 PyObject * obj1 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self",(char *) "filename", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 {
12483 arg2 = wxString_in_helper(obj1);
12484 if (arg2 == NULL) SWIG_fail;
12485 temp2 = True;
12486 }
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = PyInt_FromLong((long)result);
12495 {
12496 if (temp2)
12497 delete arg2;
12498 }
12499 return resultobj;
12500 fail:
12501 {
12502 if (temp2)
12503 delete arg2;
12504 }
12505 return NULL;
12506}
12507
12508
12509static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12512 double arg2 ;
12513 double arg3 ;
12514 double arg4 ;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyDrawnShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->Rotate(arg2,arg3,arg4);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533}
12534
12535
12536static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12537 PyObject *resultobj;
12538 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12539 wxRect *arg2 = 0 ;
12540 wxRect temp2 ;
12541 PyObject * obj0 = 0 ;
12542 PyObject * obj1 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self",(char *) "rect", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12549 {
12550 arg2 = &temp2;
12551 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12552 }
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetClippingRect((wxRect const &)*arg2);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564}
12565
12566
12567static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12570 wxColour *arg2 = 0 ;
12571 wxColour temp2 ;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self",(char *) "colour", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12580 {
12581 arg2 = &temp2;
12582 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12583 }
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
12598static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12601 int arg2 ;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self",(char *) "mode", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 (arg1)->SetDrawnBackgroundMode(arg2);
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 Py_INCREF(Py_None); resultobj = Py_None;
12617 return resultobj;
12618 fail:
12619 return NULL;
12620}
12621
12622
12623static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj;
12625 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12626 wxBrush *arg2 = (wxBrush *) 0 ;
12627 bool arg3 = (bool) FALSE ;
12628 PyObject * obj0 = 0 ;
12629 PyObject * obj1 = 0 ;
12630 PyObject * obj2 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
12636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12637 {
12638 wxBrush* temp;
12639 if (obj1) {
12640 if (obj1 == Py_None) {
12641 temp = NULL;
12642 }
12643 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
12644 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
12645 return NULL;
12646 }
12647 }
12648 if (temp)
12649 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
12650 else
12651 arg2 = NULL;
12652 }
12653 if (obj2) {
12654 arg3 = PyInt_AsLong(obj2) ? true : false;
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 (arg1)->SetDrawnBrush(arg2,arg3);
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 Py_INCREF(Py_None); resultobj = Py_None;
12665 return resultobj;
12666 fail:
12667 return NULL;
12668}
12669
12670
12671static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12672 PyObject *resultobj;
12673 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12674 wxFont *arg2 = (wxFont *) 0 ;
12675 PyObject * obj0 = 0 ;
12676 PyObject * obj1 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self",(char *) "font", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
12682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12683 {
12684 wxFont* temp;
12685 if (obj1) {
12686 if (obj1 == Py_None) {
12687 temp = NULL;
12688 }
12689 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
12690 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
12691 return NULL;
12692 }
12693 }
12694 if (temp)
12695 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
12696 temp->GetFamily(),
12697 temp->GetStyle(),
12698 temp->GetWeight(),
12699 temp->GetUnderlined(),
12700 temp->GetFaceName(),
12701 temp->GetEncoding());
12702 else
12703 arg2 = NULL;
12704 }
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 (arg1)->SetDrawnFont(arg2);
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 Py_INCREF(Py_None); resultobj = Py_None;
12713 return resultobj;
12714 fail:
12715 return NULL;
12716}
12717
12718
12719static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12722 wxPen *arg2 = (wxPen *) 0 ;
12723 bool arg3 = (bool) FALSE ;
12724 PyObject * obj0 = 0 ;
12725 PyObject * obj1 = 0 ;
12726 PyObject * obj2 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
12732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12733 {
12734 wxPen* temp;
12735 if (obj1) {
12736 if (obj1 == Py_None) {
12737 temp = NULL;
12738 }
12739 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
12740 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
12741 return NULL;
12742 }
12743 }
12744 if (temp)
12745 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
12746 temp->GetWidth(),
12747 temp->GetStyle());
12748 else
12749 arg2 = NULL;
12750 }
12751 if (obj2) {
12752 arg3 = PyInt_AsLong(obj2) ? true : false;
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 (arg1)->SetDrawnPen(arg2,arg3);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 Py_INCREF(Py_None); resultobj = Py_None;
12763 return resultobj;
12764 fail:
12765 return NULL;
12766}
12767
12768
12769static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12772 wxColour *arg2 = 0 ;
12773 wxColour temp2 ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 char *kwnames[] = {
12777 (char *) "self",(char *) "colour", NULL
12778 };
12779
12780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
12781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12782 {
12783 arg2 = &temp2;
12784 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12785 }
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
12800static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12803 double arg2 ;
12804 double arg3 ;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self",(char *) "sx",(char *) "sy", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 (arg1)->Scale(arg2,arg3);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 Py_INCREF(Py_None); resultobj = Py_None;
12820 return resultobj;
12821 fail:
12822 return NULL;
12823}
12824
12825
12826static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12829 bool arg2 ;
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 char *kwnames[] = {
12833 (char *) "self",(char *) "save", NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
12837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12838 arg2 = PyInt_AsLong(obj1) ? true : false;
12839 if (PyErr_Occurred()) SWIG_fail;
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 (arg1)->SetSaveToFile(arg2);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 Py_INCREF(Py_None); resultobj = Py_None;
12848 return resultobj;
12849 fail:
12850 return NULL;
12851}
12852
12853
12854static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj;
12856 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12857 double arg2 ;
12858 double arg3 ;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self",(char *) "x",(char *) "y", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
12865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 (arg1)->Translate(arg2,arg3);
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 Py_INCREF(Py_None); resultobj = Py_None;
12874 return resultobj;
12875 fail:
12876 return NULL;
12877}
12878
12879
12880static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12881 PyObject *resultobj;
12882 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 (arg1)->base_OnDelete();
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 Py_INCREF(Py_None); resultobj = Py_None;
12898 return resultobj;
12899 fail:
12900 return NULL;
12901}
12902
12903
12904static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12907 wxDC *arg2 = 0 ;
12908 PyObject * obj0 = 0 ;
12909 PyObject * obj1 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self",(char *) "dc", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12917 if (arg2 == NULL) {
12918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12919 }
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->base_OnDraw(*arg2);
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931}
12932
12933
12934static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12937 wxDC *arg2 = 0 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "dc", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12947 if (arg2 == NULL) {
12948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12949 }
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->base_OnDrawContents(*arg2);
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 Py_INCREF(Py_None); resultobj = Py_None;
12958 return resultobj;
12959 fail:
12960 return NULL;
12961}
12962
12963
12964static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12967 wxDC *arg2 = 0 ;
12968 bool arg3 = (bool) FALSE ;
12969 PyObject * obj0 = 0 ;
12970 PyObject * obj1 = 0 ;
12971 PyObject * obj2 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "dc",(char *) "erase", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12979 if (arg2 == NULL) {
12980 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12981 }
12982 if (obj2) {
12983 arg3 = PyInt_AsLong(obj2) ? true : false;
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->base_OnDrawBranches(*arg2,arg3);
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 Py_INCREF(Py_None); resultobj = Py_None;
12994 return resultobj;
12995 fail:
12996 return NULL;
12997}
12998
12999
13000static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13001 PyObject *resultobj;
13002 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13003 wxDC *arg2 = 0 ;
13004 PyObject * obj0 = 0 ;
13005 PyObject * obj1 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "dc", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13013 if (arg2 == NULL) {
13014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13015 }
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 (arg1)->base_OnMoveLinks(*arg2);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 Py_INCREF(Py_None); resultobj = Py_None;
13024 return resultobj;
13025 fail:
13026 return NULL;
13027}
13028
13029
13030static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj;
13032 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13033 wxDC *arg2 = 0 ;
13034 PyObject * obj0 = 0 ;
13035 PyObject * obj1 = 0 ;
13036 char *kwnames[] = {
13037 (char *) "self",(char *) "dc", NULL
13038 };
13039
13040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13043 if (arg2 == NULL) {
13044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13045 }
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 (arg1)->base_OnErase(*arg2);
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 Py_INCREF(Py_None); resultobj = Py_None;
13054 return resultobj;
13055 fail:
13056 return NULL;
13057}
13058
13059
13060static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13063 wxDC *arg2 = 0 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self",(char *) "dc", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13073 if (arg2 == NULL) {
13074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13075 }
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 (arg1)->base_OnEraseContents(*arg2);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 Py_INCREF(Py_None); resultobj = Py_None;
13084 return resultobj;
13085 fail:
13086 return NULL;
13087}
13088
13089
13090static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13093 wxDC *arg2 = 0 ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 char *kwnames[] = {
13097 (char *) "self",(char *) "dc", NULL
13098 };
13099
13100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13103 if (arg2 == NULL) {
13104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13105 }
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 (arg1)->base_OnHighlight(*arg2);
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 Py_INCREF(Py_None); resultobj = Py_None;
13114 return resultobj;
13115 fail:
13116 return NULL;
13117}
13118
13119
13120static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13123 double arg2 ;
13124 double arg3 ;
13125 int arg4 = (int) 0 ;
13126 int arg5 = (int) 0 ;
13127 PyObject * obj0 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 Py_INCREF(Py_None); resultobj = Py_None;
13142 return resultobj;
13143 fail:
13144 return NULL;
13145}
13146
13147
13148static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13151 double arg2 ;
13152 double arg3 ;
13153 int arg4 = (int) 0 ;
13154 int arg5 = (int) 0 ;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
13176static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13179 double arg2 ;
13180 double arg3 ;
13181 int arg4 = (int) 0 ;
13182 int arg5 = (int) 0 ;
13183 PyObject * obj0 = 0 ;
13184 char *kwnames[] = {
13185 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13186 };
13187
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201}
13202
13203
13204static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13207 double arg2 ;
13208 double arg3 ;
13209 PyObject * obj0 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "x",(char *) "y", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 (arg1)->base_OnSize(arg2,arg3);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227}
13228
13229
13230static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13233 wxDC *arg2 = 0 ;
13234 double arg3 ;
13235 double arg4 ;
13236 double arg5 ;
13237 double arg6 ;
13238 bool arg7 = (bool) True ;
13239 bool result;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj6 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13250 if (arg2 == NULL) {
13251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13252 }
13253 if (obj6) {
13254 arg7 = PyInt_AsLong(obj6) ? true : false;
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 resultobj = PyInt_FromLong((long)result);
13265 return resultobj;
13266 fail:
13267 return NULL;
13268}
13269
13270
13271static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13274 wxDC *arg2 = 0 ;
13275 double arg3 ;
13276 double arg4 ;
13277 double arg5 ;
13278 double arg6 ;
13279 bool arg7 = (bool) True ;
13280 PyObject * obj0 = 0 ;
13281 PyObject * obj1 = 0 ;
13282 PyObject * obj6 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13290 if (arg2 == NULL) {
13291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13292 }
13293 if (obj6) {
13294 arg7 = PyInt_AsLong(obj6) ? true : false;
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 Py_INCREF(Py_None); resultobj = Py_None;
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
13311static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13314 bool arg2 ;
13315 double arg3 ;
13316 double arg4 ;
13317 int arg5 = (int) 0 ;
13318 int arg6 = (int) 0 ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13327 arg2 = PyInt_AsLong(obj1) ? true : false;
13328 if (PyErr_Occurred()) SWIG_fail;
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 Py_INCREF(Py_None); resultobj = Py_None;
13337 return resultobj;
13338 fail:
13339 return NULL;
13340}
13341
13342
13343static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13346 double arg2 ;
13347 double arg3 ;
13348 int arg4 = (int) 0 ;
13349 int arg5 = (int) 0 ;
13350 PyObject * obj0 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 Py_INCREF(Py_None); resultobj = Py_None;
13365 return resultobj;
13366 fail:
13367 return NULL;
13368}
13369
13370
13371static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj;
13373 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13374 double arg2 ;
13375 double arg3 ;
13376 int arg4 = (int) 0 ;
13377 int arg5 = (int) 0 ;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
13399static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj;
13401 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13402 bool arg2 ;
13403 double arg3 ;
13404 double arg4 ;
13405 int arg5 = (int) 0 ;
13406 int arg6 = (int) 0 ;
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13415 arg2 = PyInt_AsLong(obj1) ? true : false;
13416 if (PyErr_Occurred()) SWIG_fail;
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 Py_INCREF(Py_None); resultobj = Py_None;
13425 return resultobj;
13426 fail:
13427 return NULL;
13428}
13429
13430
13431static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13434 double arg2 ;
13435 double arg3 ;
13436 int arg4 = (int) 0 ;
13437 int arg5 = (int) 0 ;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 Py_INCREF(Py_None); resultobj = Py_None;
13453 return resultobj;
13454 fail:
13455 return NULL;
13456}
13457
13458
13459static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj;
13461 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13462 double arg2 ;
13463 double arg3 ;
13464 int arg4 = (int) 0 ;
13465 int arg5 = (int) 0 ;
13466 PyObject * obj0 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 Py_INCREF(Py_None); resultobj = Py_None;
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13490 wxDC *arg2 = 0 ;
13491 double arg3 ;
13492 double arg4 ;
13493 double arg5 ;
13494 double arg6 ;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13504 if (arg2 == NULL) {
13505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13506 }
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 Py_INCREF(Py_None); resultobj = Py_None;
13515 return resultobj;
13516 fail:
13517 return NULL;
13518}
13519
13520
13521static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13524 wxDC *arg2 = 0 ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "dc", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13534 if (arg2 == NULL) {
13535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13536 }
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->base_OnDrawControlPoints(*arg2);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548}
13549
13550
13551static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13554 wxDC *arg2 = 0 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "dc", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13564 if (arg2 == NULL) {
13565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13566 }
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 (arg1)->base_OnEraseControlPoints(*arg2);
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 Py_INCREF(Py_None); resultobj = Py_None;
13575 return resultobj;
13576 fail:
13577 return NULL;
13578}
13579
13580
13581static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13584 wxDC *arg2 = 0 ;
13585 bool arg3 = (bool) True ;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 PyObject * obj2 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13596 if (arg2 == NULL) {
13597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13598 }
13599 if (obj2) {
13600 arg3 = PyInt_AsLong(obj2) ? true : false;
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 (arg1)->base_OnMoveLink(*arg2,arg3);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 Py_INCREF(Py_None); resultobj = Py_None;
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
13617static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13620 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13621 bool arg3 ;
13622 double arg4 ;
13623 double arg5 ;
13624 int arg6 = (int) 0 ;
13625 int arg7 = (int) 0 ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 PyObject * obj2 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 arg3 = PyInt_AsLong(obj2) ? true : false;
13637 if (PyErr_Occurred()) SWIG_fail;
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 Py_INCREF(Py_None); resultobj = Py_None;
13646 return resultobj;
13647 fail:
13648 return NULL;
13649}
13650
13651
13652static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13655 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13656 double arg3 ;
13657 double arg4 ;
13658 int arg5 = (int) 0 ;
13659 int arg6 = (int) 0 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 Py_INCREF(Py_None); resultobj = Py_None;
13677 return resultobj;
13678 fail:
13679 return NULL;
13680}
13681
13682
13683static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13686 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13687 double arg3 ;
13688 double arg4 ;
13689 int arg5 = (int) 0 ;
13690 int arg6 = (int) 0 ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711}
13712
13713
13714static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13717 double arg2 ;
13718 double arg3 ;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "w",(char *) "h", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->base_OnBeginSize(arg2,arg3);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737}
13738
13739
13740static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13743 double arg2 ;
13744 double arg3 ;
13745 PyObject * obj0 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "w",(char *) "h", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 (arg1)->base_OnEndSize(arg2,arg3);
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 Py_INCREF(Py_None); resultobj = Py_None;
13760 return resultobj;
13761 fail:
13762 return NULL;
13763}
13764
13765
13766static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
13767 PyObject *obj;
13768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
13770 Py_INCREF(obj);
13771 return Py_BuildValue((char *)"");
13772}
13773static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj;
13775 int arg1 ;
13776 wxPyShape *arg2 = (wxPyShape *) 0 ;
13777 PyObject *arg3 = (PyObject *) 0 ;
13778 wxOGLConstraint *result;
13779 PyObject * obj1 = 0 ;
13780 PyObject * obj2 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOO:new_OGLConstraint",kwnames,&arg1,&obj1,&obj2)) goto fail;
13786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13787 arg3 = obj2;
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 {
13796 resultobj = wxPyMake_wxObject(result);
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801}
13802
13803
13804static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13807 bool result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (bool)(arg1)->Evaluate();
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = PyInt_FromLong((long)result);
13823 return resultobj;
13824 fail:
13825 return NULL;
13826}
13827
13828
13829static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj;
13831 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13832 double arg2 ;
13833 double arg3 ;
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "x",(char *) "y", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_SetSpacing",kwnames,&obj0,&arg2,&arg3)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 (arg1)->SetSpacing(arg2,arg3);
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 Py_INCREF(Py_None); resultobj = Py_None;
13849 return resultobj;
13850 fail:
13851 return NULL;
13852}
13853
13854
13855static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13858 double arg2 ;
13859 double arg3 ;
13860 bool result;
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self",(char *) "a",(char *) "b", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_Equals",kwnames,&obj0,&arg2,&arg3)) goto fail;
13867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = (bool)(arg1)->Equals(arg2,arg3);
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 resultobj = PyInt_FromLong((long)result);
13876 return resultobj;
13877 fail:
13878 return NULL;
13879}
13880
13881
13882static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
13883 PyObject *obj;
13884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13885 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
13886 Py_INCREF(obj);
13887 return Py_BuildValue((char *)"");
13888}
13889static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxPyCompositeShape *result;
13892 char *kwnames[] = {
13893 NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (wxPyCompositeShape *)new wxPyCompositeShape();
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
13905 return resultobj;
13906 fail:
13907 return NULL;
13908}
13909
13910
13911static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13914 PyObject *arg2 = (PyObject *) 0 ;
13915 PyObject *arg3 = (PyObject *) 0 ;
13916 PyObject * obj0 = 0 ;
13917 PyObject * obj1 = 0 ;
13918 PyObject * obj2 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self",(char *) "self",(char *) "_class", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13925 arg2 = obj1;
13926 arg3 = obj2;
13927 {
13928 PyThreadState* __tstate = wxPyBeginAllowThreads();
13929 (arg1)->_setCallbackInfo(arg2,arg3);
13930
13931 wxPyEndAllowThreads(__tstate);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 Py_INCREF(Py_None); resultobj = Py_None;
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
13941static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj;
13943 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13944 wxPyShape *arg2 = (wxPyShape *) 0 ;
13945 wxPyShape *arg3 = (wxPyShape *) NULL ;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 PyObject * obj2 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
13954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13956 if (obj2) {
13957 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 }
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->AddChild(arg2,arg3);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 Py_INCREF(Py_None); resultobj = Py_None;
13967 return resultobj;
13968 fail:
13969 return NULL;
13970}
13971
13972
13973static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13976 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
13977 wxOGLConstraint *result;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "constraint", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 {
13995 resultobj = wxPyMake_wxObject(result);
13996 }
13997 return resultobj;
13998 fail:
13999 return NULL;
14000}
14001
14002
14003static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14006 int arg2 ;
14007 wxPyShape *arg3 = (wxPyShape *) 0 ;
14008 PyObject *arg4 = (PyObject *) 0 ;
14009 wxOGLConstraint *result;
14010 PyObject * obj0 = 0 ;
14011 PyObject * obj2 = 0 ;
14012 PyObject * obj3 = 0 ;
14013 char *kwnames[] = {
14014 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14015 };
14016
14017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14019 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14020 arg4 = obj3;
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 {
14029 resultobj = wxPyMake_wxObject(result);
14030 }
14031 return resultobj;
14032 fail:
14033 return NULL;
14034}
14035
14036
14037static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14038 PyObject *resultobj;
14039 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14040 int arg2 ;
14041 wxPyShape *arg3 = (wxPyShape *) 0 ;
14042 wxPyShape *arg4 = (wxPyShape *) 0 ;
14043 wxOGLConstraint *result;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj2 = 0 ;
14046 PyObject * obj3 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 {
14063 resultobj = wxPyMake_wxObject(result);
14064 }
14065 return resultobj;
14066 fail:
14067 return NULL;
14068}
14069
14070
14071static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14074 PyObject * obj0 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
14080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 (arg1)->CalculateSize();
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 Py_INCREF(Py_None); resultobj = Py_None;
14089 return resultobj;
14090 fail:
14091 return NULL;
14092}
14093
14094
14095static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14098 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
14099 bool result;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "division", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 result = (bool)(arg1)->ContainsDivision(arg2);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 resultobj = PyInt_FromLong((long)result);
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
14123static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14126 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "constraint", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->DeleteConstraint(arg2);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147}
14148
14149
14150static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14153 wxPyShape *arg2 = (wxPyShape *) 0 ;
14154 PyObject * obj0 = 0 ;
14155 PyObject * obj1 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "child", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 (arg1)->DeleteConstraintsInvolvingChild(arg2);
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 Py_INCREF(Py_None); resultobj = Py_None;
14171 return resultobj;
14172 fail:
14173 return NULL;
14174}
14175
14176
14177static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14180 wxPyShape *result;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (wxPyShape *)(arg1)->FindContainerImage();
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 {
14196 resultobj = wxPyMake_wxShapeEvtHandler(result);
14197 }
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
14204static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14207 PyObject *result;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14215 {
14216 PyThreadState* __tstate = wxPyBeginAllowThreads();
14217 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
14218
14219 wxPyEndAllowThreads(__tstate);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 }
14222 resultobj = result;
14223 return resultobj;
14224 fail:
14225 return NULL;
14226}
14227
14228
14229static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj;
14231 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14232 PyObject *result;
14233 PyObject * obj0 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
14243
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 resultobj = result;
14248 return resultobj;
14249 fail:
14250 return NULL;
14251}
14252
14253
14254static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj;
14256 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14257 PyObject * obj0 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 (arg1)->MakeContainer();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 Py_INCREF(Py_None); resultobj = Py_None;
14272 return resultobj;
14273 fail:
14274 return NULL;
14275}
14276
14277
14278static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14281 bool result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
14288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (bool)(arg1)->Recompute();
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 resultobj = PyInt_FromLong((long)result);
14297 return resultobj;
14298 fail:
14299 return NULL;
14300}
14301
14302
14303static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14306 wxPyShape *arg2 = (wxPyShape *) 0 ;
14307 PyObject * obj0 = 0 ;
14308 PyObject * obj1 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "child", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 (arg1)->RemoveChild(arg2);
14319
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 Py_INCREF(Py_None); resultobj = Py_None;
14324 return resultobj;
14325 fail:
14326 return NULL;
14327}
14328
14329
14330static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj;
14332 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14333 PyObject * obj0 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "self", NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
14339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->base_OnDelete();
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 return resultobj;
14349 fail:
14350 return NULL;
14351}
14352
14353
14354static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14357 wxDC *arg2 = 0 ;
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "self",(char *) "dc", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
14365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14367 if (arg2 == NULL) {
14368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14369 }
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 (arg1)->base_OnDraw(*arg2);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 Py_INCREF(Py_None); resultobj = Py_None;
14378 return resultobj;
14379 fail:
14380 return NULL;
14381}
14382
14383
14384static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14387 wxDC *arg2 = 0 ;
14388 PyObject * obj0 = 0 ;
14389 PyObject * obj1 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self",(char *) "dc", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
14395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14397 if (arg2 == NULL) {
14398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14399 }
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->base_OnDrawContents(*arg2);
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
14414static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14417 wxDC *arg2 = 0 ;
14418 bool arg3 = (bool) FALSE ;
14419 PyObject * obj0 = 0 ;
14420 PyObject * obj1 = 0 ;
14421 PyObject * obj2 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "dc",(char *) "erase", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
14427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14429 if (arg2 == NULL) {
14430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14431 }
14432 if (obj2) {
14433 arg3 = PyInt_AsLong(obj2) ? true : false;
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->base_OnDrawBranches(*arg2,arg3);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
14450static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14453 wxDC *arg2 = 0 ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "dc", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14463 if (arg2 == NULL) {
14464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14465 }
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 (arg1)->base_OnMoveLinks(*arg2);
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 Py_INCREF(Py_None); resultobj = Py_None;
14474 return resultobj;
14475 fail:
14476 return NULL;
14477}
14478
14479
14480static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14483 wxDC *arg2 = 0 ;
14484 PyObject * obj0 = 0 ;
14485 PyObject * obj1 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self",(char *) "dc", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14493 if (arg2 == NULL) {
14494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14495 }
14496 {
14497 PyThreadState* __tstate = wxPyBeginAllowThreads();
14498 (arg1)->base_OnErase(*arg2);
14499
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 Py_INCREF(Py_None); resultobj = Py_None;
14504 return resultobj;
14505 fail:
14506 return NULL;
14507}
14508
14509
14510static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14513 wxDC *arg2 = 0 ;
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "dc", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14523 if (arg2 == NULL) {
14524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14525 }
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->base_OnEraseContents(*arg2);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
14540static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj;
14542 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14543 wxDC *arg2 = 0 ;
14544 PyObject * obj0 = 0 ;
14545 PyObject * obj1 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self",(char *) "dc", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
14551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14553 if (arg2 == NULL) {
14554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14555 }
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 (arg1)->base_OnHighlight(*arg2);
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 Py_INCREF(Py_None); resultobj = Py_None;
14564 return resultobj;
14565 fail:
14566 return NULL;
14567}
14568
14569
14570static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj;
14572 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14573 double arg2 ;
14574 double arg3 ;
14575 int arg4 = (int) 0 ;
14576 int arg5 = (int) 0 ;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 Py_INCREF(Py_None); resultobj = Py_None;
14592 return resultobj;
14593 fail:
14594 return NULL;
14595}
14596
14597
14598static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14601 double arg2 ;
14602 double arg3 ;
14603 int arg4 = (int) 0 ;
14604 int arg5 = (int) 0 ;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 Py_INCREF(Py_None); resultobj = Py_None;
14620 return resultobj;
14621 fail:
14622 return NULL;
14623}
14624
14625
14626static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14629 double arg2 ;
14630 double arg3 ;
14631 int arg4 = (int) 0 ;
14632 int arg5 = (int) 0 ;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 Py_INCREF(Py_None); resultobj = Py_None;
14648 return resultobj;
14649 fail:
14650 return NULL;
14651}
14652
14653
14654static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14657 double arg2 ;
14658 double arg3 ;
14659 PyObject * obj0 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self",(char *) "x",(char *) "y", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 (arg1)->base_OnSize(arg2,arg3);
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 Py_INCREF(Py_None); resultobj = Py_None;
14674 return resultobj;
14675 fail:
14676 return NULL;
14677}
14678
14679
14680static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14683 wxDC *arg2 = 0 ;
14684 double arg3 ;
14685 double arg4 ;
14686 double arg5 ;
14687 double arg6 ;
14688 bool arg7 = (bool) True ;
14689 bool result;
14690 PyObject * obj0 = 0 ;
14691 PyObject * obj1 = 0 ;
14692 PyObject * obj6 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14700 if (arg2 == NULL) {
14701 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14702 }
14703 if (obj6) {
14704 arg7 = PyInt_AsLong(obj6) ? true : false;
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 resultobj = PyInt_FromLong((long)result);
14715 return resultobj;
14716 fail:
14717 return NULL;
14718}
14719
14720
14721static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14724 wxDC *arg2 = 0 ;
14725 double arg3 ;
14726 double arg4 ;
14727 double arg5 ;
14728 double arg6 ;
14729 bool arg7 = (bool) True ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 PyObject * obj6 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14740 if (arg2 == NULL) {
14741 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14742 }
14743 if (obj6) {
14744 arg7 = PyInt_AsLong(obj6) ? true : false;
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 Py_INCREF(Py_None); resultobj = Py_None;
14755 return resultobj;
14756 fail:
14757 return NULL;
14758}
14759
14760
14761static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14764 bool arg2 ;
14765 double arg3 ;
14766 double arg4 ;
14767 int arg5 = (int) 0 ;
14768 int arg6 = (int) 0 ;
14769 PyObject * obj0 = 0 ;
14770 PyObject * obj1 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14777 arg2 = PyInt_AsLong(obj1) ? true : false;
14778 if (PyErr_Occurred()) SWIG_fail;
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 Py_INCREF(Py_None); resultobj = Py_None;
14787 return resultobj;
14788 fail:
14789 return NULL;
14790}
14791
14792
14793static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14796 double arg2 ;
14797 double arg3 ;
14798 int arg4 = (int) 0 ;
14799 int arg5 = (int) 0 ;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 Py_INCREF(Py_None); resultobj = Py_None;
14815 return resultobj;
14816 fail:
14817 return NULL;
14818}
14819
14820
14821static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14824 double arg2 ;
14825 double arg3 ;
14826 int arg4 = (int) 0 ;
14827 int arg5 = (int) 0 ;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 Py_INCREF(Py_None); resultobj = Py_None;
14843 return resultobj;
14844 fail:
14845 return NULL;
14846}
14847
14848
14849static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14852 bool arg2 ;
14853 double arg3 ;
14854 double arg4 ;
14855 int arg5 = (int) 0 ;
14856 int arg6 = (int) 0 ;
14857 PyObject * obj0 = 0 ;
14858 PyObject * obj1 = 0 ;
14859 char *kwnames[] = {
14860 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14861 };
14862
14863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14865 arg2 = PyInt_AsLong(obj1) ? true : false;
14866 if (PyErr_Occurred()) SWIG_fail;
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14870
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 Py_INCREF(Py_None); resultobj = Py_None;
14875 return resultobj;
14876 fail:
14877 return NULL;
14878}
14879
14880
14881static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14882 PyObject *resultobj;
14883 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14884 double arg2 ;
14885 double arg3 ;
14886 int arg4 = (int) 0 ;
14887 int arg5 = (int) 0 ;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 Py_INCREF(Py_None); resultobj = Py_None;
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14912 double arg2 ;
14913 double arg3 ;
14914 int arg4 = (int) 0 ;
14915 int arg5 = (int) 0 ;
14916 PyObject * obj0 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 Py_INCREF(Py_None); resultobj = Py_None;
14931 return resultobj;
14932 fail:
14933 return NULL;
14934}
14935
14936
14937static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14940 wxDC *arg2 = 0 ;
14941 double arg3 ;
14942 double arg4 ;
14943 double arg5 ;
14944 double arg6 ;
14945 PyObject * obj0 = 0 ;
14946 PyObject * obj1 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14954 if (arg2 == NULL) {
14955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14956 }
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 Py_INCREF(Py_None); resultobj = Py_None;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968}
14969
14970
14971static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14974 wxDC *arg2 = 0 ;
14975 PyObject * obj0 = 0 ;
14976 PyObject * obj1 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self",(char *) "dc", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14984 if (arg2 == NULL) {
14985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14986 }
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 (arg1)->base_OnDrawControlPoints(*arg2);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 Py_INCREF(Py_None); resultobj = Py_None;
14995 return resultobj;
14996 fail:
14997 return NULL;
14998}
14999
15000
15001static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj;
15003 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15004 wxDC *arg2 = 0 ;
15005 PyObject * obj0 = 0 ;
15006 PyObject * obj1 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self",(char *) "dc", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
15012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 if (arg2 == NULL) {
15015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15016 }
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 (arg1)->base_OnEraseControlPoints(*arg2);
15020
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
15024 Py_INCREF(Py_None); resultobj = Py_None;
15025 return resultobj;
15026 fail:
15027 return NULL;
15028}
15029
15030
15031static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
15032 PyObject *resultobj;
15033 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15034 wxDC *arg2 = 0 ;
15035 bool arg3 = (bool) True ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 PyObject * obj2 = 0 ;
15039 char *kwnames[] = {
15040 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15041 };
15042
15043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
15044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15046 if (arg2 == NULL) {
15047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15048 }
15049 if (obj2) {
15050 arg3 = PyInt_AsLong(obj2) ? true : false;
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 (arg1)->base_OnMoveLink(*arg2,arg3);
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 Py_INCREF(Py_None); resultobj = Py_None;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064}
15065
15066
15067static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15070 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15071 bool arg3 ;
15072 double arg4 ;
15073 double arg5 ;
15074 int arg6 = (int) 0 ;
15075 int arg7 = (int) 0 ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 PyObject * obj2 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
15084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 arg3 = PyInt_AsLong(obj2) ? true : false;
15087 if (PyErr_Occurred()) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 Py_INCREF(Py_None); resultobj = Py_None;
15096 return resultobj;
15097 fail:
15098 return NULL;
15099}
15100
15101
15102static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15105 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15106 double arg3 ;
15107 double arg4 ;
15108 int arg5 = (int) 0 ;
15109 int arg6 = (int) 0 ;
15110 PyObject * obj0 = 0 ;
15111 PyObject * obj1 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15114 };
15115
15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 Py_INCREF(Py_None); resultobj = Py_None;
15127 return resultobj;
15128 fail:
15129 return NULL;
15130}
15131
15132
15133static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15136 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15137 double arg3 ;
15138 double arg4 ;
15139 int arg5 = (int) 0 ;
15140 int arg6 = (int) 0 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 Py_INCREF(Py_None); resultobj = Py_None;
15158 return resultobj;
15159 fail:
15160 return NULL;
15161}
15162
15163
15164static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15167 double arg2 ;
15168 double arg3 ;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "w",(char *) "h", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 (arg1)->base_OnBeginSize(arg2,arg3);
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 Py_INCREF(Py_None); resultobj = Py_None;
15184 return resultobj;
15185 fail:
15186 return NULL;
15187}
15188
15189
15190static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15193 double arg2 ;
15194 double arg3 ;
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self",(char *) "w",(char *) "h", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 (arg1)->base_OnEndSize(arg2,arg3);
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 Py_INCREF(Py_None); resultobj = Py_None;
15210 return resultobj;
15211 fail:
15212 return NULL;
15213}
15214
15215
15216static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
15217 PyObject *obj;
15218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15219 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
15220 Py_INCREF(obj);
15221 return Py_BuildValue((char *)"");
15222}
15223static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 double arg1 = (double) 0.0 ;
15226 double arg2 = (double) 0.0 ;
15227 wxPyDividedShape *result;
15228 char *kwnames[] = {
15229 (char *) "width",(char *) "height", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyDividedShape",kwnames,&arg1,&arg2)) goto fail;
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
15235 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
15236
15237 wxPyEndAllowThreads(__tstate);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
15241 return resultobj;
15242 fail:
15243 return NULL;
15244}
15245
15246
15247static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15250 PyObject *arg2 = (PyObject *) 0 ;
15251 PyObject *arg3 = (PyObject *) 0 ;
15252 PyObject * obj0 = 0 ;
15253 PyObject * obj1 = 0 ;
15254 PyObject * obj2 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self",(char *) "self",(char *) "_class", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15261 arg2 = obj1;
15262 arg3 = obj2;
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 (arg1)->_setCallbackInfo(arg2,arg3);
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 Py_INCREF(Py_None); resultobj = Py_None;
15271 return resultobj;
15272 fail:
15273 return NULL;
15274}
15275
15276
15277static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15280 PyObject * obj0 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
15286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 (arg1)->EditRegions();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 Py_INCREF(Py_None); resultobj = Py_None;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298}
15299
15300
15301static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 (arg1)->SetRegionSizes();
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 Py_INCREF(Py_None); resultobj = Py_None;
15319 return resultobj;
15320 fail:
15321 return NULL;
15322}
15323
15324
15325static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj;
15327 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 (arg1)->base_OnDelete();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 Py_INCREF(Py_None); resultobj = Py_None;
15343 return resultobj;
15344 fail:
15345 return NULL;
15346}
15347
15348
15349static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15352 wxDC *arg2 = 0 ;
15353 PyObject * obj0 = 0 ;
15354 PyObject * obj1 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self",(char *) "dc", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15362 if (arg2 == NULL) {
15363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15364 }
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 (arg1)->base_OnDraw(*arg2);
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 Py_INCREF(Py_None); resultobj = Py_None;
15373 return resultobj;
15374 fail:
15375 return NULL;
15376}
15377
15378
15379static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15380 PyObject *resultobj;
15381 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15382 wxDC *arg2 = 0 ;
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self",(char *) "dc", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15392 if (arg2 == NULL) {
15393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15394 }
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->base_OnDrawContents(*arg2);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 Py_INCREF(Py_None); resultobj = Py_None;
15403 return resultobj;
15404 fail:
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15412 wxDC *arg2 = 0 ;
15413 bool arg3 = (bool) FALSE ;
15414 PyObject * obj0 = 0 ;
15415 PyObject * obj1 = 0 ;
15416 PyObject * obj2 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "dc",(char *) "erase", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15424 if (arg2 == NULL) {
15425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15426 }
15427 if (obj2) {
15428 arg3 = PyInt_AsLong(obj2) ? true : false;
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 (arg1)->base_OnDrawBranches(*arg2,arg3);
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 Py_INCREF(Py_None); resultobj = Py_None;
15439 return resultobj;
15440 fail:
15441 return NULL;
15442}
15443
15444
15445static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj;
15447 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15448 wxDC *arg2 = 0 ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self",(char *) "dc", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15458 if (arg2 == NULL) {
15459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15460 }
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 (arg1)->base_OnMoveLinks(*arg2);
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 Py_INCREF(Py_None); resultobj = Py_None;
15469 return resultobj;
15470 fail:
15471 return NULL;
15472}
15473
15474
15475static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15478 wxDC *arg2 = 0 ;
15479 PyObject * obj0 = 0 ;
15480 PyObject * obj1 = 0 ;
15481 char *kwnames[] = {
15482 (char *) "self",(char *) "dc", NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 if (arg2 == NULL) {
15489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15490 }
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 (arg1)->base_OnErase(*arg2);
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 Py_INCREF(Py_None); resultobj = Py_None;
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
15505static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15508 wxDC *arg2 = 0 ;
15509 PyObject * obj0 = 0 ;
15510 PyObject * obj1 = 0 ;
15511 char *kwnames[] = {
15512 (char *) "self",(char *) "dc", NULL
15513 };
15514
15515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15518 if (arg2 == NULL) {
15519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15520 }
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 (arg1)->base_OnEraseContents(*arg2);
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 Py_INCREF(Py_None); resultobj = Py_None;
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
15535static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15538 wxDC *arg2 = 0 ;
15539 PyObject * obj0 = 0 ;
15540 PyObject * obj1 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self",(char *) "dc", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15548 if (arg2 == NULL) {
15549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->base_OnHighlight(*arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
15565static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15568 double arg2 ;
15569 double arg3 ;
15570 int arg4 = (int) 0 ;
15571 int arg5 = (int) 0 ;
15572 PyObject * obj0 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15579 {
15580 PyThreadState* __tstate = wxPyBeginAllowThreads();
15581 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15582
15583 wxPyEndAllowThreads(__tstate);
15584 if (PyErr_Occurred()) SWIG_fail;
15585 }
15586 Py_INCREF(Py_None); resultobj = Py_None;
15587 return resultobj;
15588 fail:
15589 return NULL;
15590}
15591
15592
15593static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15594 PyObject *resultobj;
15595 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15596 double arg2 ;
15597 double arg3 ;
15598 int arg4 = (int) 0 ;
15599 int arg5 = (int) 0 ;
15600 PyObject * obj0 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 Py_INCREF(Py_None); resultobj = Py_None;
15615 return resultobj;
15616 fail:
15617 return NULL;
15618}
15619
15620
15621static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj;
15623 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15624 double arg2 ;
15625 double arg3 ;
15626 int arg4 = (int) 0 ;
15627 int arg5 = (int) 0 ;
15628 PyObject * obj0 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646}
15647
15648
15649static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15652 double arg2 ;
15653 double arg3 ;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "x",(char *) "y", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 (arg1)->base_OnSize(arg2,arg3);
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 Py_INCREF(Py_None); resultobj = Py_None;
15669 return resultobj;
15670 fail:
15671 return NULL;
15672}
15673
15674
15675static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15678 wxDC *arg2 = 0 ;
15679 double arg3 ;
15680 double arg4 ;
15681 double arg5 ;
15682 double arg6 ;
15683 bool arg7 = (bool) True ;
15684 bool result;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 PyObject * obj6 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15695 if (arg2 == NULL) {
15696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15697 }
15698 if (obj6) {
15699 arg7 = PyInt_AsLong(obj6) ? true : false;
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 resultobj = PyInt_FromLong((long)result);
15710 return resultobj;
15711 fail:
15712 return NULL;
15713}
15714
15715
15716static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15719 wxDC *arg2 = 0 ;
15720 double arg3 ;
15721 double arg4 ;
15722 double arg5 ;
15723 double arg6 ;
15724 bool arg7 = (bool) True ;
15725 PyObject * obj0 = 0 ;
15726 PyObject * obj1 = 0 ;
15727 PyObject * obj6 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15735 if (arg2 == NULL) {
15736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15737 }
15738 if (obj6) {
15739 arg7 = PyInt_AsLong(obj6) ? true : false;
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 Py_INCREF(Py_None); resultobj = Py_None;
15750 return resultobj;
15751 fail:
15752 return NULL;
15753}
15754
15755
15756static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15759 bool arg2 ;
15760 double arg3 ;
15761 double arg4 ;
15762 int arg5 = (int) 0 ;
15763 int arg6 = (int) 0 ;
15764 PyObject * obj0 = 0 ;
15765 PyObject * obj1 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15772 arg2 = PyInt_AsLong(obj1) ? true : false;
15773 if (PyErr_Occurred()) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 Py_INCREF(Py_None); resultobj = Py_None;
15782 return resultobj;
15783 fail:
15784 return NULL;
15785}
15786
15787
15788static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj;
15790 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15791 double arg2 ;
15792 double arg3 ;
15793 int arg4 = (int) 0 ;
15794 int arg5 = (int) 0 ;
15795 PyObject * obj0 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 Py_INCREF(Py_None); resultobj = Py_None;
15810 return resultobj;
15811 fail:
15812 return NULL;
15813}
15814
15815
15816static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15819 double arg2 ;
15820 double arg3 ;
15821 int arg4 = (int) 0 ;
15822 int arg5 = (int) 0 ;
15823 PyObject * obj0 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 Py_INCREF(Py_None); resultobj = Py_None;
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15847 bool arg2 ;
15848 double arg3 ;
15849 double arg4 ;
15850 int arg5 = (int) 0 ;
15851 int arg6 = (int) 0 ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15860 arg2 = PyInt_AsLong(obj1) ? true : false;
15861 if (PyErr_Occurred()) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 Py_INCREF(Py_None); resultobj = Py_None;
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
15876static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15879 double arg2 ;
15880 double arg3 ;
15881 int arg4 = (int) 0 ;
15882 int arg5 = (int) 0 ;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901}
15902
15903
15904static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15907 double arg2 ;
15908 double arg3 ;
15909 int arg4 = (int) 0 ;
15910 int arg5 = (int) 0 ;
15911 PyObject * obj0 = 0 ;
15912 char *kwnames[] = {
15913 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15914 };
15915
15916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15921
15922 wxPyEndAllowThreads(__tstate);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 Py_INCREF(Py_None); resultobj = Py_None;
15926 return resultobj;
15927 fail:
15928 return NULL;
15929}
15930
15931
15932static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj;
15934 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15935 wxDC *arg2 = 0 ;
15936 double arg3 ;
15937 double arg4 ;
15938 double arg5 ;
15939 double arg6 ;
15940 PyObject * obj0 = 0 ;
15941 PyObject * obj1 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 if (arg2 == NULL) {
15950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15951 }
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 return resultobj;
15961 fail:
15962 return NULL;
15963}
15964
15965
15966static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15969 wxDC *arg2 = 0 ;
15970 PyObject * obj0 = 0 ;
15971 PyObject * obj1 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self",(char *) "dc", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
15977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 if (arg2 == NULL) {
15980 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15981 }
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 (arg1)->base_OnDrawControlPoints(*arg2);
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 Py_INCREF(Py_None); resultobj = Py_None;
15990 return resultobj;
15991 fail:
15992 return NULL;
15993}
15994
15995
15996static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15999 wxDC *arg2 = 0 ;
16000 PyObject * obj0 = 0 ;
16001 PyObject * obj1 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self",(char *) "dc", NULL
16004 };
16005
16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16009 if (arg2 == NULL) {
16010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16011 }
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 (arg1)->base_OnEraseControlPoints(*arg2);
16015
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 Py_INCREF(Py_None); resultobj = Py_None;
16020 return resultobj;
16021 fail:
16022 return NULL;
16023}
16024
16025
16026static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16027 PyObject *resultobj;
16028 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16029 wxDC *arg2 = 0 ;
16030 bool arg3 = (bool) True ;
16031 PyObject * obj0 = 0 ;
16032 PyObject * obj1 = 0 ;
16033 PyObject * obj2 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16041 if (arg2 == NULL) {
16042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16043 }
16044 if (obj2) {
16045 arg3 = PyInt_AsLong(obj2) ? true : false;
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 (arg1)->base_OnMoveLink(*arg2,arg3);
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 Py_INCREF(Py_None); resultobj = Py_None;
16056 return resultobj;
16057 fail:
16058 return NULL;
16059}
16060
16061
16062static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16065 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16066 bool arg3 ;
16067 double arg4 ;
16068 double arg5 ;
16069 int arg6 = (int) 0 ;
16070 int arg7 = (int) 0 ;
16071 PyObject * obj0 = 0 ;
16072 PyObject * obj1 = 0 ;
16073 PyObject * obj2 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16081 arg3 = PyInt_AsLong(obj2) ? true : false;
16082 if (PyErr_Occurred()) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 Py_INCREF(Py_None); resultobj = Py_None;
16091 return resultobj;
16092 fail:
16093 return NULL;
16094}
16095
16096
16097static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16100 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16101 double arg3 ;
16102 double arg4 ;
16103 int arg5 = (int) 0 ;
16104 int arg6 = (int) 0 ;
16105 PyObject * obj0 = 0 ;
16106 PyObject * obj1 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 Py_INCREF(Py_None); resultobj = Py_None;
16122 return resultobj;
16123 fail:
16124 return NULL;
16125}
16126
16127
16128static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16131 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16132 double arg3 ;
16133 double arg4 ;
16134 int arg5 = (int) 0 ;
16135 int arg6 = (int) 0 ;
16136 PyObject * obj0 = 0 ;
16137 PyObject * obj1 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 Py_INCREF(Py_None); resultobj = Py_None;
16153 return resultobj;
16154 fail:
16155 return NULL;
16156}
16157
16158
16159static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16162 double arg2 ;
16163 double arg3 ;
16164 PyObject * obj0 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "w",(char *) "h", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->base_OnBeginSize(arg2,arg3);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
16185static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16188 double arg2 ;
16189 double arg3 ;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self",(char *) "w",(char *) "h", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 (arg1)->base_OnEndSize(arg2,arg3);
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 Py_INCREF(Py_None); resultobj = Py_None;
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
16212 PyObject *obj;
16213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16214 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
16215 Py_INCREF(obj);
16216 return Py_BuildValue((char *)"");
16217}
16218static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxPyDivisionShape *result;
16221 char *kwnames[] = {
16222 NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (wxPyDivisionShape *)new wxPyDivisionShape();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = wxPyMake_wxShapeEvtHandler(result);
16235 }
16236 return resultobj;
16237 fail:
16238 return NULL;
16239}
16240
16241
16242static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16245 PyObject *arg2 = (PyObject *) 0 ;
16246 PyObject *arg3 = (PyObject *) 0 ;
16247 PyObject * obj0 = 0 ;
16248 PyObject * obj1 = 0 ;
16249 PyObject * obj2 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self",(char *) "self",(char *) "_class", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 arg2 = obj1;
16257 arg3 = obj2;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->_setCallbackInfo(arg2,arg3);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
16272static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16275 double arg2 ;
16276 bool arg3 ;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj2 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "bottom",(char *) "test", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&arg2,&obj2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 arg3 = PyInt_AsLong(obj2) ? true : false;
16286 if (PyErr_Occurred()) SWIG_fail;
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 (arg1)->AdjustBottom(arg2,arg3);
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 Py_INCREF(Py_None); resultobj = Py_None;
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
16301static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16304 double arg2 ;
16305 bool arg3 ;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj2 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self",(char *) "left",(char *) "test", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&arg2,&obj2)) goto fail;
16313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16314 arg3 = PyInt_AsLong(obj2) ? true : false;
16315 if (PyErr_Occurred()) SWIG_fail;
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 (arg1)->AdjustLeft(arg2,arg3);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 Py_INCREF(Py_None); resultobj = Py_None;
16324 return resultobj;
16325 fail:
16326 return NULL;
16327}
16328
16329
16330static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16333 double arg2 ;
16334 bool arg3 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj2 = 0 ;
16337 char *kwnames[] = {
16338 (char *) "self",(char *) "right",(char *) "test", NULL
16339 };
16340
16341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames,&obj0,&arg2,&obj2)) goto fail;
16342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16343 arg3 = PyInt_AsLong(obj2) ? true : false;
16344 if (PyErr_Occurred()) SWIG_fail;
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 (arg1)->AdjustRight(arg2,arg3);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 Py_INCREF(Py_None); resultobj = Py_None;
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16362 double arg2 ;
16363 bool arg3 ;
16364 PyObject * obj0 = 0 ;
16365 PyObject * obj2 = 0 ;
16366 char *kwnames[] = {
16367 (char *) "self",(char *) "top",(char *) "test", NULL
16368 };
16369
16370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames,&obj0,&arg2,&obj2)) goto fail;
16371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16372 arg3 = PyInt_AsLong(obj2) ? true : false;
16373 if (PyErr_Occurred()) SWIG_fail;
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 (arg1)->AdjustTop(arg2,arg3);
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 Py_INCREF(Py_None); resultobj = Py_None;
16382 return resultobj;
16383 fail:
16384 return NULL;
16385}
16386
16387
16388static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16391 int arg2 ;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self",(char *) "direction", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_Divide",kwnames,&obj0,&arg2)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 (arg1)->Divide(arg2);
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410}
16411
16412
16413static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16416 int arg2 ;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self",(char *) "side", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_EditEdge",kwnames,&obj0,&arg2)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 (arg1)->EditEdge(arg2);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 Py_INCREF(Py_None); resultobj = Py_None;
16432 return resultobj;
16433 fail:
16434 return NULL;
16435}
16436
16437
16438static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16441 wxPyDivisionShape *result;
16442 PyObject * obj0 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
16448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 {
16457 resultobj = wxPyMake_wxShapeEvtHandler(result);
16458 }
16459 return resultobj;
16460 fail:
16461 return NULL;
16462}
16463
16464
16465static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16466 PyObject *resultobj;
16467 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16468 int result;
16469 PyObject * obj0 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (int)(arg1)->GetHandleSide();
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 resultobj = PyInt_FromLong((long)result);
16484 return resultobj;
16485 fail:
16486 return NULL;
16487}
16488
16489
16490static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16493 wxPyDivisionShape *result;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 {
16509 resultobj = wxPyMake_wxShapeEvtHandler(result);
16510 }
16511 return resultobj;
16512 fail:
16513 return NULL;
16514}
16515
16516
16517static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16520 wxString result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 result = (arg1)->GetLeftSideColour();
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 {
16536#if wxUSE_UNICODE
16537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16538#else
16539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16540#endif
16541 }
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
16548static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16551 wxPen *result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 result = (wxPen *)(arg1)->GetLeftSidePen();
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
16573static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16576 wxPyDivisionShape *result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 {
16592 resultobj = wxPyMake_wxShapeEvtHandler(result);
16593 }
16594 return resultobj;
16595 fail:
16596 return NULL;
16597}
16598
16599
16600static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16601 PyObject *resultobj;
16602 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16603 wxPyDivisionShape *result;
16604 PyObject * obj0 = 0 ;
16605 char *kwnames[] = {
16606 (char *) "self", NULL
16607 };
16608
16609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
16610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
16614
16615 wxPyEndAllowThreads(__tstate);
16616 if (PyErr_Occurred()) SWIG_fail;
16617 }
16618 {
16619 resultobj = wxPyMake_wxShapeEvtHandler(result);
16620 }
16621 return resultobj;
16622 fail:
16623 return NULL;
16624}
16625
16626
16627static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16630 wxPen *result;
16631 PyObject * obj0 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 result = (wxPen *)(arg1)->GetTopSidePen();
16641
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16646 return resultobj;
16647 fail:
16648 return NULL;
16649}
16650
16651
16652static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16655 int arg2 ;
16656 double arg3 ;
16657 bool arg4 ;
16658 PyObject * obj0 = 0 ;
16659 PyObject * obj3 = 0 ;
16660 char *kwnames[] = {
16661 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16662 };
16663
16664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
16665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16666 arg4 = PyInt_AsLong(obj3) ? true : false;
16667 if (PyErr_Occurred()) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 Py_INCREF(Py_None); resultobj = Py_None;
16676 return resultobj;
16677 fail:
16678 return NULL;
16679}
16680
16681
16682static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16685 double arg2 ;
16686 double arg3 ;
16687 PyObject * obj0 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self",(char *) "x",(char *) "y", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames,&obj0,&arg2,&arg3)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 (arg1)->PopupMenu(arg2,arg3);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705}
16706
16707
16708static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16711 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "shape", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 (arg1)->SetBottomSide(arg2);
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 Py_INCREF(Py_None); resultobj = Py_None;
16729 return resultobj;
16730 fail:
16731 return NULL;
16732}
16733
16734
16735static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16738 int arg2 ;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self",(char *) "side", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames,&obj0,&arg2)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 (arg1)->SetHandleSide(arg2);
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 Py_INCREF(Py_None); resultobj = Py_None;
16754 return resultobj;
16755 fail:
16756 return NULL;
16757}
16758
16759
16760static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16763 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 char *kwnames[] = {
16767 (char *) "self",(char *) "shape", NULL
16768 };
16769
16770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
16771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 (arg1)->SetLeftSide(arg2);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 Py_INCREF(Py_None); resultobj = Py_None;
16781 return resultobj;
16782 fail:
16783 return NULL;
16784}
16785
16786
16787static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj;
16789 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16790 wxString *arg2 = 0 ;
16791 bool temp2 = False ;
16792 PyObject * obj0 = 0 ;
16793 PyObject * obj1 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "self",(char *) "colour", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
16799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16800 {
16801 arg2 = wxString_in_helper(obj1);
16802 if (arg2 == NULL) SWIG_fail;
16803 temp2 = True;
16804 }
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 (arg1)->SetLeftSideColour((wxString const &)*arg2);
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 Py_INCREF(Py_None); resultobj = Py_None;
16813 {
16814 if (temp2)
16815 delete arg2;
16816 }
16817 return resultobj;
16818 fail:
16819 {
16820 if (temp2)
16821 delete arg2;
16822 }
16823 return NULL;
16824}
16825
16826
16827static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16830 wxPen *arg2 = (wxPen *) 0 ;
16831 PyObject * obj0 = 0 ;
16832 PyObject * obj1 = 0 ;
16833 char *kwnames[] = {
16834 (char *) "self",(char *) "pen", NULL
16835 };
16836
16837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
16838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16839 {
16840 wxPen* temp;
16841 if (obj1) {
16842 if (obj1 == Py_None) {
16843 temp = NULL;
16844 }
16845 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16846 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16847 return NULL;
16848 }
16849 }
16850 if (temp)
16851 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
16852 temp->GetWidth(),
16853 temp->GetStyle());
16854 else
16855 arg2 = NULL;
16856 }
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 (arg1)->SetLeftSidePen(arg2);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 Py_INCREF(Py_None); resultobj = Py_None;
16865 return resultobj;
16866 fail:
16867 return NULL;
16868}
16869
16870
16871static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16874 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16875 PyObject * obj0 = 0 ;
16876 PyObject * obj1 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self",(char *) "shape", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->SetRightSide(arg2);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895}
16896
16897
16898static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16901 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16902 PyObject * obj0 = 0 ;
16903 PyObject * obj1 = 0 ;
16904 char *kwnames[] = {
16905 (char *) "self",(char *) "shape", NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
16909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 (arg1)->SetTopSide(arg2);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 Py_INCREF(Py_None); resultobj = Py_None;
16919 return resultobj;
16920 fail:
16921 return NULL;
16922}
16923
16924
16925static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16926 PyObject *resultobj;
16927 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16928 wxString *arg2 = 0 ;
16929 bool temp2 = False ;
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "colour", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 {
16939 arg2 = wxString_in_helper(obj1);
16940 if (arg2 == NULL) SWIG_fail;
16941 temp2 = True;
16942 }
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 (arg1)->SetTopSideColour((wxString const &)*arg2);
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 {
16952 if (temp2)
16953 delete arg2;
16954 }
16955 return resultobj;
16956 fail:
16957 {
16958 if (temp2)
16959 delete arg2;
16960 }
16961 return NULL;
16962}
16963
16964
16965static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj;
16967 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16968 wxPen *arg2 = (wxPen *) 0 ;
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self",(char *) "pen", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16977 {
16978 wxPen* temp;
16979 if (obj1) {
16980 if (obj1 == Py_None) {
16981 temp = NULL;
16982 }
16983 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16984 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16985 return NULL;
16986 }
16987 }
16988 if (temp)
16989 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
16990 temp->GetWidth(),
16991 temp->GetStyle());
16992 else
16993 arg2 = NULL;
16994 }
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 (arg1)->SetTopSidePen(arg2);
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 Py_INCREF(Py_None); resultobj = Py_None;
17003 return resultobj;
17004 fail:
17005 return NULL;
17006}
17007
17008
17009static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj;
17011 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17012 PyObject * obj0 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
17018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 (arg1)->base_OnDelete();
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 Py_INCREF(Py_None); resultobj = Py_None;
17027 return resultobj;
17028 fail:
17029 return NULL;
17030}
17031
17032
17033static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17036 wxDC *arg2 = 0 ;
17037 PyObject * obj0 = 0 ;
17038 PyObject * obj1 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "self",(char *) "dc", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 if (arg2 == NULL) {
17047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17048 }
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->base_OnDraw(*arg2);
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060}
17061
17062
17063static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17066 wxDC *arg2 = 0 ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 char *kwnames[] = {
17070 (char *) "self",(char *) "dc", NULL
17071 };
17072
17073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17076 if (arg2 == NULL) {
17077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 (arg1)->base_OnDrawContents(*arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 Py_INCREF(Py_None); resultobj = Py_None;
17087 return resultobj;
17088 fail:
17089 return NULL;
17090}
17091
17092
17093static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17096 wxDC *arg2 = 0 ;
17097 bool arg3 = (bool) FALSE ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 PyObject * obj2 = 0 ;
17101 char *kwnames[] = {
17102 (char *) "self",(char *) "dc",(char *) "erase", NULL
17103 };
17104
17105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17108 if (arg2 == NULL) {
17109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17110 }
17111 if (obj2) {
17112 arg3 = PyInt_AsLong(obj2) ? true : false;
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 (arg1)->base_OnDrawBranches(*arg2,arg3);
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 Py_INCREF(Py_None); resultobj = Py_None;
17123 return resultobj;
17124 fail:
17125 return NULL;
17126}
17127
17128
17129static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17132 wxDC *arg2 = 0 ;
17133 PyObject * obj0 = 0 ;
17134 PyObject * obj1 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self",(char *) "dc", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 if (arg2 == NULL) {
17143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17144 }
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 (arg1)->base_OnMoveLinks(*arg2);
17148
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 Py_INCREF(Py_None); resultobj = Py_None;
17153 return resultobj;
17154 fail:
17155 return NULL;
17156}
17157
17158
17159static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17160 PyObject *resultobj;
17161 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17162 wxDC *arg2 = 0 ;
17163 PyObject * obj0 = 0 ;
17164 PyObject * obj1 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self",(char *) "dc", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17172 if (arg2 == NULL) {
17173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17174 }
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 (arg1)->base_OnErase(*arg2);
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 Py_INCREF(Py_None); resultobj = Py_None;
17183 return resultobj;
17184 fail:
17185 return NULL;
17186}
17187
17188
17189static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17192 wxDC *arg2 = 0 ;
17193 PyObject * obj0 = 0 ;
17194 PyObject * obj1 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "self",(char *) "dc", NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17202 if (arg2 == NULL) {
17203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17204 }
17205 {
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
17207 (arg1)->base_OnEraseContents(*arg2);
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 Py_INCREF(Py_None); resultobj = Py_None;
17213 return resultobj;
17214 fail:
17215 return NULL;
17216}
17217
17218
17219static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17222 wxDC *arg2 = 0 ;
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "self",(char *) "dc", NULL
17227 };
17228
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17232 if (arg2 == NULL) {
17233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17234 }
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 (arg1)->base_OnHighlight(*arg2);
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 Py_INCREF(Py_None); resultobj = Py_None;
17243 return resultobj;
17244 fail:
17245 return NULL;
17246}
17247
17248
17249static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17250 PyObject *resultobj;
17251 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17252 double arg2 ;
17253 double arg3 ;
17254 int arg4 = (int) 0 ;
17255 int arg5 = (int) 0 ;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 Py_INCREF(Py_None); resultobj = Py_None;
17271 return resultobj;
17272 fail:
17273 return NULL;
17274}
17275
17276
17277static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj;
17279 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17280 double arg2 ;
17281 double arg3 ;
17282 int arg4 = (int) 0 ;
17283 int arg5 = (int) 0 ;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 Py_INCREF(Py_None); resultobj = Py_None;
17299 return resultobj;
17300 fail:
17301 return NULL;
17302}
17303
17304
17305static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17308 double arg2 ;
17309 double arg3 ;
17310 int arg4 = (int) 0 ;
17311 int arg5 = (int) 0 ;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 Py_INCREF(Py_None); resultobj = Py_None;
17327 return resultobj;
17328 fail:
17329 return NULL;
17330}
17331
17332
17333static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17336 double arg2 ;
17337 double arg3 ;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "x",(char *) "y", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->base_OnSize(arg2,arg3);
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 Py_INCREF(Py_None); resultobj = Py_None;
17353 return resultobj;
17354 fail:
17355 return NULL;
17356}
17357
17358
17359static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17360 PyObject *resultobj;
17361 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17362 wxDC *arg2 = 0 ;
17363 double arg3 ;
17364 double arg4 ;
17365 double arg5 ;
17366 double arg6 ;
17367 bool arg7 = (bool) True ;
17368 bool result;
17369 PyObject * obj0 = 0 ;
17370 PyObject * obj1 = 0 ;
17371 PyObject * obj6 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17379 if (arg2 == NULL) {
17380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17381 }
17382 if (obj6) {
17383 arg7 = PyInt_AsLong(obj6) ? true : false;
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 resultobj = PyInt_FromLong((long)result);
17394 return resultobj;
17395 fail:
17396 return NULL;
17397}
17398
17399
17400static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17403 wxDC *arg2 = 0 ;
17404 double arg3 ;
17405 double arg4 ;
17406 double arg5 ;
17407 double arg6 ;
17408 bool arg7 = (bool) True ;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 PyObject * obj6 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17419 if (arg2 == NULL) {
17420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17421 }
17422 if (obj6) {
17423 arg7 = PyInt_AsLong(obj6) ? true : false;
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 Py_INCREF(Py_None); resultobj = Py_None;
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
17440static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17441 PyObject *resultobj;
17442 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17443 bool arg2 ;
17444 double arg3 ;
17445 double arg4 ;
17446 int arg5 = (int) 0 ;
17447 int arg6 = (int) 0 ;
17448 PyObject * obj0 = 0 ;
17449 PyObject * obj1 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 arg2 = PyInt_AsLong(obj1) ? true : false;
17457 if (PyErr_Occurred()) SWIG_fail;
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 Py_INCREF(Py_None); resultobj = Py_None;
17466 return resultobj;
17467 fail:
17468 return NULL;
17469}
17470
17471
17472static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17475 double arg2 ;
17476 double arg3 ;
17477 int arg4 = (int) 0 ;
17478 int arg5 = (int) 0 ;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
17489
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 Py_INCREF(Py_None); resultobj = Py_None;
17494 return resultobj;
17495 fail:
17496 return NULL;
17497}
17498
17499
17500static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17501 PyObject *resultobj;
17502 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17503 double arg2 ;
17504 double arg3 ;
17505 int arg4 = (int) 0 ;
17506 int arg5 = (int) 0 ;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 Py_INCREF(Py_None); resultobj = Py_None;
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
17528static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17531 bool arg2 ;
17532 double arg3 ;
17533 double arg4 ;
17534 int arg5 = (int) 0 ;
17535 int arg6 = (int) 0 ;
17536 PyObject * obj0 = 0 ;
17537 PyObject * obj1 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17544 arg2 = PyInt_AsLong(obj1) ? true : false;
17545 if (PyErr_Occurred()) SWIG_fail;
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 Py_INCREF(Py_None); resultobj = Py_None;
17554 return resultobj;
17555 fail:
17556 return NULL;
17557}
17558
17559
17560static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17561 PyObject *resultobj;
17562 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17563 double arg2 ;
17564 double arg3 ;
17565 int arg4 = (int) 0 ;
17566 int arg5 = (int) 0 ;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 Py_INCREF(Py_None); resultobj = Py_None;
17582 return resultobj;
17583 fail:
17584 return NULL;
17585}
17586
17587
17588static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17591 double arg2 ;
17592 double arg3 ;
17593 int arg4 = (int) 0 ;
17594 int arg5 = (int) 0 ;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
17616static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17619 wxDC *arg2 = 0 ;
17620 double arg3 ;
17621 double arg4 ;
17622 double arg5 ;
17623 double arg6 ;
17624 PyObject * obj0 = 0 ;
17625 PyObject * obj1 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17633 if (arg2 == NULL) {
17634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17635 }
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647}
17648
17649
17650static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17653 wxDC *arg2 = 0 ;
17654 PyObject * obj0 = 0 ;
17655 PyObject * obj1 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "dc", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if (arg2 == NULL) {
17664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17665 }
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->base_OnDrawControlPoints(*arg2);
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
17680static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17683 wxDC *arg2 = 0 ;
17684 PyObject * obj0 = 0 ;
17685 PyObject * obj1 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "dc", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 if (arg2 == NULL) {
17694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17695 }
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 (arg1)->base_OnEraseControlPoints(*arg2);
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 Py_INCREF(Py_None); resultobj = Py_None;
17704 return resultobj;
17705 fail:
17706 return NULL;
17707}
17708
17709
17710static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
17711 PyObject *resultobj;
17712 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17713 wxDC *arg2 = 0 ;
17714 bool arg3 = (bool) True ;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 PyObject * obj2 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17725 if (arg2 == NULL) {
17726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17727 }
17728 if (obj2) {
17729 arg3 = PyInt_AsLong(obj2) ? true : false;
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 (arg1)->base_OnMoveLink(*arg2,arg3);
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 Py_INCREF(Py_None); resultobj = Py_None;
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
17746static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17747 PyObject *resultobj;
17748 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17749 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17750 bool arg3 ;
17751 double arg4 ;
17752 double arg5 ;
17753 int arg6 = (int) 0 ;
17754 int arg7 = (int) 0 ;
17755 PyObject * obj0 = 0 ;
17756 PyObject * obj1 = 0 ;
17757 PyObject * obj2 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 arg3 = PyInt_AsLong(obj2) ? true : false;
17766 if (PyErr_Occurred()) SWIG_fail;
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
17770
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 Py_INCREF(Py_None); resultobj = Py_None;
17775 return resultobj;
17776 fail:
17777 return NULL;
17778}
17779
17780
17781static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17784 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17785 double arg3 ;
17786 double arg4 ;
17787 int arg5 = (int) 0 ;
17788 int arg6 = (int) 0 ;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj1 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 Py_INCREF(Py_None); resultobj = Py_None;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
17812static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17815 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17816 double arg3 ;
17817 double arg4 ;
17818 int arg5 = (int) 0 ;
17819 int arg6 = (int) 0 ;
17820 PyObject * obj0 = 0 ;
17821 PyObject * obj1 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 Py_INCREF(Py_None); resultobj = Py_None;
17837 return resultobj;
17838 fail:
17839 return NULL;
17840}
17841
17842
17843static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj;
17845 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17846 double arg2 ;
17847 double arg3 ;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "w",(char *) "h", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->base_OnBeginSize(arg2,arg3);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17872 double arg2 ;
17873 double arg3 ;
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "w",(char *) "h", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 (arg1)->base_OnEndSize(arg2,arg3);
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 Py_INCREF(Py_None); resultobj = Py_None;
17889 return resultobj;
17890 fail:
17891 return NULL;
17892}
17893
17894
17895static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
17896 PyObject *obj;
17897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17898 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
17899 Py_INCREF(obj);
17900 return Py_BuildValue((char *)"");
17901}
17902static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 double arg1 = (double) 0.0 ;
17905 double arg2 = (double) 0.0 ;
17906 wxPyEllipseShape *result;
17907 char *kwnames[] = {
17908 (char *) "width",(char *) "height", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyEllipseShape",kwnames,&arg1,&arg2)) goto fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
17920 return resultobj;
17921 fail:
17922 return NULL;
17923}
17924
17925
17926static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17929 PyObject *arg2 = (PyObject *) 0 ;
17930 PyObject *arg3 = (PyObject *) 0 ;
17931 PyObject * obj0 = 0 ;
17932 PyObject * obj1 = 0 ;
17933 PyObject * obj2 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "self",(char *) "_class", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17940 arg2 = obj1;
17941 arg3 = obj2;
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 (arg1)->_setCallbackInfo(arg2,arg3);
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 Py_INCREF(Py_None); resultobj = Py_None;
17950 return resultobj;
17951 fail:
17952 return NULL;
17953}
17954
17955
17956static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17959 wxDC *arg2 = 0 ;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self",(char *) "dc", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17968 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17969 if (arg2 == NULL) {
17970 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17971 }
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 (arg1)->base_OnDraw(*arg2);
17975
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 Py_INCREF(Py_None); resultobj = Py_None;
17980 return resultobj;
17981 fail:
17982 return NULL;
17983}
17984
17985
17986static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj;
17988 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17989 wxDC *arg2 = 0 ;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self",(char *) "dc", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 if (arg2 == NULL) {
18000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18001 }
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 (arg1)->base_OnDrawContents(*arg2);
18005
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 Py_INCREF(Py_None); resultobj = Py_None;
18010 return resultobj;
18011 fail:
18012 return NULL;
18013}
18014
18015
18016static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18017 PyObject *resultobj;
18018 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18019 wxDC *arg2 = 0 ;
18020 bool arg3 = (bool) FALSE ;
18021 PyObject * obj0 = 0 ;
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
18024 char *kwnames[] = {
18025 (char *) "self",(char *) "dc",(char *) "erase", NULL
18026 };
18027
18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18031 if (arg2 == NULL) {
18032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18033 }
18034 if (obj2) {
18035 arg3 = PyInt_AsLong(obj2) ? true : false;
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 (arg1)->base_OnDrawBranches(*arg2,arg3);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 Py_INCREF(Py_None); resultobj = Py_None;
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
18052static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18055 wxDC *arg2 = 0 ;
18056 PyObject * obj0 = 0 ;
18057 PyObject * obj1 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self",(char *) "dc", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 if (arg2 == NULL) {
18066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18067 }
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 (arg1)->base_OnMoveLinks(*arg2);
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 Py_INCREF(Py_None); resultobj = Py_None;
18076 return resultobj;
18077 fail:
18078 return NULL;
18079}
18080
18081
18082static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18083 PyObject *resultobj;
18084 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18085 wxDC *arg2 = 0 ;
18086 PyObject * obj0 = 0 ;
18087 PyObject * obj1 = 0 ;
18088 char *kwnames[] = {
18089 (char *) "self",(char *) "dc", NULL
18090 };
18091
18092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18094 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18095 if (arg2 == NULL) {
18096 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18097 }
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 (arg1)->base_OnErase(*arg2);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 Py_INCREF(Py_None); resultobj = Py_None;
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
18112static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18115 wxDC *arg2 = 0 ;
18116 PyObject * obj0 = 0 ;
18117 PyObject * obj1 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self",(char *) "dc", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18125 if (arg2 == NULL) {
18126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18127 }
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 (arg1)->base_OnEraseContents(*arg2);
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 Py_INCREF(Py_None); resultobj = Py_None;
18136 return resultobj;
18137 fail:
18138 return NULL;
18139}
18140
18141
18142static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj;
18144 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18145 wxDC *arg2 = 0 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self",(char *) "dc", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18155 if (arg2 == NULL) {
18156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18157 }
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 (arg1)->base_OnHighlight(*arg2);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 Py_INCREF(Py_None); resultobj = Py_None;
18166 return resultobj;
18167 fail:
18168 return NULL;
18169}
18170
18171
18172static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18175 double arg2 ;
18176 double arg3 ;
18177 int arg4 = (int) 0 ;
18178 int arg5 = (int) 0 ;
18179 PyObject * obj0 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 return resultobj;
18195 fail:
18196 return NULL;
18197}
18198
18199
18200static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18203 double arg2 ;
18204 double arg3 ;
18205 int arg4 = (int) 0 ;
18206 int arg5 = (int) 0 ;
18207 PyObject * obj0 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 Py_INCREF(Py_None); resultobj = Py_None;
18222 return resultobj;
18223 fail:
18224 return NULL;
18225}
18226
18227
18228static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj;
18230 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18231 double arg2 ;
18232 double arg3 ;
18233 int arg4 = (int) 0 ;
18234 int arg5 = (int) 0 ;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 Py_INCREF(Py_None); resultobj = Py_None;
18250 return resultobj;
18251 fail:
18252 return NULL;
18253}
18254
18255
18256static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18259 double arg2 ;
18260 double arg3 ;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self",(char *) "x",(char *) "y", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 (arg1)->base_OnSize(arg2,arg3);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 return resultobj;
18277 fail:
18278 return NULL;
18279}
18280
18281
18282static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18285 wxDC *arg2 = 0 ;
18286 double arg3 ;
18287 double arg4 ;
18288 double arg5 ;
18289 double arg6 ;
18290 bool arg7 = (bool) True ;
18291 bool result;
18292 PyObject * obj0 = 0 ;
18293 PyObject * obj1 = 0 ;
18294 PyObject * obj6 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18302 if (arg2 == NULL) {
18303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18304 }
18305 if (obj6) {
18306 arg7 = PyInt_AsLong(obj6) ? true : false;
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 resultobj = PyInt_FromLong((long)result);
18317 return resultobj;
18318 fail:
18319 return NULL;
18320}
18321
18322
18323static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18326 wxDC *arg2 = 0 ;
18327 double arg3 ;
18328 double arg4 ;
18329 double arg5 ;
18330 double arg6 ;
18331 bool arg7 = (bool) True ;
18332 PyObject * obj0 = 0 ;
18333 PyObject * obj1 = 0 ;
18334 PyObject * obj6 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18342 if (arg2 == NULL) {
18343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18344 }
18345 if (obj6) {
18346 arg7 = PyInt_AsLong(obj6) ? true : false;
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 Py_INCREF(Py_None); resultobj = Py_None;
18357 return resultobj;
18358 fail:
18359 return NULL;
18360}
18361
18362
18363static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18366 bool arg2 ;
18367 double arg3 ;
18368 double arg4 ;
18369 int arg5 = (int) 0 ;
18370 int arg6 = (int) 0 ;
18371 PyObject * obj0 = 0 ;
18372 PyObject * obj1 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 arg2 = PyInt_AsLong(obj1) ? true : false;
18380 if (PyErr_Occurred()) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 Py_INCREF(Py_None); resultobj = Py_None;
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
18395static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18398 double arg2 ;
18399 double arg3 ;
18400 int arg4 = (int) 0 ;
18401 int arg5 = (int) 0 ;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 Py_INCREF(Py_None); resultobj = Py_None;
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
18423static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18426 double arg2 ;
18427 double arg3 ;
18428 int arg4 = (int) 0 ;
18429 int arg5 = (int) 0 ;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 Py_INCREF(Py_None); resultobj = Py_None;
18445 return resultobj;
18446 fail:
18447 return NULL;
18448}
18449
18450
18451static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18454 bool arg2 ;
18455 double arg3 ;
18456 double arg4 ;
18457 int arg5 = (int) 0 ;
18458 int arg6 = (int) 0 ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18467 arg2 = PyInt_AsLong(obj1) ? true : false;
18468 if (PyErr_Occurred()) SWIG_fail;
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 Py_INCREF(Py_None); resultobj = Py_None;
18477 return resultobj;
18478 fail:
18479 return NULL;
18480}
18481
18482
18483static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj;
18485 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18486 double arg2 ;
18487 double arg3 ;
18488 int arg4 = (int) 0 ;
18489 int arg5 = (int) 0 ;
18490 PyObject * obj0 = 0 ;
18491 char *kwnames[] = {
18492 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18493 };
18494
18495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 Py_INCREF(Py_None); resultobj = Py_None;
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18514 double arg2 ;
18515 double arg3 ;
18516 int arg4 = (int) 0 ;
18517 int arg5 = (int) 0 ;
18518 PyObject * obj0 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 Py_INCREF(Py_None); resultobj = Py_None;
18533 return resultobj;
18534 fail:
18535 return NULL;
18536}
18537
18538
18539static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18542 wxDC *arg2 = 0 ;
18543 double arg3 ;
18544 double arg4 ;
18545 double arg5 ;
18546 double arg6 ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18556 if (arg2 == NULL) {
18557 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18558 }
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570}
18571
18572
18573static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18576 wxDC *arg2 = 0 ;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "dc", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18586 if (arg2 == NULL) {
18587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18588 }
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->base_OnDrawControlPoints(*arg2);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 Py_INCREF(Py_None); resultobj = Py_None;
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18606 wxDC *arg2 = 0 ;
18607 PyObject * obj0 = 0 ;
18608 PyObject * obj1 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self",(char *) "dc", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 if (arg2 == NULL) {
18617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18618 }
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 (arg1)->base_OnEraseControlPoints(*arg2);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 return resultobj;
18628 fail:
18629 return NULL;
18630}
18631
18632
18633static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18634 PyObject *resultobj;
18635 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18636 wxDC *arg2 = 0 ;
18637 bool arg3 = (bool) True ;
18638 PyObject * obj0 = 0 ;
18639 PyObject * obj1 = 0 ;
18640 PyObject * obj2 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18648 if (arg2 == NULL) {
18649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18650 }
18651 if (obj2) {
18652 arg3 = PyInt_AsLong(obj2) ? true : false;
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->base_OnMoveLink(*arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666}
18667
18668
18669static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18672 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18673 bool arg3 ;
18674 double arg4 ;
18675 double arg5 ;
18676 int arg6 = (int) 0 ;
18677 int arg7 = (int) 0 ;
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 PyObject * obj2 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18688 arg3 = PyInt_AsLong(obj2) ? true : false;
18689 if (PyErr_Occurred()) SWIG_fail;
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 Py_INCREF(Py_None); resultobj = Py_None;
18698 return resultobj;
18699 fail:
18700 return NULL;
18701}
18702
18703
18704static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj;
18706 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18707 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18708 double arg3 ;
18709 double arg4 ;
18710 int arg5 = (int) 0 ;
18711 int arg6 = (int) 0 ;
18712 PyObject * obj0 = 0 ;
18713 PyObject * obj1 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 Py_INCREF(Py_None); resultobj = Py_None;
18729 return resultobj;
18730 fail:
18731 return NULL;
18732}
18733
18734
18735static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj;
18737 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18738 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18739 double arg3 ;
18740 double arg4 ;
18741 int arg5 = (int) 0 ;
18742 int arg6 = (int) 0 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 Py_INCREF(Py_None); resultobj = Py_None;
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
18766static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18767 PyObject *resultobj;
18768 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18769 double arg2 ;
18770 double arg3 ;
18771 PyObject * obj0 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self",(char *) "w",(char *) "h", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 (arg1)->base_OnBeginSize(arg2,arg3);
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 Py_INCREF(Py_None); resultobj = Py_None;
18786 return resultobj;
18787 fail:
18788 return NULL;
18789}
18790
18791
18792static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18795 double arg2 ;
18796 double arg3 ;
18797 PyObject * obj0 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self",(char *) "w",(char *) "h", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 (arg1)->base_OnEndSize(arg2,arg3);
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 Py_INCREF(Py_None); resultobj = Py_None;
18812 return resultobj;
18813 fail:
18814 return NULL;
18815}
18816
18817
18818static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
18819 PyObject *obj;
18820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18821 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
18822 Py_INCREF(obj);
18823 return Py_BuildValue((char *)"");
18824}
18825static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 double arg1 = (double) 0.0 ;
18828 wxPyCircleShape *result;
18829 char *kwnames[] = {
18830 (char *) "width", NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|d:new_PyCircleShape",kwnames,&arg1)) goto fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
18842 return resultobj;
18843 fail:
18844 return NULL;
18845}
18846
18847
18848static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18851 PyObject *arg2 = (PyObject *) 0 ;
18852 PyObject *arg3 = (PyObject *) 0 ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 PyObject * obj2 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self",(char *) "self",(char *) "_class", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18862 arg2 = obj1;
18863 arg3 = obj2;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->_setCallbackInfo(arg2,arg3);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 Py_INCREF(Py_None); resultobj = Py_None;
18872 return resultobj;
18873 fail:
18874 return NULL;
18875}
18876
18877
18878static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18879 PyObject *resultobj;
18880 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18881 wxDC *arg2 = 0 ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self",(char *) "dc", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18891 if (arg2 == NULL) {
18892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18893 }
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 (arg1)->base_OnDraw(*arg2);
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 Py_INCREF(Py_None); resultobj = Py_None;
18902 return resultobj;
18903 fail:
18904 return NULL;
18905}
18906
18907
18908static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18911 wxDC *arg2 = 0 ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "dc", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18921 if (arg2 == NULL) {
18922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->base_OnDrawContents(*arg2);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 Py_INCREF(Py_None); resultobj = Py_None;
18932 return resultobj;
18933 fail:
18934 return NULL;
18935}
18936
18937
18938static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18941 wxDC *arg2 = 0 ;
18942 bool arg3 = (bool) FALSE ;
18943 PyObject * obj0 = 0 ;
18944 PyObject * obj1 = 0 ;
18945 PyObject * obj2 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "dc",(char *) "erase", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18953 if (arg2 == NULL) {
18954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18955 }
18956 if (obj2) {
18957 arg3 = PyInt_AsLong(obj2) ? true : false;
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 (arg1)->base_OnDrawBranches(*arg2,arg3);
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 Py_INCREF(Py_None); resultobj = Py_None;
18968 return resultobj;
18969 fail:
18970 return NULL;
18971}
18972
18973
18974static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18977 wxDC *arg2 = 0 ;
18978 PyObject * obj0 = 0 ;
18979 PyObject * obj1 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self",(char *) "dc", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18987 if (arg2 == NULL) {
18988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18989 }
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 (arg1)->base_OnMoveLinks(*arg2);
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 Py_INCREF(Py_None); resultobj = Py_None;
18998 return resultobj;
18999 fail:
19000 return NULL;
19001}
19002
19003
19004static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj;
19006 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19007 wxDC *arg2 = 0 ;
19008 PyObject * obj0 = 0 ;
19009 PyObject * obj1 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self",(char *) "dc", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19017 if (arg2 == NULL) {
19018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19019 }
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 (arg1)->base_OnErase(*arg2);
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 Py_INCREF(Py_None); resultobj = Py_None;
19028 return resultobj;
19029 fail:
19030 return NULL;
19031}
19032
19033
19034static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj;
19036 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19037 wxDC *arg2 = 0 ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "self",(char *) "dc", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 if (arg2 == NULL) {
19048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19049 }
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 (arg1)->base_OnEraseContents(*arg2);
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 Py_INCREF(Py_None); resultobj = Py_None;
19058 return resultobj;
19059 fail:
19060 return NULL;
19061}
19062
19063
19064static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19067 wxDC *arg2 = 0 ;
19068 PyObject * obj0 = 0 ;
19069 PyObject * obj1 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self",(char *) "dc", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19077 if (arg2 == NULL) {
19078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19079 }
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 (arg1)->base_OnHighlight(*arg2);
19083
19084 wxPyEndAllowThreads(__tstate);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 Py_INCREF(Py_None); resultobj = Py_None;
19088 return resultobj;
19089 fail:
19090 return NULL;
19091}
19092
19093
19094static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj;
19096 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19097 double arg2 ;
19098 double arg3 ;
19099 int arg4 = (int) 0 ;
19100 int arg5 = (int) 0 ;
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 return resultobj;
19117 fail:
19118 return NULL;
19119}
19120
19121
19122static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19125 double arg2 ;
19126 double arg3 ;
19127 int arg4 = (int) 0 ;
19128 int arg5 = (int) 0 ;
19129 PyObject * obj0 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 Py_INCREF(Py_None); resultobj = Py_None;
19144 return resultobj;
19145 fail:
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19153 double arg2 ;
19154 double arg3 ;
19155 int arg4 = (int) 0 ;
19156 int arg5 = (int) 0 ;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 Py_INCREF(Py_None); resultobj = Py_None;
19172 return resultobj;
19173 fail:
19174 return NULL;
19175}
19176
19177
19178static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19181 double arg2 ;
19182 double arg3 ;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "x",(char *) "y", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 (arg1)->base_OnSize(arg2,arg3);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 Py_INCREF(Py_None); resultobj = Py_None;
19198 return resultobj;
19199 fail:
19200 return NULL;
19201}
19202
19203
19204static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19207 wxDC *arg2 = 0 ;
19208 double arg3 ;
19209 double arg4 ;
19210 double arg5 ;
19211 double arg6 ;
19212 bool arg7 = (bool) True ;
19213 bool result;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 PyObject * obj6 = 0 ;
19217 char *kwnames[] = {
19218 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19219 };
19220
19221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19224 if (arg2 == NULL) {
19225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19226 }
19227 if (obj6) {
19228 arg7 = PyInt_AsLong(obj6) ? true : false;
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 resultobj = PyInt_FromLong((long)result);
19239 return resultobj;
19240 fail:
19241 return NULL;
19242}
19243
19244
19245static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19248 wxDC *arg2 = 0 ;
19249 double arg3 ;
19250 double arg4 ;
19251 double arg5 ;
19252 double arg6 ;
19253 bool arg7 = (bool) True ;
19254 PyObject * obj0 = 0 ;
19255 PyObject * obj1 = 0 ;
19256 PyObject * obj6 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19264 if (arg2 == NULL) {
19265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19266 }
19267 if (obj6) {
19268 arg7 = PyInt_AsLong(obj6) ? true : false;
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282}
19283
19284
19285static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19288 bool arg2 ;
19289 double arg3 ;
19290 double arg4 ;
19291 int arg5 = (int) 0 ;
19292 int arg6 = (int) 0 ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19301 arg2 = PyInt_AsLong(obj1) ? true : false;
19302 if (PyErr_Occurred()) SWIG_fail;
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 Py_INCREF(Py_None); resultobj = Py_None;
19311 return resultobj;
19312 fail:
19313 return NULL;
19314}
19315
19316
19317static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19320 double arg2 ;
19321 double arg3 ;
19322 int arg4 = (int) 0 ;
19323 int arg5 = (int) 0 ;
19324 PyObject * obj0 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 Py_INCREF(Py_None); resultobj = Py_None;
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
19345static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19348 double arg2 ;
19349 double arg3 ;
19350 int arg4 = (int) 0 ;
19351 int arg5 = (int) 0 ;
19352 PyObject * obj0 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19359 {
19360 PyThreadState* __tstate = wxPyBeginAllowThreads();
19361 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19362
19363 wxPyEndAllowThreads(__tstate);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 }
19366 Py_INCREF(Py_None); resultobj = Py_None;
19367 return resultobj;
19368 fail:
19369 return NULL;
19370}
19371
19372
19373static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19374 PyObject *resultobj;
19375 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19376 bool arg2 ;
19377 double arg3 ;
19378 double arg4 ;
19379 int arg5 = (int) 0 ;
19380 int arg6 = (int) 0 ;
19381 PyObject * obj0 = 0 ;
19382 PyObject * obj1 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 arg2 = PyInt_AsLong(obj1) ? true : false;
19390 if (PyErr_Occurred()) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
19405static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19408 double arg2 ;
19409 double arg3 ;
19410 int arg4 = (int) 0 ;
19411 int arg5 = (int) 0 ;
19412 PyObject * obj0 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 Py_INCREF(Py_None); resultobj = Py_None;
19427 return resultobj;
19428 fail:
19429 return NULL;
19430}
19431
19432
19433static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19436 double arg2 ;
19437 double arg3 ;
19438 int arg4 = (int) 0 ;
19439 int arg5 = (int) 0 ;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 Py_INCREF(Py_None); resultobj = Py_None;
19455 return resultobj;
19456 fail:
19457 return NULL;
19458}
19459
19460
19461static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19464 wxDC *arg2 = 0 ;
19465 double arg3 ;
19466 double arg4 ;
19467 double arg5 ;
19468 double arg6 ;
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19478 if (arg2 == NULL) {
19479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19480 }
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 return resultobj;
19490 fail:
19491 return NULL;
19492}
19493
19494
19495static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19498 wxDC *arg2 = 0 ;
19499 PyObject * obj0 = 0 ;
19500 PyObject * obj1 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self",(char *) "dc", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19508 if (arg2 == NULL) {
19509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19510 }
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 (arg1)->base_OnDrawControlPoints(*arg2);
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 Py_INCREF(Py_None); resultobj = Py_None;
19519 return resultobj;
19520 fail:
19521 return NULL;
19522}
19523
19524
19525static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19528 wxDC *arg2 = 0 ;
19529 PyObject * obj0 = 0 ;
19530 PyObject * obj1 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "self",(char *) "dc", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19538 if (arg2 == NULL) {
19539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19540 }
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 (arg1)->base_OnEraseControlPoints(*arg2);
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 Py_INCREF(Py_None); resultobj = Py_None;
19549 return resultobj;
19550 fail:
19551 return NULL;
19552}
19553
19554
19555static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj;
19557 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19558 wxDC *arg2 = 0 ;
19559 bool arg3 = (bool) True ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 PyObject * obj2 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19570 if (arg2 == NULL) {
19571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19572 }
19573 if (obj2) {
19574 arg3 = PyInt_AsLong(obj2) ? true : false;
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->base_OnMoveLink(*arg2,arg3);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588}
19589
19590
19591static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19594 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19595 bool arg3 ;
19596 double arg4 ;
19597 double arg5 ;
19598 int arg6 = (int) 0 ;
19599 int arg7 = (int) 0 ;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19610 arg3 = PyInt_AsLong(obj2) ? true : false;
19611 if (PyErr_Occurred()) SWIG_fail;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
19626static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19629 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19630 double arg3 ;
19631 double arg4 ;
19632 int arg5 = (int) 0 ;
19633 int arg6 = (int) 0 ;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 Py_INCREF(Py_None); resultobj = Py_None;
19651 return resultobj;
19652 fail:
19653 return NULL;
19654}
19655
19656
19657static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19660 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19661 double arg3 ;
19662 double arg4 ;
19663 int arg5 = (int) 0 ;
19664 int arg6 = (int) 0 ;
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 Py_INCREF(Py_None); resultobj = Py_None;
19682 return resultobj;
19683 fail:
19684 return NULL;
19685}
19686
19687
19688static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj;
19690 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19691 double arg2 ;
19692 double arg3 ;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self",(char *) "w",(char *) "h", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 (arg1)->base_OnBeginSize(arg2,arg3);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 return resultobj;
19709 fail:
19710 return NULL;
19711}
19712
19713
19714static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19717 double arg2 ;
19718 double arg3 ;
19719 PyObject * obj0 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "w",(char *) "h", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 (arg1)->base_OnEndSize(arg2,arg3);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 Py_INCREF(Py_None); resultobj = Py_None;
19734 return resultobj;
19735 fail:
19736 return NULL;
19737}
19738
19739
19740static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
19741 PyObject *obj;
19742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19743 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
19744 Py_INCREF(obj);
19745 return Py_BuildValue((char *)"");
19746}
19747static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 int arg1 = (int) 0 ;
19750 int arg2 = (int) 0 ;
19751 double arg3 = (double) 0.0 ;
19752 double arg4 = (double) 0.0 ;
19753 wxString const &arg5_defvalue = wxPyEmptyString ;
19754 wxString *arg5 = (wxString *) &arg5_defvalue ;
19755 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
19756 long arg7 = (long) -1 ;
19757 wxArrowHead *result;
19758 bool temp5 = False ;
19759 PyObject * obj4 = 0 ;
19760 PyObject * obj5 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiddOOl:new_ArrowHead",kwnames,&arg1,&arg2,&arg3,&arg4,&obj4,&obj5,&arg7)) goto fail;
19766 if (obj4) {
19767 {
19768 arg5 = wxString_in_helper(obj4);
19769 if (arg5 == NULL) SWIG_fail;
19770 temp5 = True;
19771 }
19772 }
19773 if (obj5) {
19774 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19775 }
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 resultobj = wxPyMake_wxObject(result);
19785 }
19786 {
19787 if (temp5)
19788 delete arg5;
19789 }
19790 return resultobj;
19791 fail:
19792 {
19793 if (temp5)
19794 delete arg5;
19795 }
19796 return NULL;
19797}
19798
19799
19800static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19803 PyObject * obj0 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
19809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 delete arg1;
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 Py_INCREF(Py_None); resultobj = Py_None;
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
19824static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
19825 PyObject *resultobj;
19826 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19827 int result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (int)(arg1)->_GetType();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = PyInt_FromLong((long)result);
19843 return resultobj;
19844 fail:
19845 return NULL;
19846}
19847
19848
19849static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19852 int result;
19853 PyObject * obj0 = 0 ;
19854 char *kwnames[] = {
19855 (char *) "self", NULL
19856 };
19857
19858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
19859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 result = (int)(arg1)->GetPosition();
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 resultobj = PyInt_FromLong((long)result);
19868 return resultobj;
19869 fail:
19870 return NULL;
19871}
19872
19873
19874static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19877 int arg2 ;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self",(char *) "pos", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ArrowHead_SetPosition",kwnames,&obj0,&arg2)) goto fail;
19884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->SetPosition(arg2);
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896}
19897
19898
19899static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19902 double result;
19903 PyObject * obj0 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
19909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 result = (double)(arg1)->GetXOffset();
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 resultobj = PyFloat_FromDouble(result);
19918 return resultobj;
19919 fail:
19920 return NULL;
19921}
19922
19923
19924static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19925 PyObject *resultobj;
19926 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19927 double result;
19928 PyObject * obj0 = 0 ;
19929 char *kwnames[] = {
19930 (char *) "self", NULL
19931 };
19932
19933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
19934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (double)(arg1)->GetYOffset();
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 resultobj = PyFloat_FromDouble(result);
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
19949static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19952 double result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = (double)(arg1)->GetSpacing();
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 resultobj = PyFloat_FromDouble(result);
19968 return resultobj;
19969 fail:
19970 return NULL;
19971}
19972
19973
19974static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19977 double result;
19978 PyObject * obj0 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
19984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (double)(arg1)->GetSize();
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = PyFloat_FromDouble(result);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
19999static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20002 wxString result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
20009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (arg1)->GetName();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018#if wxUSE_UNICODE
20019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20020#else
20021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20022#endif
20023 }
20024 return resultobj;
20025 fail:
20026 return NULL;
20027}
20028
20029
20030static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20033 double arg2 ;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self",(char *) "x", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
20040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 (arg1)->SetXOffset(arg2);
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 Py_INCREF(Py_None); resultobj = Py_None;
20049 return resultobj;
20050 fail:
20051 return NULL;
20052}
20053
20054
20055static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20056 PyObject *resultobj;
20057 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20058 double arg2 ;
20059 PyObject * obj0 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self",(char *) "y", NULL
20062 };
20063
20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetYOffset",kwnames,&obj0,&arg2)) goto fail;
20065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 (arg1)->SetYOffset(arg2);
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 Py_INCREF(Py_None); resultobj = Py_None;
20074 return resultobj;
20075 fail:
20076 return NULL;
20077}
20078
20079
20080static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20083 wxPseudoMetaFile *result;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 {
20099 resultobj = wxPyMake_wxObject(result);
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104}
20105
20106
20107static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20110 long result;
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (long)(arg1)->GetId();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = PyInt_FromLong((long)result);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129}
20130
20131
20132static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20135 int result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (int)(arg1)->GetArrowEnd();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = PyInt_FromLong((long)result);
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
20157static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20160 double result;
20161 PyObject * obj0 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
20167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (double)(arg1)->GetArrowSize();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = PyFloat_FromDouble(result);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
20182static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20185 double arg2 ;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "size", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSize",kwnames,&obj0,&arg2)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->SetSize(arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 Py_INCREF(Py_None); resultobj = Py_None;
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
20207static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20210 double arg2 ;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "sp", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSpacing",kwnames,&obj0,&arg2)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 (arg1)->SetSpacing(arg2);
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 Py_INCREF(Py_None); resultobj = Py_None;
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
20233 PyObject *obj;
20234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20235 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
20236 Py_INCREF(obj);
20237 return Py_BuildValue((char *)"");
20238}
20239static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxPyLineShape *result;
20242 char *kwnames[] = {
20243 NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (wxPyLineShape *)new wxPyLineShape();
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
20261static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20264 PyObject *arg2 = (PyObject *) 0 ;
20265 PyObject *arg3 = (PyObject *) 0 ;
20266 PyObject * obj0 = 0 ;
20267 PyObject * obj1 = 0 ;
20268 PyObject * obj2 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self",(char *) "self",(char *) "_class", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20275 arg2 = obj1;
20276 arg3 = obj2;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 (arg1)->_setCallbackInfo(arg2,arg3);
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288}
20289
20290
20291static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20294 int arg2 ;
20295 int arg3 = (int) ARROW_POSITION_END ;
20296 double arg4 = (double) 10.0 ;
20297 double arg5 = (double) 0.0 ;
20298 wxString const &arg6_defvalue = wxPyEmptyString ;
20299 wxString *arg6 = (wxString *) &arg6_defvalue ;
20300 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
20301 long arg8 = (long) -1 ;
20302 bool temp6 = False ;
20303 PyObject * obj0 = 0 ;
20304 PyObject * obj5 = 0 ;
20305 PyObject * obj6 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8)) goto fail;
20311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20312 if (obj5) {
20313 {
20314 arg6 = wxString_in_helper(obj5);
20315 if (arg6 == NULL) SWIG_fail;
20316 temp6 = True;
20317 }
20318 }
20319 if (obj6) {
20320 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 }
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 Py_INCREF(Py_None); resultobj = Py_None;
20330 {
20331 if (temp6)
20332 delete arg6;
20333 }
20334 return resultobj;
20335 fail:
20336 {
20337 if (temp6)
20338 delete arg6;
20339 }
20340 return NULL;
20341}
20342
20343
20344static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20347 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
20348 PyObject *arg3 = (PyObject *) 0 ;
20349 int arg4 ;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 PyObject * obj2 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20360 arg3 = obj2;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 Py_INCREF(Py_None); resultobj = Py_None;
20369 return resultobj;
20370 fail:
20371 return NULL;
20372}
20373
20374
20375static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20378 wxString *arg2 = 0 ;
20379 bool result;
20380 bool temp2 = False ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "self",(char *) "name", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20389 {
20390 arg2 = wxString_in_helper(obj1);
20391 if (arg2 == NULL) SWIG_fail;
20392 temp2 = True;
20393 }
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 resultobj = PyInt_FromLong((long)result);
20402 {
20403 if (temp2)
20404 delete arg2;
20405 }
20406 return resultobj;
20407 fail:
20408 {
20409 if (temp2)
20410 delete arg2;
20411 }
20412 return NULL;
20413}
20414
20415
20416static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20419 int arg2 = (int) -1 ;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self",(char *) "position", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&arg2)) goto fail;
20426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->ClearArrowsAtPosition(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
20441static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20444 wxDC *arg2 = 0 ;
20445 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
20446 double arg4 ;
20447 bool arg5 ;
20448 PyObject * obj0 = 0 ;
20449 PyObject * obj1 = 0 ;
20450 PyObject * obj2 = 0 ;
20451 PyObject * obj4 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
20457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20459 if (arg2 == NULL) {
20460 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20461 }
20462 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20463 arg5 = PyInt_AsLong(obj4) ? true : false;
20464 if (PyErr_Occurred()) SWIG_fail;
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 Py_INCREF(Py_None); resultobj = Py_None;
20473 return resultobj;
20474 fail:
20475 return NULL;
20476}
20477
20478
20479static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20482 long arg2 ;
20483 bool result;
20484 PyObject * obj0 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self",(char *) "arrowId", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = (bool)(arg1)->DeleteArrowHead(arg2);
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 resultobj = PyInt_FromLong((long)result);
20499 return resultobj;
20500 fail:
20501 return NULL;
20502}
20503
20504
20505static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20506 PyObject *resultobj;
20507 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20508 int arg2 ;
20509 wxString *arg3 = 0 ;
20510 bool result;
20511 bool temp3 = False ;
20512 PyObject * obj0 = 0 ;
20513 PyObject * obj2 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self",(char *) "position",(char *) "name", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 {
20521 arg3 = wxString_in_helper(obj2);
20522 if (arg3 == NULL) SWIG_fail;
20523 temp3 = True;
20524 }
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 resultobj = PyInt_FromLong((long)result);
20533 {
20534 if (temp3)
20535 delete arg3;
20536 }
20537 return resultobj;
20538 fail:
20539 {
20540 if (temp3)
20541 delete arg3;
20542 }
20543 return NULL;
20544}
20545
20546
20547static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20550 bool result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (bool)(arg1)->DeleteLineControlPoint();
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 resultobj = PyInt_FromLong((long)result);
20566 return resultobj;
20567 fail:
20568 return NULL;
20569}
20570
20571
20572static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
20573 PyObject *resultobj;
20574 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20575 wxDC *arg2 = 0 ;
20576 PyObject * obj0 = 0 ;
20577 PyObject * obj1 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self",(char *) "dc", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20585 if (arg2 == NULL) {
20586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20587 }
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 (arg1)->DrawArrows(*arg2);
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 Py_INCREF(Py_None); resultobj = Py_None;
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
20602static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20605 wxDC *arg2 = 0 ;
20606 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20607 double arg4 ;
20608 double arg5 ;
20609 PyObject * obj0 = 0 ;
20610 PyObject * obj1 = 0 ;
20611 PyObject * obj2 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20619 if (arg2 == NULL) {
20620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20621 }
20622 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 return resultobj;
20632 fail:
20633 return NULL;
20634}
20635
20636
20637static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20640 wxDC *arg2 = 0 ;
20641 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20642 double arg4 ;
20643 double arg5 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 PyObject * obj2 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20654 if (arg2 == NULL) {
20655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20656 }
20657 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 Py_INCREF(Py_None); resultobj = Py_None;
20666 return resultobj;
20667 fail:
20668 return NULL;
20669}
20670
20671
20672static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj;
20674 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20675 long arg2 ;
20676 wxArrowHead *result;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self",(char *) "arrowId", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 {
20692 resultobj = wxPyMake_wxObject(result);
20693 }
20694 return resultobj;
20695 fail:
20696 return NULL;
20697}
20698
20699
20700static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20701 PyObject *resultobj;
20702 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20703 int arg2 ;
20704 wxString *arg3 = 0 ;
20705 wxArrowHead *result;
20706 bool temp3 = False ;
20707 PyObject * obj0 = 0 ;
20708 PyObject * obj2 = 0 ;
20709 char *kwnames[] = {
20710 (char *) "self",(char *) "position",(char *) "name", NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_FindArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20715 {
20716 arg3 = wxString_in_helper(obj2);
20717 if (arg3 == NULL) SWIG_fail;
20718 temp3 = True;
20719 }
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 {
20728 resultobj = wxPyMake_wxObject(result);
20729 }
20730 {
20731 if (temp3)
20732 delete arg3;
20733 }
20734 return resultobj;
20735 fail:
20736 {
20737 if (temp3)
20738 delete arg3;
20739 }
20740 return NULL;
20741}
20742
20743
20744static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj;
20746 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20747 double *arg2 = (double *) 0 ;
20748 double *arg3 = (double *) 0 ;
20749 double *arg4 = (double *) 0 ;
20750 double *arg5 = (double *) 0 ;
20751 double temp2 ;
20752 double temp3 ;
20753 double temp4 ;
20754 double temp5 ;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 arg2 = &temp2;
20761 arg3 = &temp3;
20762 arg4 = &temp4;
20763 arg5 = &temp5;
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 Py_INCREF(Py_None); resultobj = Py_None;
20774 {
20775 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20776 resultobj = t_output_helper(resultobj,o);
20777 }
20778 {
20779 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20780 resultobj = t_output_helper(resultobj,o);
20781 }
20782 {
20783 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20784 resultobj = t_output_helper(resultobj,o);
20785 }
20786 {
20787 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20788 resultobj = t_output_helper(resultobj,o);
20789 }
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
20796static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20799 double arg2 ;
20800 double arg3 ;
20801 int result;
20802 PyObject * obj0 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "x",(char *) "y", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_FindLinePosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = (int)(arg1)->FindLinePosition(arg2,arg3);
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 resultobj = PyInt_FromLong((long)result);
20817 return resultobj;
20818 fail:
20819 return NULL;
20820}
20821
20822
20823static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj;
20825 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20826 double result;
20827 PyObject * obj0 = 0 ;
20828 char *kwnames[] = {
20829 (char *) "self", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
20833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (double)(arg1)->FindMinimumWidth();
20837
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = PyFloat_FromDouble(result);
20842 return resultobj;
20843 fail:
20844 return NULL;
20845}
20846
20847
20848static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
20849 PyObject *resultobj;
20850 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20851 wxPyShape *arg2 = (wxPyShape *) 0 ;
20852 int *arg3 = (int *) 0 ;
20853 int *arg4 = (int *) 0 ;
20854 bool arg5 ;
20855 int temp3 ;
20856 int temp4 ;
20857 PyObject * obj0 = 0 ;
20858 PyObject * obj1 = 0 ;
20859 PyObject * obj2 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self",(char *) "image",(char *) "incoming", NULL
20862 };
20863
20864 arg3 = &temp3;
20865 arg4 = &temp4;
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20869 arg5 = PyInt_AsLong(obj2) ? true : false;
20870 if (PyErr_Occurred()) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->FindNth(arg2,arg3,arg4,arg5);
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 Py_INCREF(Py_None); resultobj = Py_None;
20879 {
20880 PyObject *o = PyInt_FromLong((long) (*arg3));
20881 resultobj = t_output_helper(resultobj,o);
20882 }
20883 {
20884 PyObject *o = PyInt_FromLong((long) (*arg4));
20885 resultobj = t_output_helper(resultobj,o);
20886 }
20887 return resultobj;
20888 fail:
20889 return NULL;
20890}
20891
20892
20893static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20896 int result;
20897 PyObject * obj0 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (int)(arg1)->GetAttachmentFrom();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 resultobj = PyInt_FromLong((long)result);
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
20918static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20921 int result;
20922 PyObject * obj0 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (int)(arg1)->GetAttachmentTo();
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 resultobj = PyInt_FromLong((long)result);
20937 return resultobj;
20938 fail:
20939 return NULL;
20940}
20941
20942
20943static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
20944 PyObject *resultobj;
20945 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20946 double *arg2 = (double *) 0 ;
20947 double *arg3 = (double *) 0 ;
20948 double *arg4 = (double *) 0 ;
20949 double *arg5 = (double *) 0 ;
20950 double temp2 ;
20951 double temp3 ;
20952 double temp4 ;
20953 double temp5 ;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self", NULL
20957 };
20958
20959 arg2 = &temp2;
20960 arg3 = &temp3;
20961 arg4 = &temp4;
20962 arg5 = &temp5;
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 Py_INCREF(Py_None); resultobj = Py_None;
20973 {
20974 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20975 resultobj = t_output_helper(resultobj,o);
20976 }
20977 {
20978 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20979 resultobj = t_output_helper(resultobj,o);
20980 }
20981 {
20982 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20983 resultobj = t_output_helper(resultobj,o);
20984 }
20985 {
20986 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20987 resultobj = t_output_helper(resultobj,o);
20988 }
20989 return resultobj;
20990 fail:
20991 return NULL;
20992}
20993
20994
20995static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20998 wxPyShape *result;
20999 PyObject * obj0 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (wxPyShape *)(arg1)->GetFrom();
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 {
21014 resultobj = wxPyMake_wxShapeEvtHandler(result);
21015 }
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
21022static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21025 int arg2 ;
21026 double *arg3 = (double *) 0 ;
21027 double *arg4 = (double *) 0 ;
21028 double temp3 ;
21029 double temp4 ;
21030 PyObject * obj0 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self",(char *) "position", NULL
21033 };
21034
21035 arg3 = &temp3;
21036 arg4 = &temp4;
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames,&obj0,&arg2)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 (arg1)->GetLabelPosition(arg2,arg3,arg4);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 Py_INCREF(Py_None); resultobj = Py_None;
21047 {
21048 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21049 resultobj = t_output_helper(resultobj,o);
21050 }
21051 {
21052 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21053 resultobj = t_output_helper(resultobj,o);
21054 }
21055 return resultobj;
21056 fail:
21057 return NULL;
21058}
21059
21060
21061static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21062 PyObject *resultobj;
21063 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21064 wxPyShape *arg2 = (wxPyShape *) 0 ;
21065 wxRealPoint *result;
21066 PyObject * obj0 = 0 ;
21067 PyObject * obj1 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self",(char *) "shape", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
21089static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21092 wxPyShape *result;
21093 PyObject * obj0 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = (wxPyShape *)(arg1)->GetTo();
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 resultobj = wxPyMake_wxShapeEvtHandler(result);
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113}
21114
21115
21116static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21119 PyObject * obj0 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
21125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 (arg1)->Initialise();
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 Py_INCREF(Py_None); resultobj = Py_None;
21134 return resultobj;
21135 fail:
21136 return NULL;
21137}
21138
21139
21140static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21141 PyObject *resultobj;
21142 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21143 wxDC *arg2 = (wxDC *) 0 ;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "dc", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 (arg1)->InsertLineControlPoint(arg2);
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 Py_INCREF(Py_None); resultobj = Py_None;
21161 return resultobj;
21162 fail:
21163 return NULL;
21164}
21165
21166
21167static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21168 PyObject *resultobj;
21169 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21170 wxPyShape *arg2 = (wxPyShape *) 0 ;
21171 bool result;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "shape", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 result = (bool)(arg1)->IsEnd(arg2);
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 resultobj = PyInt_FromLong((long)result);
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
21195static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21198 bool result;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 result = (bool)(arg1)->IsSpline();
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = PyInt_FromLong((long)result);
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
21220static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21223 int arg2 ;
21224 PyObject * obj0 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "n", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&arg2)) goto fail;
21230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 (arg1)->MakeLineControlPoints(arg2);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 Py_INCREF(Py_None); resultobj = Py_None;
21239 return resultobj;
21240 fail:
21241 return NULL;
21242}
21243
21244
21245static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21246 PyObject *resultobj;
21247 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21248 PyObject *result;
21249 PyObject * obj0 = 0 ;
21250 char *kwnames[] = {
21251 (char *) "self", NULL
21252 };
21253
21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
21255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 resultobj = result;
21264 return resultobj;
21265 fail:
21266 return NULL;
21267}
21268
21269
21270static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21273 int arg2 ;
21274 PyObject * obj0 = 0 ;
21275 char *kwnames[] = {
21276 (char *) "self",(char *) "fromAttach", NULL
21277 };
21278
21279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&arg2)) goto fail;
21280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21281 {
21282 PyThreadState* __tstate = wxPyBeginAllowThreads();
21283 (arg1)->SetAttachmentFrom(arg2);
21284
21285 wxPyEndAllowThreads(__tstate);
21286 if (PyErr_Occurred()) SWIG_fail;
21287 }
21288 Py_INCREF(Py_None); resultobj = Py_None;
21289 return resultobj;
21290 fail:
21291 return NULL;
21292}
21293
21294
21295static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21298 int arg2 ;
21299 int arg3 ;
21300 PyObject * obj0 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyLineShape_SetAttachments",kwnames,&obj0,&arg2,&arg3)) goto fail;
21306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 (arg1)->SetAttachments(arg2,arg3);
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 Py_INCREF(Py_None); resultobj = Py_None;
21315 return resultobj;
21316 fail:
21317 return NULL;
21318}
21319
21320
21321static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21324 int arg2 ;
21325 PyObject * obj0 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "toAttach", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames,&obj0,&arg2)) goto fail;
21331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 (arg1)->SetAttachmentTo(arg2);
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 Py_INCREF(Py_None); resultobj = Py_None;
21340 return resultobj;
21341 fail:
21342 return NULL;
21343}
21344
21345
21346static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj;
21348 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21349 double arg2 ;
21350 double arg3 ;
21351 double arg4 ;
21352 double arg5 ;
21353 PyObject * obj0 = 0 ;
21354 char *kwnames[] = {
21355 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyLineShape_SetEnds",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 Py_INCREF(Py_None); resultobj = Py_None;
21368 return resultobj;
21369 fail:
21370 return NULL;
21371}
21372
21373
21374static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21377 wxPyShape *arg2 = (wxPyShape *) 0 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "object", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 (arg1)->SetFrom(arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 Py_INCREF(Py_None); resultobj = Py_None;
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21404 bool arg2 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "ignore", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 arg2 = PyInt_AsLong(obj1) ? true : false;
21414 if (PyErr_Occurred()) SWIG_fail;
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetIgnoreOffsets(arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426}
21427
21428
21429static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21432 bool arg2 ;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
21435 char *kwnames[] = {
21436 (char *) "self",(char *) "spline", NULL
21437 };
21438
21439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
21440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21441 arg2 = PyInt_AsLong(obj1) ? true : false;
21442 if (PyErr_Occurred()) SWIG_fail;
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 (arg1)->SetSpline(arg2);
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 Py_INCREF(Py_None); resultobj = Py_None;
21451 return resultobj;
21452 fail:
21453 return NULL;
21454}
21455
21456
21457static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21460 wxPyShape *arg2 = (wxPyShape *) 0 ;
21461 PyObject * obj0 = 0 ;
21462 PyObject * obj1 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self",(char *) "object", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 (arg1)->SetTo(arg2);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 return resultobj;
21479 fail:
21480 return NULL;
21481}
21482
21483
21484static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21487 wxDC *arg2 = (wxDC *) NULL ;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self",(char *) "dc", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
21495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21496 if (obj1) {
21497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21498 }
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 (arg1)->Straighten(arg2);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510}
21511
21512
21513static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21516 PyObject * obj0 = 0 ;
21517 char *kwnames[] = {
21518 (char *) "self", NULL
21519 };
21520
21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
21522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->Unlink();
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
21537static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21540 wxDC *arg2 = 0 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "dc", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21550 if (arg2 == NULL) {
21551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21552 }
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->base_OnDraw(*arg2);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
21567static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21570 wxDC *arg2 = 0 ;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self",(char *) "dc", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21580 if (arg2 == NULL) {
21581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21582 }
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 (arg1)->base_OnDrawContents(*arg2);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 Py_INCREF(Py_None); resultobj = Py_None;
21591 return resultobj;
21592 fail:
21593 return NULL;
21594}
21595
21596
21597static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21600 wxDC *arg2 = 0 ;
21601 bool arg3 = (bool) FALSE ;
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 PyObject * obj2 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "dc",(char *) "erase", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21612 if (arg2 == NULL) {
21613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21614 }
21615 if (obj2) {
21616 arg3 = PyInt_AsLong(obj2) ? true : false;
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->base_OnDrawBranches(*arg2,arg3);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630}
21631
21632
21633static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21636 wxDC *arg2 = 0 ;
21637 PyObject * obj0 = 0 ;
21638 PyObject * obj1 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "dc", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21646 if (arg2 == NULL) {
21647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21648 }
21649 {
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 (arg1)->base_OnMoveLinks(*arg2);
21652
21653 wxPyEndAllowThreads(__tstate);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 Py_INCREF(Py_None); resultobj = Py_None;
21657 return resultobj;
21658 fail:
21659 return NULL;
21660}
21661
21662
21663static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21666 wxDC *arg2 = 0 ;
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self",(char *) "dc", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21676 if (arg2 == NULL) {
21677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21678 }
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 (arg1)->base_OnErase(*arg2);
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 Py_INCREF(Py_None); resultobj = Py_None;
21687 return resultobj;
21688 fail:
21689 return NULL;
21690}
21691
21692
21693static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21694 PyObject *resultobj;
21695 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21696 wxDC *arg2 = 0 ;
21697 PyObject * obj0 = 0 ;
21698 PyObject * obj1 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self",(char *) "dc", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21706 if (arg2 == NULL) {
21707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21708 }
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 (arg1)->base_OnEraseContents(*arg2);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 Py_INCREF(Py_None); resultobj = Py_None;
21717 return resultobj;
21718 fail:
21719 return NULL;
21720}
21721
21722
21723static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21726 wxDC *arg2 = 0 ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self",(char *) "dc", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21736 if (arg2 == NULL) {
21737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21738 }
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->base_OnHighlight(*arg2);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 Py_INCREF(Py_None); resultobj = Py_None;
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
21753static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21756 double arg2 ;
21757 double arg3 ;
21758 int arg4 = (int) 0 ;
21759 int arg5 = (int) 0 ;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778}
21779
21780
21781static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21784 double arg2 ;
21785 double arg3 ;
21786 int arg4 = (int) 0 ;
21787 int arg5 = (int) 0 ;
21788 PyObject * obj0 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 Py_INCREF(Py_None); resultobj = Py_None;
21803 return resultobj;
21804 fail:
21805 return NULL;
21806}
21807
21808
21809static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21812 double arg2 ;
21813 double arg3 ;
21814 int arg4 = (int) 0 ;
21815 int arg5 = (int) 0 ;
21816 PyObject * obj0 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 Py_INCREF(Py_None); resultobj = Py_None;
21831 return resultobj;
21832 fail:
21833 return NULL;
21834}
21835
21836
21837static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21840 double arg2 ;
21841 double arg3 ;
21842 PyObject * obj0 = 0 ;
21843 char *kwnames[] = {
21844 (char *) "self",(char *) "x",(char *) "y", NULL
21845 };
21846
21847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
21848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 (arg1)->base_OnSize(arg2,arg3);
21852
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 Py_INCREF(Py_None); resultobj = Py_None;
21857 return resultobj;
21858 fail:
21859 return NULL;
21860}
21861
21862
21863static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21866 wxDC *arg2 = 0 ;
21867 double arg3 ;
21868 double arg4 ;
21869 double arg5 ;
21870 double arg6 ;
21871 bool arg7 = (bool) True ;
21872 bool result;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 PyObject * obj6 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21883 if (arg2 == NULL) {
21884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21885 }
21886 if (obj6) {
21887 arg7 = PyInt_AsLong(obj6) ? true : false;
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = PyInt_FromLong((long)result);
21898 return resultobj;
21899 fail:
21900 return NULL;
21901}
21902
21903
21904static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj;
21906 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21907 wxDC *arg2 = 0 ;
21908 double arg3 ;
21909 double arg4 ;
21910 double arg5 ;
21911 double arg6 ;
21912 bool arg7 = (bool) True ;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 PyObject * obj6 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21923 if (arg2 == NULL) {
21924 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21925 }
21926 if (obj6) {
21927 arg7 = PyInt_AsLong(obj6) ? true : false;
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 Py_INCREF(Py_None); resultobj = Py_None;
21938 return resultobj;
21939 fail:
21940 return NULL;
21941}
21942
21943
21944static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21947 bool arg2 ;
21948 double arg3 ;
21949 double arg4 ;
21950 int arg5 = (int) 0 ;
21951 int arg6 = (int) 0 ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
21959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21960 arg2 = PyInt_AsLong(obj1) ? true : false;
21961 if (PyErr_Occurred()) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 Py_INCREF(Py_None); resultobj = Py_None;
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
21976static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21979 double arg2 ;
21980 double arg3 ;
21981 int arg4 = (int) 0 ;
21982 int arg5 = (int) 0 ;
21983 PyObject * obj0 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 {
21991 PyThreadState* __tstate = wxPyBeginAllowThreads();
21992 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21993
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 Py_INCREF(Py_None); resultobj = Py_None;
21998 return resultobj;
21999 fail:
22000 return NULL;
22001}
22002
22003
22004static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22005 PyObject *resultobj;
22006 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22007 double arg2 ;
22008 double arg3 ;
22009 int arg4 = (int) 0 ;
22010 int arg5 = (int) 0 ;
22011 PyObject * obj0 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22018 {
22019 PyThreadState* __tstate = wxPyBeginAllowThreads();
22020 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22021
22022 wxPyEndAllowThreads(__tstate);
22023 if (PyErr_Occurred()) SWIG_fail;
22024 }
22025 Py_INCREF(Py_None); resultobj = Py_None;
22026 return resultobj;
22027 fail:
22028 return NULL;
22029}
22030
22031
22032static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22033 PyObject *resultobj;
22034 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22035 bool arg2 ;
22036 double arg3 ;
22037 double arg4 ;
22038 int arg5 = (int) 0 ;
22039 int arg6 = (int) 0 ;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22048 arg2 = PyInt_AsLong(obj1) ? true : false;
22049 if (PyErr_Occurred()) SWIG_fail;
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 Py_INCREF(Py_None); resultobj = Py_None;
22058 return resultobj;
22059 fail:
22060 return NULL;
22061}
22062
22063
22064static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22067 double arg2 ;
22068 double arg3 ;
22069 int arg4 = (int) 0 ;
22070 int arg5 = (int) 0 ;
22071 PyObject * obj0 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 Py_INCREF(Py_None); resultobj = Py_None;
22086 return resultobj;
22087 fail:
22088 return NULL;
22089}
22090
22091
22092static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22095 double arg2 ;
22096 double arg3 ;
22097 int arg4 = (int) 0 ;
22098 int arg5 = (int) 0 ;
22099 PyObject * obj0 = 0 ;
22100 char *kwnames[] = {
22101 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22109
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 Py_INCREF(Py_None); resultobj = Py_None;
22114 return resultobj;
22115 fail:
22116 return NULL;
22117}
22118
22119
22120static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22121 PyObject *resultobj;
22122 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22123 wxDC *arg2 = 0 ;
22124 double arg3 ;
22125 double arg4 ;
22126 double arg5 ;
22127 double arg6 ;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22137 if (arg2 == NULL) {
22138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22139 }
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 Py_INCREF(Py_None); resultobj = Py_None;
22148 return resultobj;
22149 fail:
22150 return NULL;
22151}
22152
22153
22154static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22157 wxDC *arg2 = 0 ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "dc", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22167 if (arg2 == NULL) {
22168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 (arg1)->base_OnDrawControlPoints(*arg2);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 Py_INCREF(Py_None); resultobj = Py_None;
22178 return resultobj;
22179 fail:
22180 return NULL;
22181}
22182
22183
22184static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22185 PyObject *resultobj;
22186 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22187 wxDC *arg2 = 0 ;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self",(char *) "dc", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22197 if (arg2 == NULL) {
22198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22199 }
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 (arg1)->base_OnEraseControlPoints(*arg2);
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 Py_INCREF(Py_None); resultobj = Py_None;
22208 return resultobj;
22209 fail:
22210 return NULL;
22211}
22212
22213
22214static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22217 wxDC *arg2 = 0 ;
22218 bool arg3 = (bool) True ;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 PyObject * obj2 = 0 ;
22222 char *kwnames[] = {
22223 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22224 };
22225
22226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22229 if (arg2 == NULL) {
22230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22231 }
22232 if (obj2) {
22233 arg3 = PyInt_AsLong(obj2) ? true : false;
22234 if (PyErr_Occurred()) SWIG_fail;
22235 }
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 (arg1)->base_OnMoveLink(*arg2,arg3);
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 Py_INCREF(Py_None); resultobj = Py_None;
22244 return resultobj;
22245 fail:
22246 return NULL;
22247}
22248
22249
22250static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22251 PyObject *resultobj;
22252 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22253 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22254 bool arg3 ;
22255 double arg4 ;
22256 double arg5 ;
22257 int arg6 = (int) 0 ;
22258 int arg7 = (int) 0 ;
22259 PyObject * obj0 = 0 ;
22260 PyObject * obj1 = 0 ;
22261 PyObject * obj2 = 0 ;
22262 char *kwnames[] = {
22263 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22264 };
22265
22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
22267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22269 arg3 = PyInt_AsLong(obj2) ? true : false;
22270 if (PyErr_Occurred()) SWIG_fail;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 Py_INCREF(Py_None); resultobj = Py_None;
22279 return resultobj;
22280 fail:
22281 return NULL;
22282}
22283
22284
22285static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22288 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22289 double arg3 ;
22290 double arg4 ;
22291 int arg5 = (int) 0 ;
22292 int arg6 = (int) 0 ;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 Py_INCREF(Py_None); resultobj = Py_None;
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
22316static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22319 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22320 double arg3 ;
22321 double arg4 ;
22322 int arg5 = (int) 0 ;
22323 int arg6 = (int) 0 ;
22324 PyObject * obj0 = 0 ;
22325 PyObject * obj1 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 Py_INCREF(Py_None); resultobj = Py_None;
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
22347static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22350 double arg2 ;
22351 double arg3 ;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self",(char *) "w",(char *) "h", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 (arg1)->base_OnBeginSize(arg2,arg3);
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 Py_INCREF(Py_None); resultobj = Py_None;
22367 return resultobj;
22368 fail:
22369 return NULL;
22370}
22371
22372
22373static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22376 double arg2 ;
22377 double arg3 ;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "w",(char *) "h", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->base_OnEndSize(arg2,arg3);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396}
22397
22398
22399static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
22400 PyObject *obj;
22401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22402 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
22403 Py_INCREF(obj);
22404 return Py_BuildValue((char *)"");
22405}
22406static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj;
22408 wxPyPolygonShape *result;
22409 char *kwnames[] = {
22410 NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 result = (wxPyPolygonShape *)new wxPyPolygonShape();
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
22422 return resultobj;
22423 fail:
22424 return NULL;
22425}
22426
22427
22428static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22431 PyObject *arg2 = (PyObject *) 0 ;
22432 PyObject *arg3 = (PyObject *) 0 ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 PyObject * obj2 = 0 ;
22436 char *kwnames[] = {
22437 (char *) "self",(char *) "self",(char *) "_class", NULL
22438 };
22439
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22442 arg2 = obj1;
22443 arg3 = obj2;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->_setCallbackInfo(arg2,arg3);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
22458static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22461 PyObject *arg2 = (PyObject *) 0 ;
22462 PyObject *result;
22463 PyObject * obj0 = 0 ;
22464 PyObject * obj1 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self",(char *) "points", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
22470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22471 arg2 = obj1;
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 resultobj = result;
22480 return resultobj;
22481 fail:
22482 return NULL;
22483}
22484
22485
22486static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22489 int arg2 = (int) 0 ;
22490 PyObject * obj0 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "pos", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->AddPolygonPoint(arg2);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
22511static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 (arg1)->CalculatePolygonCentre();
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 Py_INCREF(Py_None); resultobj = Py_None;
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
22535static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22538 int arg2 = (int) 0 ;
22539 PyObject * obj0 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "pos", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 (arg1)->DeletePolygonPoint(arg2);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 Py_INCREF(Py_None); resultobj = Py_None;
22554 return resultobj;
22555 fail:
22556 return NULL;
22557}
22558
22559
22560static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22563 PyObject *result;
22564 PyObject * obj0 = 0 ;
22565 char *kwnames[] = {
22566 (char *) "self", NULL
22567 };
22568
22569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
22570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 resultobj = result;
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
22585static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22588 PyObject * obj0 = 0 ;
22589 char *kwnames[] = {
22590 (char *) "self", NULL
22591 };
22592
22593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
22594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22595 {
22596 PyThreadState* __tstate = wxPyBeginAllowThreads();
22597 (arg1)->UpdateOriginalPoints();
22598
22599 wxPyEndAllowThreads(__tstate);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 }
22602 Py_INCREF(Py_None); resultobj = Py_None;
22603 return resultobj;
22604 fail:
22605 return NULL;
22606}
22607
22608
22609static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22612 wxDC *arg2 = 0 ;
22613 PyObject * obj0 = 0 ;
22614 PyObject * obj1 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self",(char *) "dc", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22622 if (arg2 == NULL) {
22623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22624 }
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 (arg1)->base_OnDraw(*arg2);
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 Py_INCREF(Py_None); resultobj = Py_None;
22633 return resultobj;
22634 fail:
22635 return NULL;
22636}
22637
22638
22639static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj;
22641 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22642 wxDC *arg2 = 0 ;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self",(char *) "dc", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22652 if (arg2 == NULL) {
22653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22654 }
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->base_OnDrawContents(*arg2);
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666}
22667
22668
22669static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22672 wxDC *arg2 = 0 ;
22673 bool arg3 = (bool) FALSE ;
22674 PyObject * obj0 = 0 ;
22675 PyObject * obj1 = 0 ;
22676 PyObject * obj2 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "self",(char *) "dc",(char *) "erase", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22684 if (arg2 == NULL) {
22685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22686 }
22687 if (obj2) {
22688 arg3 = PyInt_AsLong(obj2) ? true : false;
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 {
22692 PyThreadState* __tstate = wxPyBeginAllowThreads();
22693 (arg1)->base_OnDrawBranches(*arg2,arg3);
22694
22695 wxPyEndAllowThreads(__tstate);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 }
22698 Py_INCREF(Py_None); resultobj = Py_None;
22699 return resultobj;
22700 fail:
22701 return NULL;
22702}
22703
22704
22705static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22706 PyObject *resultobj;
22707 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22708 wxDC *arg2 = 0 ;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self",(char *) "dc", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22718 if (arg2 == NULL) {
22719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22720 }
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 (arg1)->base_OnMoveLinks(*arg2);
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 Py_INCREF(Py_None); resultobj = Py_None;
22729 return resultobj;
22730 fail:
22731 return NULL;
22732}
22733
22734
22735static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj;
22737 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22738 wxDC *arg2 = 0 ;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self",(char *) "dc", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22748 if (arg2 == NULL) {
22749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22750 }
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 (arg1)->base_OnErase(*arg2);
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 return resultobj;
22760 fail:
22761 return NULL;
22762}
22763
22764
22765static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22768 wxDC *arg2 = 0 ;
22769 PyObject * obj0 = 0 ;
22770 PyObject * obj1 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self",(char *) "dc", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22778 if (arg2 == NULL) {
22779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22780 }
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->base_OnEraseContents(*arg2);
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 Py_INCREF(Py_None); resultobj = Py_None;
22789 return resultobj;
22790 fail:
22791 return NULL;
22792}
22793
22794
22795static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj;
22797 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22798 wxDC *arg2 = 0 ;
22799 PyObject * obj0 = 0 ;
22800 PyObject * obj1 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "self",(char *) "dc", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22808 if (arg2 == NULL) {
22809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22810 }
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 (arg1)->base_OnHighlight(*arg2);
22814
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 Py_INCREF(Py_None); resultobj = Py_None;
22819 return resultobj;
22820 fail:
22821 return NULL;
22822}
22823
22824
22825static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22826 PyObject *resultobj;
22827 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22828 double arg2 ;
22829 double arg3 ;
22830 int arg4 = (int) 0 ;
22831 int arg5 = (int) 0 ;
22832 PyObject * obj0 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 Py_INCREF(Py_None); resultobj = Py_None;
22847 return resultobj;
22848 fail:
22849 return NULL;
22850}
22851
22852
22853static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22856 double arg2 ;
22857 double arg3 ;
22858 int arg4 = (int) 0 ;
22859 int arg5 = (int) 0 ;
22860 PyObject * obj0 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 Py_INCREF(Py_None); resultobj = Py_None;
22875 return resultobj;
22876 fail:
22877 return NULL;
22878}
22879
22880
22881static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj;
22883 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22884 double arg2 ;
22885 double arg3 ;
22886 int arg4 = (int) 0 ;
22887 int arg5 = (int) 0 ;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 Py_INCREF(Py_None); resultobj = Py_None;
22903 return resultobj;
22904 fail:
22905 return NULL;
22906}
22907
22908
22909static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22912 double arg2 ;
22913 double arg3 ;
22914 PyObject * obj0 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "x",(char *) "y", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->base_OnSize(arg2,arg3);
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 Py_INCREF(Py_None); resultobj = Py_None;
22929 return resultobj;
22930 fail:
22931 return NULL;
22932}
22933
22934
22935static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22938 wxDC *arg2 = 0 ;
22939 double arg3 ;
22940 double arg4 ;
22941 double arg5 ;
22942 double arg6 ;
22943 bool arg7 = (bool) True ;
22944 bool result;
22945 PyObject * obj0 = 0 ;
22946 PyObject * obj1 = 0 ;
22947 PyObject * obj6 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22955 if (arg2 == NULL) {
22956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22957 }
22958 if (obj6) {
22959 arg7 = PyInt_AsLong(obj6) ? true : false;
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 {
22963 PyThreadState* __tstate = wxPyBeginAllowThreads();
22964 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22965
22966 wxPyEndAllowThreads(__tstate);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 }
22969 resultobj = PyInt_FromLong((long)result);
22970 return resultobj;
22971 fail:
22972 return NULL;
22973}
22974
22975
22976static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj;
22978 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22979 wxDC *arg2 = 0 ;
22980 double arg3 ;
22981 double arg4 ;
22982 double arg5 ;
22983 double arg6 ;
22984 bool arg7 = (bool) True ;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 PyObject * obj6 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22995 if (arg2 == NULL) {
22996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22997 }
22998 if (obj6) {
22999 arg7 = PyInt_AsLong(obj6) ? true : false;
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 Py_INCREF(Py_None); resultobj = Py_None;
23010 return resultobj;
23011 fail:
23012 return NULL;
23013}
23014
23015
23016static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23019 bool arg2 ;
23020 double arg3 ;
23021 double arg4 ;
23022 int arg5 = (int) 0 ;
23023 int arg6 = (int) 0 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 arg2 = PyInt_AsLong(obj1) ? true : false;
23033 if (PyErr_Occurred()) SWIG_fail;
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 Py_INCREF(Py_None); resultobj = Py_None;
23042 return resultobj;
23043 fail:
23044 return NULL;
23045}
23046
23047
23048static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj;
23050 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23051 double arg2 ;
23052 double arg3 ;
23053 int arg4 = (int) 0 ;
23054 int arg5 = (int) 0 ;
23055 PyObject * obj0 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23062 {
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 Py_INCREF(Py_None); resultobj = Py_None;
23070 return resultobj;
23071 fail:
23072 return NULL;
23073}
23074
23075
23076static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23079 double arg2 ;
23080 double arg3 ;
23081 int arg4 = (int) 0 ;
23082 int arg5 = (int) 0 ;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101}
23102
23103
23104static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23107 bool arg2 ;
23108 double arg3 ;
23109 double arg4 ;
23110 int arg5 = (int) 0 ;
23111 int arg6 = (int) 0 ;
23112 PyObject * obj0 = 0 ;
23113 PyObject * obj1 = 0 ;
23114 char *kwnames[] = {
23115 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23116 };
23117
23118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23120 arg2 = PyInt_AsLong(obj1) ? true : false;
23121 if (PyErr_Occurred()) SWIG_fail;
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 Py_INCREF(Py_None); resultobj = Py_None;
23130 return resultobj;
23131 fail:
23132 return NULL;
23133}
23134
23135
23136static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23139 double arg2 ;
23140 double arg3 ;
23141 int arg4 = (int) 0 ;
23142 int arg5 = (int) 0 ;
23143 PyObject * obj0 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161}
23162
23163
23164static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23167 double arg2 ;
23168 double arg3 ;
23169 int arg4 = (int) 0 ;
23170 int arg5 = (int) 0 ;
23171 PyObject * obj0 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 Py_INCREF(Py_None); resultobj = Py_None;
23186 return resultobj;
23187 fail:
23188 return NULL;
23189}
23190
23191
23192static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj;
23194 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23195 wxDC *arg2 = 0 ;
23196 double arg3 ;
23197 double arg4 ;
23198 double arg5 ;
23199 double arg6 ;
23200 PyObject * obj0 = 0 ;
23201 PyObject * obj1 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23209 if (arg2 == NULL) {
23210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23211 }
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 Py_INCREF(Py_None); resultobj = Py_None;
23220 return resultobj;
23221 fail:
23222 return NULL;
23223}
23224
23225
23226static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23229 wxDC *arg2 = 0 ;
23230 PyObject * obj0 = 0 ;
23231 PyObject * obj1 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "dc", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23239 if (arg2 == NULL) {
23240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23241 }
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->base_OnDrawControlPoints(*arg2);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 Py_INCREF(Py_None); resultobj = Py_None;
23250 return resultobj;
23251 fail:
23252 return NULL;
23253}
23254
23255
23256static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23259 wxDC *arg2 = 0 ;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "dc", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23269 if (arg2 == NULL) {
23270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23271 }
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 (arg1)->base_OnEraseControlPoints(*arg2);
23275
23276 wxPyEndAllowThreads(__tstate);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 }
23279 Py_INCREF(Py_None); resultobj = Py_None;
23280 return resultobj;
23281 fail:
23282 return NULL;
23283}
23284
23285
23286static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23289 wxDC *arg2 = 0 ;
23290 bool arg3 = (bool) True ;
23291 PyObject * obj0 = 0 ;
23292 PyObject * obj1 = 0 ;
23293 PyObject * obj2 = 0 ;
23294 char *kwnames[] = {
23295 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23296 };
23297
23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23301 if (arg2 == NULL) {
23302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23303 }
23304 if (obj2) {
23305 arg3 = PyInt_AsLong(obj2) ? true : false;
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 (arg1)->base_OnMoveLink(*arg2,arg3);
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 Py_INCREF(Py_None); resultobj = Py_None;
23316 return resultobj;
23317 fail:
23318 return NULL;
23319}
23320
23321
23322static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23325 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23326 bool arg3 ;
23327 double arg4 ;
23328 double arg5 ;
23329 int arg6 = (int) 0 ;
23330 int arg7 = (int) 0 ;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333 PyObject * obj2 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23341 arg3 = PyInt_AsLong(obj2) ? true : false;
23342 if (PyErr_Occurred()) SWIG_fail;
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 Py_INCREF(Py_None); resultobj = Py_None;
23351 return resultobj;
23352 fail:
23353 return NULL;
23354}
23355
23356
23357static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23360 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23361 double arg3 ;
23362 double arg4 ;
23363 int arg5 = (int) 0 ;
23364 int arg6 = (int) 0 ;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 Py_INCREF(Py_None); resultobj = Py_None;
23382 return resultobj;
23383 fail:
23384 return NULL;
23385}
23386
23387
23388static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23389 PyObject *resultobj;
23390 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23391 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23392 double arg3 ;
23393 double arg4 ;
23394 int arg5 = (int) 0 ;
23395 int arg6 = (int) 0 ;
23396 PyObject * obj0 = 0 ;
23397 PyObject * obj1 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23408
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 Py_INCREF(Py_None); resultobj = Py_None;
23413 return resultobj;
23414 fail:
23415 return NULL;
23416}
23417
23418
23419static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23422 double arg2 ;
23423 double arg3 ;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self",(char *) "w",(char *) "h", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 (arg1)->base_OnBeginSize(arg2,arg3);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442}
23443
23444
23445static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23448 double arg2 ;
23449 double arg3 ;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self",(char *) "w",(char *) "h", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->base_OnEndSize(arg2,arg3);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
23471static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
23472 PyObject *obj;
23473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23474 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
23475 Py_INCREF(obj);
23476 return Py_BuildValue((char *)"");
23477}
23478static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 double arg1 = (double) 0.0 ;
23481 double arg2 = (double) 0.0 ;
23482 wxPyTextShape *result;
23483 char *kwnames[] = {
23484 (char *) "width",(char *) "height", NULL
23485 };
23486
23487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyTextShape",kwnames,&arg1,&arg2)) goto fail;
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
23496 return resultobj;
23497 fail:
23498 return NULL;
23499}
23500
23501
23502static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23505 PyObject *arg2 = (PyObject *) 0 ;
23506 PyObject *arg3 = (PyObject *) 0 ;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 PyObject * obj2 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self",(char *) "self",(char *) "_class", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23516 arg2 = obj1;
23517 arg3 = obj2;
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 (arg1)->_setCallbackInfo(arg2,arg3);
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 Py_INCREF(Py_None); resultobj = Py_None;
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
23532static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj;
23534 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23535 PyObject * obj0 = 0 ;
23536 char *kwnames[] = {
23537 (char *) "self", NULL
23538 };
23539
23540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
23541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 (arg1)->base_OnDelete();
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 Py_INCREF(Py_None); resultobj = Py_None;
23550 return resultobj;
23551 fail:
23552 return NULL;
23553}
23554
23555
23556static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj;
23558 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23559 wxDC *arg2 = 0 ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self",(char *) "dc", NULL
23564 };
23565
23566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23569 if (arg2 == NULL) {
23570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23571 }
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 (arg1)->base_OnDraw(*arg2);
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 Py_INCREF(Py_None); resultobj = Py_None;
23580 return resultobj;
23581 fail:
23582 return NULL;
23583}
23584
23585
23586static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23589 wxDC *arg2 = 0 ;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self",(char *) "dc", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23599 if (arg2 == NULL) {
23600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23601 }
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 (arg1)->base_OnDrawContents(*arg2);
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 Py_INCREF(Py_None); resultobj = Py_None;
23610 return resultobj;
23611 fail:
23612 return NULL;
23613}
23614
23615
23616static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23617 PyObject *resultobj;
23618 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23619 wxDC *arg2 = 0 ;
23620 bool arg3 = (bool) FALSE ;
23621 PyObject * obj0 = 0 ;
23622 PyObject * obj1 = 0 ;
23623 PyObject * obj2 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "dc",(char *) "erase", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23631 if (arg2 == NULL) {
23632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23633 }
23634 if (obj2) {
23635 arg3 = PyInt_AsLong(obj2) ? true : false;
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->base_OnDrawBranches(*arg2,arg3);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649}
23650
23651
23652static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23655 wxDC *arg2 = 0 ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self",(char *) "dc", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23665 if (arg2 == NULL) {
23666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23667 }
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 (arg1)->base_OnMoveLinks(*arg2);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 Py_INCREF(Py_None); resultobj = Py_None;
23676 return resultobj;
23677 fail:
23678 return NULL;
23679}
23680
23681
23682static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23685 wxDC *arg2 = 0 ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "dc", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23695 if (arg2 == NULL) {
23696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23697 }
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->base_OnErase(*arg2);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 Py_INCREF(Py_None); resultobj = Py_None;
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23715 wxDC *arg2 = 0 ;
23716 PyObject * obj0 = 0 ;
23717 PyObject * obj1 = 0 ;
23718 char *kwnames[] = {
23719 (char *) "self",(char *) "dc", NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23725 if (arg2 == NULL) {
23726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23727 }
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 (arg1)->base_OnEraseContents(*arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 Py_INCREF(Py_None); resultobj = Py_None;
23736 return resultobj;
23737 fail:
23738 return NULL;
23739}
23740
23741
23742static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj;
23744 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23745 wxDC *arg2 = 0 ;
23746 PyObject * obj0 = 0 ;
23747 PyObject * obj1 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self",(char *) "dc", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23755 if (arg2 == NULL) {
23756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23757 }
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 (arg1)->base_OnHighlight(*arg2);
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 Py_INCREF(Py_None); resultobj = Py_None;
23766 return resultobj;
23767 fail:
23768 return NULL;
23769}
23770
23771
23772static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23773 PyObject *resultobj;
23774 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23775 double arg2 ;
23776 double arg3 ;
23777 int arg4 = (int) 0 ;
23778 int arg5 = (int) 0 ;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 Py_INCREF(Py_None); resultobj = Py_None;
23794 return resultobj;
23795 fail:
23796 return NULL;
23797}
23798
23799
23800static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23803 double arg2 ;
23804 double arg3 ;
23805 int arg4 = (int) 0 ;
23806 int arg5 = (int) 0 ;
23807 PyObject * obj0 = 0 ;
23808 char *kwnames[] = {
23809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 Py_INCREF(Py_None); resultobj = Py_None;
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23831 double arg2 ;
23832 double arg3 ;
23833 int arg4 = (int) 0 ;
23834 int arg5 = (int) 0 ;
23835 PyObject * obj0 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 Py_INCREF(Py_None); resultobj = Py_None;
23850 return resultobj;
23851 fail:
23852 return NULL;
23853}
23854
23855
23856static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23857 PyObject *resultobj;
23858 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23859 double arg2 ;
23860 double arg3 ;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "x",(char *) "y", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 (arg1)->base_OnSize(arg2,arg3);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 Py_INCREF(Py_None); resultobj = Py_None;
23876 return resultobj;
23877 fail:
23878 return NULL;
23879}
23880
23881
23882static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23885 wxDC *arg2 = 0 ;
23886 double arg3 ;
23887 double arg4 ;
23888 double arg5 ;
23889 double arg6 ;
23890 bool arg7 = (bool) True ;
23891 bool result;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894 PyObject * obj6 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23902 if (arg2 == NULL) {
23903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23904 }
23905 if (obj6) {
23906 arg7 = PyInt_AsLong(obj6) ? true : false;
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 {
23910 PyThreadState* __tstate = wxPyBeginAllowThreads();
23911 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23912
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
23916 resultobj = PyInt_FromLong((long)result);
23917 return resultobj;
23918 fail:
23919 return NULL;
23920}
23921
23922
23923static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23924 PyObject *resultobj;
23925 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23926 wxDC *arg2 = 0 ;
23927 double arg3 ;
23928 double arg4 ;
23929 double arg5 ;
23930 double arg6 ;
23931 bool arg7 = (bool) True ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 PyObject * obj6 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23937 };
23938
23939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 if (arg2 == NULL) {
23943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23944 }
23945 if (obj6) {
23946 arg7 = PyInt_AsLong(obj6) ? true : false;
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 Py_INCREF(Py_None); resultobj = Py_None;
23957 return resultobj;
23958 fail:
23959 return NULL;
23960}
23961
23962
23963static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj;
23965 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23966 bool arg2 ;
23967 double arg3 ;
23968 double arg4 ;
23969 int arg5 = (int) 0 ;
23970 int arg6 = (int) 0 ;
23971 PyObject * obj0 = 0 ;
23972 PyObject * obj1 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23979 arg2 = PyInt_AsLong(obj1) ? true : false;
23980 if (PyErr_Occurred()) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 return resultobj;
23990 fail:
23991 return NULL;
23992}
23993
23994
23995static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23998 double arg2 ;
23999 double arg3 ;
24000 int arg4 = (int) 0 ;
24001 int arg5 = (int) 0 ;
24002 PyObject * obj0 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 Py_INCREF(Py_None); resultobj = Py_None;
24017 return resultobj;
24018 fail:
24019 return NULL;
24020}
24021
24022
24023static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24024 PyObject *resultobj;
24025 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24026 double arg2 ;
24027 double arg3 ;
24028 int arg4 = (int) 0 ;
24029 int arg5 = (int) 0 ;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 Py_INCREF(Py_None); resultobj = Py_None;
24045 return resultobj;
24046 fail:
24047 return NULL;
24048}
24049
24050
24051static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24054 bool arg2 ;
24055 double arg3 ;
24056 double arg4 ;
24057 int arg5 = (int) 0 ;
24058 int arg6 = (int) 0 ;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24067 arg2 = PyInt_AsLong(obj1) ? true : false;
24068 if (PyErr_Occurred()) SWIG_fail;
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 return resultobj;
24078 fail:
24079 return NULL;
24080}
24081
24082
24083static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24086 double arg2 ;
24087 double arg3 ;
24088 int arg4 = (int) 0 ;
24089 int arg5 = (int) 0 ;
24090 PyObject * obj0 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 Py_INCREF(Py_None); resultobj = Py_None;
24105 return resultobj;
24106 fail:
24107 return NULL;
24108}
24109
24110
24111static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj;
24113 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24114 double arg2 ;
24115 double arg3 ;
24116 int arg4 = (int) 0 ;
24117 int arg5 = (int) 0 ;
24118 PyObject * obj0 = 0 ;
24119 char *kwnames[] = {
24120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24121 };
24122
24123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24128
24129 wxPyEndAllowThreads(__tstate);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 Py_INCREF(Py_None); resultobj = Py_None;
24133 return resultobj;
24134 fail:
24135 return NULL;
24136}
24137
24138
24139static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24142 wxDC *arg2 = 0 ;
24143 double arg3 ;
24144 double arg4 ;
24145 double arg5 ;
24146 double arg6 ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24156 if (arg2 == NULL) {
24157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24158 }
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 Py_INCREF(Py_None); resultobj = Py_None;
24167 return resultobj;
24168 fail:
24169 return NULL;
24170}
24171
24172
24173static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj;
24175 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24176 wxDC *arg2 = 0 ;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "dc", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24186 if (arg2 == NULL) {
24187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24188 }
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->base_OnDrawControlPoints(*arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 Py_INCREF(Py_None); resultobj = Py_None;
24197 return resultobj;
24198 fail:
24199 return NULL;
24200}
24201
24202
24203static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24206 wxDC *arg2 = 0 ;
24207 PyObject * obj0 = 0 ;
24208 PyObject * obj1 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self",(char *) "dc", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24216 if (arg2 == NULL) {
24217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24218 }
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 (arg1)->base_OnEraseControlPoints(*arg2);
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 Py_INCREF(Py_None); resultobj = Py_None;
24227 return resultobj;
24228 fail:
24229 return NULL;
24230}
24231
24232
24233static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24236 wxDC *arg2 = 0 ;
24237 bool arg3 = (bool) True ;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 PyObject * obj2 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24248 if (arg2 == NULL) {
24249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24250 }
24251 if (obj2) {
24252 arg3 = PyInt_AsLong(obj2) ? true : false;
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 (arg1)->base_OnMoveLink(*arg2,arg3);
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 Py_INCREF(Py_None); resultobj = Py_None;
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
24269static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24270 PyObject *resultobj;
24271 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24272 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24273 bool arg3 ;
24274 double arg4 ;
24275 double arg5 ;
24276 int arg6 = (int) 0 ;
24277 int arg7 = (int) 0 ;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 PyObject * obj2 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24288 arg3 = PyInt_AsLong(obj2) ? true : false;
24289 if (PyErr_Occurred()) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 return resultobj;
24299 fail:
24300 return NULL;
24301}
24302
24303
24304static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24307 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24308 double arg3 ;
24309 double arg4 ;
24310 int arg5 = (int) 0 ;
24311 int arg6 = (int) 0 ;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 Py_INCREF(Py_None); resultobj = Py_None;
24329 return resultobj;
24330 fail:
24331 return NULL;
24332}
24333
24334
24335static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj;
24337 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24338 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24339 double arg3 ;
24340 double arg4 ;
24341 int arg5 = (int) 0 ;
24342 int arg6 = (int) 0 ;
24343 PyObject * obj0 = 0 ;
24344 PyObject * obj1 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 Py_INCREF(Py_None); resultobj = Py_None;
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24369 double arg2 ;
24370 double arg3 ;
24371 PyObject * obj0 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "w",(char *) "h", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 (arg1)->base_OnBeginSize(arg2,arg3);
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 Py_INCREF(Py_None); resultobj = Py_None;
24386 return resultobj;
24387 fail:
24388 return NULL;
24389}
24390
24391
24392static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj;
24394 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24395 double arg2 ;
24396 double arg3 ;
24397 PyObject * obj0 = 0 ;
24398 char *kwnames[] = {
24399 (char *) "self",(char *) "w",(char *) "h", NULL
24400 };
24401
24402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 (arg1)->base_OnEndSize(arg2,arg3);
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 Py_INCREF(Py_None); resultobj = Py_None;
24412 return resultobj;
24413 fail:
24414 return NULL;
24415}
24416
24417
24418static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
24419 PyObject *obj;
24420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24421 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
24422 Py_INCREF(obj);
24423 return Py_BuildValue((char *)"");
24424}
24425static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxDiagram *result;
24428 char *kwnames[] = {
24429 NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = (wxDiagram *)new wxDiagram();
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 {
24441 resultobj = wxPyMake_wxObject(result);
24442 }
24443 return resultobj;
24444 fail:
24445 return NULL;
24446}
24447
24448
24449static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxDiagram *arg1 = (wxDiagram *) 0 ;
24452 wxPyShape *arg2 = (wxPyShape *) 0 ;
24453 wxPyShape *arg3 = (wxPyShape *) NULL ;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 PyObject * obj2 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24464 if (obj2) {
24465 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24466 }
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 (arg1)->AddShape(arg2,arg3);
24470
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 Py_INCREF(Py_None); resultobj = Py_None;
24475 return resultobj;
24476 fail:
24477 return NULL;
24478}
24479
24480
24481static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj;
24483 wxDiagram *arg1 = (wxDiagram *) 0 ;
24484 wxDC *arg2 = 0 ;
24485 PyObject * obj0 = 0 ;
24486 PyObject * obj1 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self",(char *) "dc", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
24492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24494 if (arg2 == NULL) {
24495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24496 }
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 (arg1)->Clear(*arg2);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 Py_INCREF(Py_None); resultobj = Py_None;
24505 return resultobj;
24506 fail:
24507 return NULL;
24508}
24509
24510
24511static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj;
24513 wxDiagram *arg1 = (wxDiagram *) 0 ;
24514 PyObject * obj0 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
24520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 (arg1)->DeleteAllShapes();
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532}
24533
24534
24535static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj;
24537 wxDiagram *arg1 = (wxDiagram *) 0 ;
24538 wxDC *arg2 = 0 ;
24539 double arg3 ;
24540 double arg4 ;
24541 double arg5 ;
24542 double arg6 ;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:Diagram_DrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24552 if (arg2 == NULL) {
24553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24554 }
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566}
24567
24568
24569static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxDiagram *arg1 = (wxDiagram *) 0 ;
24572 long arg2 ;
24573 wxPyShape *result;
24574 PyObject * obj0 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "id", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Diagram_FindShape",kwnames,&obj0,&arg2)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (wxPyShape *)(arg1)->FindShape(arg2);
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 {
24589 resultobj = wxPyMake_wxShapeEvtHandler(result);
24590 }
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
24597static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxDiagram *arg1 = (wxDiagram *) 0 ;
24600 wxPyShapeCanvas *result;
24601 PyObject * obj0 = 0 ;
24602 char *kwnames[] = {
24603 (char *) "self", NULL
24604 };
24605
24606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
24607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 {
24616 resultobj = wxPyMake_wxObject(result);
24617 }
24618 return resultobj;
24619 fail:
24620 return NULL;
24621}
24622
24623
24624static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 wxDiagram *arg1 = (wxDiagram *) 0 ;
24627 int result;
24628 PyObject * obj0 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
24634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = (int)(arg1)->GetCount();
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 resultobj = PyInt_FromLong((long)result);
24643 return resultobj;
24644 fail:
24645 return NULL;
24646}
24647
24648
24649static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxDiagram *arg1 = (wxDiagram *) 0 ;
24652 double result;
24653 PyObject * obj0 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
24659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 result = (double)(arg1)->GetGridSpacing();
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 resultobj = PyFloat_FromDouble(result);
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
24674static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxDiagram *arg1 = (wxDiagram *) 0 ;
24677 int result;
24678 PyObject * obj0 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = (int)(arg1)->GetMouseTolerance();
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = PyInt_FromLong((long)result);
24693 return resultobj;
24694 fail:
24695 return NULL;
24696}
24697
24698
24699static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj;
24701 wxDiagram *arg1 = (wxDiagram *) 0 ;
24702 PyObject *result;
24703 PyObject * obj0 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 result = (PyObject *)wxDiagram_GetShapeList(arg1);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = result;
24718 return resultobj;
24719 fail:
24720 return NULL;
24721}
24722
24723
24724static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxDiagram *arg1 = (wxDiagram *) 0 ;
24727 bool result;
24728 PyObject * obj0 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 result = (bool)(arg1)->GetQuickEditMode();
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 resultobj = PyInt_FromLong((long)result);
24743 return resultobj;
24744 fail:
24745 return NULL;
24746}
24747
24748
24749static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxDiagram *arg1 = (wxDiagram *) 0 ;
24752 bool result;
24753 PyObject * obj0 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
24759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 result = (bool)(arg1)->GetSnapToGrid();
24763
24764 wxPyEndAllowThreads(__tstate);
24765 if (PyErr_Occurred()) SWIG_fail;
24766 }
24767 resultobj = PyInt_FromLong((long)result);
24768 return resultobj;
24769 fail:
24770 return NULL;
24771}
24772
24773
24774static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24775 PyObject *resultobj;
24776 wxDiagram *arg1 = (wxDiagram *) 0 ;
24777 wxPyShape *arg2 = (wxPyShape *) 0 ;
24778 PyObject * obj0 = 0 ;
24779 PyObject * obj1 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self",(char *) "shape", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
24785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 (arg1)->InsertShape(arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 Py_INCREF(Py_None); resultobj = Py_None;
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
24801static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxDiagram *arg1 = (wxDiagram *) 0 ;
24804 wxDC *arg2 = 0 ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "dc", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
24812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24814 if (arg2 == NULL) {
24815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 (arg1)->RecentreAll(*arg2);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 Py_INCREF(Py_None); resultobj = Py_None;
24825 return resultobj;
24826 fail:
24827 return NULL;
24828}
24829
24830
24831static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj;
24833 wxDiagram *arg1 = (wxDiagram *) 0 ;
24834 wxDC *arg2 = 0 ;
24835 PyObject * obj0 = 0 ;
24836 PyObject * obj1 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "self",(char *) "dc", NULL
24839 };
24840
24841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
24842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24844 if (arg2 == NULL) {
24845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24846 }
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->Redraw(*arg2);
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858}
24859
24860
24861static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24862 PyObject *resultobj;
24863 wxDiagram *arg1 = (wxDiagram *) 0 ;
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
24870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24871 {
24872 PyThreadState* __tstate = wxPyBeginAllowThreads();
24873 (arg1)->RemoveAllShapes();
24874
24875 wxPyEndAllowThreads(__tstate);
24876 if (PyErr_Occurred()) SWIG_fail;
24877 }
24878 Py_INCREF(Py_None); resultobj = Py_None;
24879 return resultobj;
24880 fail:
24881 return NULL;
24882}
24883
24884
24885static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24886 PyObject *resultobj;
24887 wxDiagram *arg1 = (wxDiagram *) 0 ;
24888 wxPyShape *arg2 = (wxPyShape *) 0 ;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self",(char *) "shape", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
24896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 (arg1)->RemoveShape(arg2);
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 Py_INCREF(Py_None); resultobj = Py_None;
24906 return resultobj;
24907 fail:
24908 return NULL;
24909}
24910
24911
24912static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxDiagram *arg1 = (wxDiagram *) 0 ;
24915 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
24916 PyObject * obj0 = 0 ;
24917 PyObject * obj1 = 0 ;
24918 char *kwnames[] = {
24919 (char *) "self",(char *) "canvas", NULL
24920 };
24921
24922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 (arg1)->SetCanvas(arg2);
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 Py_INCREF(Py_None); resultobj = Py_None;
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
24939static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24940 PyObject *resultobj;
24941 wxDiagram *arg1 = (wxDiagram *) 0 ;
24942 double arg2 ;
24943 PyObject * obj0 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "spacing", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Diagram_SetGridSpacing",kwnames,&obj0,&arg2)) goto fail;
24949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24950 {
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 (arg1)->SetGridSpacing(arg2);
24953
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 Py_INCREF(Py_None); resultobj = Py_None;
24958 return resultobj;
24959 fail:
24960 return NULL;
24961}
24962
24963
24964static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj;
24966 wxDiagram *arg1 = (wxDiagram *) 0 ;
24967 int arg2 ;
24968 PyObject * obj0 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "tolerance", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Diagram_SetMouseTolerance",kwnames,&obj0,&arg2)) goto fail;
24974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 (arg1)->SetMouseTolerance(arg2);
24978
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 Py_INCREF(Py_None); resultobj = Py_None;
24983 return resultobj;
24984 fail:
24985 return NULL;
24986}
24987
24988
24989static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxDiagram *arg1 = (wxDiagram *) 0 ;
24992 bool arg2 ;
24993 PyObject * obj0 = 0 ;
24994 PyObject * obj1 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self",(char *) "mode", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
25000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25001 arg2 = PyInt_AsLong(obj1) ? true : false;
25002 if (PyErr_Occurred()) SWIG_fail;
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 (arg1)->SetQuickEditMode(arg2);
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 Py_INCREF(Py_None); resultobj = Py_None;
25011 return resultobj;
25012 fail:
25013 return NULL;
25014}
25015
25016
25017static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25018 PyObject *resultobj;
25019 wxDiagram *arg1 = (wxDiagram *) 0 ;
25020 bool arg2 ;
25021 PyObject * obj0 = 0 ;
25022 PyObject * obj1 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self",(char *) "snap", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
25028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25029 arg2 = PyInt_AsLong(obj1) ? true : false;
25030 if (PyErr_Occurred()) SWIG_fail;
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 (arg1)->SetSnapToGrid(arg2);
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 Py_INCREF(Py_None); resultobj = Py_None;
25039 return resultobj;
25040 fail:
25041 return NULL;
25042}
25043
25044
25045static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj;
25047 wxDiagram *arg1 = (wxDiagram *) 0 ;
25048 bool arg2 ;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "show", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25057 arg2 = PyInt_AsLong(obj1) ? true : false;
25058 if (PyErr_Occurred()) SWIG_fail;
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 (arg1)->ShowAll(arg2);
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 Py_INCREF(Py_None); resultobj = Py_None;
25067 return resultobj;
25068 fail:
25069 return NULL;
25070}
25071
25072
25073static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj;
25075 wxDiagram *arg1 = (wxDiagram *) 0 ;
25076 double *arg2 = (double *) 0 ;
25077 double *arg3 = (double *) 0 ;
25078 double temp2 ;
25079 double temp3 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj2 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25089 {
25090 temp2 = PyFloat_AsDouble(obj1);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 arg2 = &temp2;
25093 }
25094 {
25095 temp3 = PyFloat_AsDouble(obj2);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 arg3 = &temp3;
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->Snap(arg2,arg3);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 {
25108 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25109 resultobj = t_output_helper(resultobj,o);
25110 }
25111 {
25112 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25113 resultobj = t_output_helper(resultobj,o);
25114 }
25115 return resultobj;
25116 fail:
25117 return NULL;
25118}
25119
25120
25121static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
25122 PyObject *obj;
25123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25124 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
25125 Py_INCREF(obj);
25126 return Py_BuildValue((char *)"");
25127}
25128static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxWindow *arg1 = (wxWindow *) NULL ;
25131 int arg2 = (int) -1 ;
25132 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25133 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25134 wxSize const &arg4_defvalue = wxDefaultSize ;
25135 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25136 long arg5 = (long) wxBORDER ;
25137 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
25138 wxString *arg6 = (wxString *) &arg6_defvalue ;
25139 wxPyShapeCanvas *result;
25140 wxPoint temp3 ;
25141 wxSize temp4 ;
25142 bool temp6 = False ;
25143 PyObject * obj0 = 0 ;
25144 PyObject * obj2 = 0 ;
25145 PyObject * obj3 = 0 ;
25146 PyObject * obj5 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
25152 if (obj0) {
25153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25154 }
25155 if (obj2) {
25156 {
25157 arg3 = &temp3;
25158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25159 }
25160 }
25161 if (obj3) {
25162 {
25163 arg4 = &temp4;
25164 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25165 }
25166 }
25167 if (obj5) {
25168 {
25169 arg6 = wxString_in_helper(obj5);
25170 if (arg6 == NULL) SWIG_fail;
25171 temp6 = True;
25172 }
25173 }
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 {
25182 resultobj = wxPyMake_wxObject(result);
25183 }
25184 {
25185 if (temp6)
25186 delete arg6;
25187 }
25188 return resultobj;
25189 fail:
25190 {
25191 if (temp6)
25192 delete arg6;
25193 }
25194 return NULL;
25195}
25196
25197
25198static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25201 PyObject *arg2 = (PyObject *) 0 ;
25202 PyObject *arg3 = (PyObject *) 0 ;
25203 PyObject * obj0 = 0 ;
25204 PyObject * obj1 = 0 ;
25205 PyObject * obj2 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "self",(char *) "_class", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25212 arg2 = obj1;
25213 arg3 = obj2;
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 (arg1)->_setCallbackInfo(arg2,arg3);
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 Py_INCREF(Py_None); resultobj = Py_None;
25222 return resultobj;
25223 fail:
25224 return NULL;
25225}
25226
25227
25228static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25231 wxPyShape *arg2 = (wxPyShape *) 0 ;
25232 wxPyShape *arg3 = (wxPyShape *) NULL ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25243 if (obj2) {
25244 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25245 }
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 (arg1)->AddShape(arg2,arg3);
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 Py_INCREF(Py_None); resultobj = Py_None;
25254 return resultobj;
25255 fail:
25256 return NULL;
25257}
25258
25259
25260static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25263 double arg2 ;
25264 double arg3 ;
25265 int *arg4 = (int *) 0 ;
25266 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
25267 wxPyShape *arg6 = (wxPyShape *) NULL ;
25268 wxPyShape *result;
25269 int temp4 ;
25270 PyObject * obj0 = 0 ;
25271 PyObject * obj3 = 0 ;
25272 PyObject * obj4 = 0 ;
25273 char *kwnames[] = {
25274 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25275 };
25276
25277 arg4 = &temp4;
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
25279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25280 if (obj3) {
25281 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25282 }
25283 if (obj4) {
25284 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25285 }
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 {
25294 resultobj = wxPyMake_wxShapeEvtHandler(result);
25295 }
25296 {
25297 PyObject *o = PyInt_FromLong((long) (*arg4));
25298 resultobj = t_output_helper(resultobj,o);
25299 }
25300 return resultobj;
25301 fail:
25302 return NULL;
25303}
25304
25305
25306static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25309 double arg2 ;
25310 double arg3 ;
25311 int *arg4 = (int *) 0 ;
25312 int arg5 ;
25313 wxPyShape *result;
25314 int temp4 ;
25315 PyObject * obj0 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25318 };
25319
25320 arg4 = &temp4;
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&arg2,&arg3,&arg5)) goto fail;
25322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
25326
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 {
25331 resultobj = wxPyMake_wxShapeEvtHandler(result);
25332 }
25333 {
25334 PyObject *o = PyInt_FromLong((long) (*arg4));
25335 resultobj = t_output_helper(resultobj,o);
25336 }
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
25343static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25346 wxDiagram *result;
25347 PyObject * obj0 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
25353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (wxDiagram *)(arg1)->GetDiagram();
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 {
25362 resultobj = wxPyMake_wxObject(result);
25363 }
25364 return resultobj;
25365 fail:
25366 return NULL;
25367}
25368
25369
25370static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25371 PyObject *resultobj;
25372 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25373 bool result;
25374 PyObject * obj0 = 0 ;
25375 char *kwnames[] = {
25376 (char *) "self", NULL
25377 };
25378
25379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
25380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25381 {
25382 PyThreadState* __tstate = wxPyBeginAllowThreads();
25383 result = (bool)(arg1)->GetQuickEditMode();
25384
25385 wxPyEndAllowThreads(__tstate);
25386 if (PyErr_Occurred()) SWIG_fail;
25387 }
25388 resultobj = PyInt_FromLong((long)result);
25389 return resultobj;
25390 fail:
25391 return NULL;
25392}
25393
25394
25395static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25398 wxPyShape *arg2 = (wxPyShape *) 0 ;
25399 PyObject * obj0 = 0 ;
25400 PyObject * obj1 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self",(char *) "shape", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 (arg1)->InsertShape(arg2);
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 Py_INCREF(Py_None); resultobj = Py_None;
25416 return resultobj;
25417 fail:
25418 return NULL;
25419}
25420
25421
25422static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj;
25424 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25425 double arg2 ;
25426 double arg3 ;
25427 int arg4 = (int) 0 ;
25428 PyObject * obj0 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
25438
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 Py_INCREF(Py_None); resultobj = Py_None;
25443 return resultobj;
25444 fail:
25445 return NULL;
25446}
25447
25448
25449static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25450 PyObject *resultobj;
25451 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25452 double arg2 ;
25453 double arg3 ;
25454 int arg4 = (int) 0 ;
25455 PyObject * obj0 = 0 ;
25456 char *kwnames[] = {
25457 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25458 };
25459
25460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 Py_INCREF(Py_None); resultobj = Py_None;
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
25476static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25479 double arg2 ;
25480 double arg3 ;
25481 int arg4 = (int) 0 ;
25482 PyObject * obj0 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 Py_INCREF(Py_None); resultobj = Py_None;
25497 return resultobj;
25498 fail:
25499 return NULL;
25500}
25501
25502
25503static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25504 PyObject *resultobj;
25505 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25506 double arg2 ;
25507 double arg3 ;
25508 int arg4 = (int) 0 ;
25509 PyObject * obj0 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 Py_INCREF(Py_None); resultobj = Py_None;
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
25530static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25533 bool arg2 ;
25534 double arg3 ;
25535 double arg4 ;
25536 int arg5 = (int) 0 ;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25545 arg2 = PyInt_AsLong(obj1) ? true : false;
25546 if (PyErr_Occurred()) SWIG_fail;
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
25561static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25564 bool arg2 ;
25565 double arg3 ;
25566 double arg4 ;
25567 int arg5 = (int) 0 ;
25568 PyObject * obj0 = 0 ;
25569 PyObject * obj1 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25576 arg2 = PyInt_AsLong(obj1) ? true : false;
25577 if (PyErr_Occurred()) SWIG_fail;
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 Py_INCREF(Py_None); resultobj = Py_None;
25586 return resultobj;
25587 fail:
25588 return NULL;
25589}
25590
25591
25592static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25595 double arg2 ;
25596 double arg3 ;
25597 int arg4 = (int) 0 ;
25598 PyObject * obj0 = 0 ;
25599 char *kwnames[] = {
25600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25601 };
25602
25603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 Py_INCREF(Py_None); resultobj = Py_None;
25613 return resultobj;
25614 fail:
25615 return NULL;
25616}
25617
25618
25619static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25620 PyObject *resultobj;
25621 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25622 double arg2 ;
25623 double arg3 ;
25624 int arg4 = (int) 0 ;
25625 PyObject * obj0 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 (arg1)->base_OnRightClick(arg2,arg3,arg4);
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 Py_INCREF(Py_None); resultobj = Py_None;
25640 return resultobj;
25641 fail:
25642 return NULL;
25643}
25644
25645
25646static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
25647 PyObject *resultobj;
25648 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25649 wxDC *arg2 = 0 ;
25650 PyObject * obj0 = 0 ;
25651 PyObject * obj1 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self",(char *) "dc", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
25657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25659 if (arg2 == NULL) {
25660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25661 }
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->Redraw(*arg2);
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673}
25674
25675
25676static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25677 PyObject *resultobj;
25678 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25679 wxPyShape *arg2 = (wxPyShape *) 0 ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 char *kwnames[] = {
25683 (char *) "self",(char *) "shape", NULL
25684 };
25685
25686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
25687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 (arg1)->RemoveShape(arg2);
25692
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 Py_INCREF(Py_None); resultobj = Py_None;
25697 return resultobj;
25698 fail:
25699 return NULL;
25700}
25701
25702
25703static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25704 PyObject *resultobj;
25705 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25706 wxDiagram *arg2 = (wxDiagram *) 0 ;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "diagram", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
25714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 (arg1)->SetDiagram(arg2);
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 Py_INCREF(Py_None); resultobj = Py_None;
25724 return resultobj;
25725 fail:
25726 return NULL;
25727}
25728
25729
25730static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj;
25732 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25733 double *arg2 = (double *) 0 ;
25734 double *arg3 = (double *) 0 ;
25735 double temp2 ;
25736 double temp3 ;
25737 PyObject * obj0 = 0 ;
25738 PyObject * obj1 = 0 ;
25739 PyObject * obj2 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25746 {
25747 temp2 = PyFloat_AsDouble(obj1);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 arg2 = &temp2;
25750 }
25751 {
25752 temp3 = PyFloat_AsDouble(obj2);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 arg3 = &temp3;
25755 }
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 (arg1)->Snap(arg2,arg3);
25759
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 Py_INCREF(Py_None); resultobj = Py_None;
25764 {
25765 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25766 resultobj = t_output_helper(resultobj,o);
25767 }
25768 {
25769 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25770 resultobj = t_output_helper(resultobj,o);
25771 }
25772 return resultobj;
25773 fail:
25774 return NULL;
25775}
25776
25777
25778static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
25779 PyObject *obj;
25780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25781 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
25782 Py_INCREF(obj);
25783 return Py_BuildValue((char *)"");
25784}
25785static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
25786 PyObject *resultobj;
25787 char *kwnames[] = {
25788 NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 wxOGLInitialize();
25795
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 Py_INCREF(Py_None); resultobj = Py_None;
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
25806static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
25807 PyObject *resultobj;
25808 char *kwnames[] = {
25809 NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 wxOGLCleanUp();
25816
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 Py_INCREF(Py_None); resultobj = Py_None;
25821 return resultobj;
25822 fail:
25823 return NULL;
25824}
25825
25826
25827static PyMethodDef SwigMethods[] = {
25828 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
25858 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
25896 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
26062 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
26104 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
26137 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
26170 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
26206 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
26266 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
26271 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
26317 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
26351 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
26408 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
26439 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
26470 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
26489 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
26560 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
26597 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
26629 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
26655 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
26676 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
26678 { NULL, NULL }
26679};
26680
26681
26682/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26683
26684static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26685 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26686}
26687static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26688 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26689}
26690static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26691 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26692}
26693static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26694 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26695}
26696static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26697 return (void *)((wxPanel *) ((wxPyPanel *) x));
26698}
26699static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26700 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26701}
26702static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26703 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26704}
26705static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26706 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26707}
26708static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
26709 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26710}
26711static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26712 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26713}
26714static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
26715 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26716}
26717static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26718 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26719}
26720static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26721 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26722}
26723static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26724 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26725}
26726static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26727 return (void *)((wxWindow *) ((wxMenuBar *) x));
26728}
26729static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26730 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26731}
26732static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26733 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26734}
26735static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26737}
26738static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26740}
26741static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26743}
26744static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26745 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26746}
26747static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26748 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26749}
26750static void *_p_wxPanelTo_p_wxWindow(void *x) {
26751 return (void *)((wxWindow *) ((wxPanel *) x));
26752}
26753static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26754 return (void *)((wxWindow *) ((wxStatusBar *) x));
26755}
26756static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26757 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26758}
26759static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26760 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26761}
26762static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
26764}
26765static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26766 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26767}
26768static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26769 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26770}
26771static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26772 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26773}
26774static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26775 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26776}
26777static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26778 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26779}
26780static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26781 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26782}
26783static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26784 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26785}
26786static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26787 return (void *)((wxWindow *) ((wxSashWindow *) x));
26788}
26789static void *_p_wxControlTo_p_wxWindow(void *x) {
26790 return (void *)((wxWindow *) ((wxControl *) x));
26791}
26792static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26794}
26795static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26797}
26798static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26799 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26800}
26801static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26802 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26803}
26804static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26805 return (void *)((wxWindow *) ((wxPyWindow *) x));
26806}
26807static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26808 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26809}
26810static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
26811 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26812}
26813static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26814 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26815}
26816static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26817 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26818}
26819static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26820 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26821}
26822static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26823 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26824}
26825static void *_p_wxFrameTo_p_wxWindow(void *x) {
26826 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26827}
26828static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26830}
26831static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26833}
26834static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26835 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26836}
26837static void *_p_wxDialogTo_p_wxWindow(void *x) {
26838 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26839}
26840static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26842}
26843static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26845}
26846static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26848}
26849static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26850 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26851}
26852static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26853 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26854}
26855static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
26856 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
26857}
26858static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26860}
26861static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26863}
26864static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26865 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26866}
26867static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26868 return (void *)((wxObject *) ((wxSizerItem *) x));
26869}
26870static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26872}
26873static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26874 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26875}
26876static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
26877 return (void *)((wxObject *) ((wxOGLConstraint *) x));
26878}
26879static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26880 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26881}
26882static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26883 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26884}
26885static void *_p_wxSizerTo_p_wxObject(void *x) {
26886 return (void *)((wxObject *) ((wxSizer *) x));
26887}
26888static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
26889 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
26890}
26891static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
26892 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
26893}
26894static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
26895 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
26896}
26897static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26898 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26899}
26900static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26902}
26903static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
26904 return (void *)((wxObject *) ((wxArrowHead *) x));
26905}
26906static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26908}
26909static void *_p_wxEventTo_p_wxObject(void *x) {
26910 return (void *)((wxObject *) ((wxEvent *) x));
26911}
26912static void *_p_wxFontDataTo_p_wxObject(void *x) {
26913 return (void *)((wxObject *) ((wxFontData *) x));
26914}
26915static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26916 return (void *)((wxObject *) ((wxPrintData *) x));
26917}
26918static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26919 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26920}
26921static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26922 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26923}
26924static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26925 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26926}
26927static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26928 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26929}
26930static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26931 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26932}
26933static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26935}
26936static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26937 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26938}
26939static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26940 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26941}
26942static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26943 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26944}
26945static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26946 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26947}
26948static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26949 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26950}
26951static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26952 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26953}
26954static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26956}
26957static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
26958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26959}
26960static void *_p_wxControlTo_p_wxObject(void *x) {
26961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26962}
26963static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
26964 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
26965}
26966static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26967 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26968}
26969static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26970 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26971}
26972static void *_p_wxFSFileTo_p_wxObject(void *x) {
26973 return (void *)((wxObject *) ((wxFSFile *) x));
26974}
26975static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26976 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26977}
26978static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
26979 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
26980}
26981static void *_p_wxPySizerTo_p_wxObject(void *x) {
26982 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26983}
26984static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26986}
26987static void *_p_wxColourDataTo_p_wxObject(void *x) {
26988 return (void *)((wxObject *) ((wxColourData *) x));
26989}
26990static void *_p_wxPyEventTo_p_wxObject(void *x) {
26991 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26992}
26993static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26995}
26996static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26998}
26999static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
27000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27001}
27002static void *_p_wxFileDialogTo_p_wxObject(void *x) {
27003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27004}
27005static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
27006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27007}
27008static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
27009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27010}
27011static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
27012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27013}
27014static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
27015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27016}
27017static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
27018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27019}
27020static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
27021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27022}
27023static void *_p_wxShowEventTo_p_wxObject(void *x) {
27024 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27025}
27026static void *_p_wxPrinterTo_p_wxObject(void *x) {
27027 return (void *)((wxObject *) ((wxPrinter *) x));
27028}
27029static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27030 return (void *)((wxObject *) ((wxMenuItem *) x));
27031}
27032static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27033 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27034}
27035static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27037}
27038static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27039 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27040}
27041static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27042 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27043}
27044static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27045 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27046}
27047static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27048 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27049}
27050static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27051 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27052}
27053static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27054 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27055}
27056static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27057 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27058}
27059static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27060 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27061}
27062static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27063 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27064}
27065static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27066 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27067}
27068static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27069 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27070}
27071static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27072 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27073}
27074static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27075 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27076}
27077static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27078 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27079}
27080static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27081 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27082}
27083static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27084 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27085}
27086static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27087 return (void *)((wxObject *) ((wxImageHandler *) x));
27088}
27089static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27090 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27091}
27092static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27093 return (void *)((wxObject *) ((wxEvtHandler *) x));
27094}
27095static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
27096 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
27097}
27098static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
27099 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
27100}
27101static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
27102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27103}
27104static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
27105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27106}
27107static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
27108 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27109}
27110static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27111 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27112}
27113static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
27114 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27115}
27116static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
27117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27118}
27119static void *_p_wxImageTo_p_wxObject(void *x) {
27120 return (void *)((wxObject *) ((wxImage *) x));
27121}
27122static void *_p_wxFrameTo_p_wxObject(void *x) {
27123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27124}
27125static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
27126 return (void *)((wxObject *) ((wxPyPrintout *) x));
27127}
27128static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27129 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27130}
27131static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
27132 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
27133}
27134static void *_p_wxDiagramTo_p_wxObject(void *x) {
27135 return (void *)((wxObject *) ((wxDiagram *) x));
27136}
27137static void *_p_wxStatusBarTo_p_wxObject(void *x) {
27138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
27139}
27140static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
27141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27142}
27143static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27144 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27145}
27146static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27147 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27148}
27149static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27150 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27151}
44127b65
RD
27152static void *_p_wxWindowTo_p_wxObject(void *x) {
27153 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27154}
27155static void *_p_wxMenuTo_p_wxObject(void *x) {
27156 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27157}
27158static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27160}
41f1cec7
RD
27161static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
27162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27163}
44127b65
RD
27164static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
27165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
27166}
27167static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
27168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
27169}
27170static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
27171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
27172}
27173static void *_p_wxSashWindowTo_p_wxObject(void *x) {
27174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
27175}
27176static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
27177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27178}
27179static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
27180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
27181}
27182static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
27183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27184}
27185static void *_p_wxTipWindowTo_p_wxObject(void *x) {
27186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
27187}
27188static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
27189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27190}
27191static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27193}
27194static void *_p_wxSashEventTo_p_wxObject(void *x) {
27195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27196}
27197static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27198 return (void *)((wxObject *) ((wxPrintPreview *) x));
27199}
27200static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27201 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27202}
27203static void *_p_wxPanelTo_p_wxObject(void *x) {
27204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27205}
27206static void *_p_wxDialogTo_p_wxObject(void *x) {
27207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27208}
27209static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27211}
27212static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27214}
27215static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27217}
27218static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27220}
27221static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27223}
27224static void *_p_wxPyShapeTo_p_wxObject(void *x) {
27225 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
27226}
27227static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27228 return (void *)((wxObject *) ((wxFileSystem *) x));
27229}
27230static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27231 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27232}
27233static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27234 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27235}
27236static void *_p_wxPyAppTo_p_wxObject(void *x) {
27237 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27238}
27239static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27240 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27241}
27242static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27243 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27244}
27245static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27246 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27247}
27248static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27249 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27250}
27251static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27252 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27253}
27254static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27256}
27257static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27259}
27260static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27261 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27262}
27263static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27264 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27265}
27266static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27268}
27269static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
27270 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
27271}
27272static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
27273 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27274}
27275static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
27276 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27277}
27278static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
27279 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
27280}
27281static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
27282 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
27283}
27284static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27286}
27287static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27288 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27289}
27290static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27291 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27292}
27293static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27294 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27295}
27296static void *_p_wxValidatorTo_p_wxObject(void *x) {
27297 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27298}
27299static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
27300 return (void *)((wxObject *) ((wxShapeRegion *) x));
27301}
27302static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27303 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
27304}
27305static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
27306 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27307}
27308static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
27309 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27310}
27311static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27312 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27313}
27314static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
27315 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
27316}
27317static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
27318 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27319}
27320static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
27321 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27322}
27323static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
27324 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27325}
27326static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
27327 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27328}
27329static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
27330 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
27331}
27332static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
27333 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27334}
27335static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
27336 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
27337}
27338static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
27339 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
27340}
27341static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
27342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27343}
27344static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
27345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27346}
27347static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
27348 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27349}
27350static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27351 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27352}
27353static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27354 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27355}
27356static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27357 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27358}
27359static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27360 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27361}
27362static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
27363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27364}
27365static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
27366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27367}
27368static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
27369 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27370}
27371static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
27372 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27373}
27374static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
27375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27376}
27377static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
27378 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27379}
27380static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
27381 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27382}
27383static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
27384 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
27385}
27386static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
27387 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
27388}
27389static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
27390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27391}
27392static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
27393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
27394}
27395static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
27396 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27397}
27398static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
27399 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
27400}
27401static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
27402 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27403}
27404static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
27405 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
27406}
27407static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
27408 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
27409}
27410static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
27411 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
27412}
27413static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27414 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27415}
27416static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
27417 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27418}
27419static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
27420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
27421}
27422static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
27423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
27424}
27425static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27426 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27427}
27428static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
27429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27430}
27431static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
27432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27433}
27434static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
27435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27436}
27437static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27438 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27439}
27440static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27442}
27443static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
27444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
27445}
27446static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
27447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27448}
27449static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
27450 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27451}
27452static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
27453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27454}
27455static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
27456 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27457}
27458static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
27459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27460}
27461static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
27462 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27463}
27464static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
27465 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
27466}
27467static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
27468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27469}
27470static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
27471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27472}
27473static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
27474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27475}
27476static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
27477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27478}
27479static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
27480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27481}
27482static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
27483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27484}
27485static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
27486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27487}
27488static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
27489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27490}
27491static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
27492 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
27493}
27494static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
27495 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
27496}
27497static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
27498 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27499}
27500static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
27501 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27502}
27503static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
27504 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
27505}
27506static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
27507 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
27508}
27509static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
27510 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
27511}
27512static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
27513 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
27514}
27515static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
27516 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27517}
27518static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
27519 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27520}
27521static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
27522 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
27523}
27524static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
27525 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
27526}
27527static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
27528 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
27529}
27530static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
27531 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27532}
27533static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
27534 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27535}
27536static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
27537 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
27538}
27539static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
27540 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
27541}
27542static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
27543 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27544}
27545static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
27546 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27547}
27548static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
27549 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
27550}
27551static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
27552 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27553}
27554static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27555static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27556static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27557static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27558static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27559static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27560static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27561static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27562static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27563static 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}};
27564static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27565static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27566static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27567static 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}};
27568static 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}};
27569static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27570static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27571static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27572static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27573static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27574static 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}};
27575static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27576static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27577static 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}};
27578static 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}};
27579static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
27580static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27581static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27582static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27583static 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}};
27584static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27585static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27586static 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}};
27587static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
27588static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27589static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27590static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27591static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27592static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27593static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27594
27595static swig_type_info *swig_types_initial[] = {
27596_swigt__p_wxOGLConstraint,
27597_swigt__p_wxBrush,
27598_swigt__p_wxColour,
27599_swigt__p_wxShapeRegion,
27600_swigt__p_wxDC,
27601_swigt__p_wxRealPoint,
27602_swigt__p_wxPyControlPoint,
27603_swigt__p_wxArrowHead,
27604_swigt__p_wxStringList,
27605_swigt__p_wxPanel,
27606_swigt__p_bool,
27607_swigt__p_wxList,
27608_swigt__p_wxFont,
27609_swigt__p_wxScrolledWindow,
27610_swigt__p_wxWindow,
27611_swigt__p_double,
27612_swigt__p_wxPyDivisionShape,
27613_swigt__p_wxPyDrawnShape,
27614_swigt__p_wxPyPolygonShape,
27615_swigt__p_wxBitmap,
27616_swigt__p_wxObject,
27617_swigt__p_wxPyBitmapShape,
27618_swigt__p_wxString,
27619_swigt__p_wxPyShapeEvtHandler,
27620_swigt__p_wxEvtHandler,
27621_swigt__p_wxPyEllipseShape,
27622_swigt__p_wxPyShapeCanvas,
27623_swigt__p_wxPoint,
27624_swigt__p_wxDiagram,
27625_swigt__p_wxPyShape,
27626_swigt__p_wxClassInfo,
27627_swigt__p_wxPyLineShape,
27628_swigt__p_wxPyRectangleShape,
27629_swigt__p_wxPyCompositeShape,
27630_swigt__p_wxPyCircleShape,
27631_swigt__p_wxPen,
27632_swigt__p_int,
27633_swigt__p_wxPseudoMetaFile,
27634_swigt__p_wxPyTextShape,
27635_swigt__p_wxPyDividedShape,
276360
27637};
27638
27639
27640/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27641
27642static swig_const_info swig_const_table[] = {
27643{ SWIG_PY_INT, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE, 0, 0, 0},
27644{ SWIG_PY_INT, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS, 0, 0, 0},
27645{ SWIG_PY_INT, (char *)"KEY_SHIFT", (long) KEY_SHIFT, 0, 0, 0},
27646{ SWIG_PY_INT, (char *)"KEY_CTRL", (long) KEY_CTRL, 0, 0, 0},
27647{ SWIG_PY_INT, (char *)"ARROW_NONE", (long) ARROW_NONE, 0, 0, 0},
27648{ SWIG_PY_INT, (char *)"ARROW_END", (long) ARROW_END, 0, 0, 0},
27649{ SWIG_PY_INT, (char *)"ARROW_BOTH", (long) ARROW_BOTH, 0, 0, 0},
27650{ SWIG_PY_INT, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE, 0, 0, 0},
27651{ SWIG_PY_INT, (char *)"ARROW_START", (long) ARROW_START, 0, 0, 0},
27652{ SWIG_PY_INT, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE, 0, 0, 0},
27653{ SWIG_PY_INT, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE, 0, 0, 0},
27654{ SWIG_PY_INT, (char *)"ARROW_ARROW", (long) ARROW_ARROW, 0, 0, 0},
27655{ SWIG_PY_INT, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE, 0, 0, 0},
27656{ SWIG_PY_INT, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE, 0, 0, 0},
27657{ SWIG_PY_INT, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE, 0, 0, 0},
27658{ SWIG_PY_INT, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END, 0, 0, 0},
27659{ SWIG_PY_INT, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START, 0, 0, 0},
27660{ SWIG_PY_INT, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL, 0, 0, 0},
27661{ SWIG_PY_INT, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL, 0, 0, 0},
27662{ SWIG_PY_INT, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL, 0, 0, 0},
27663{ SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO, 0, 0, 0},
27664{ SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM, 0, 0, 0},
27665{ SWIG_PY_INT, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE, 0, 0, 0},
27666{ SWIG_PY_INT, (char *)"FORMAT_NONE", (long) FORMAT_NONE, 0, 0, 0},
27667{ SWIG_PY_INT, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ, 0, 0, 0},
27668{ SWIG_PY_INT, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT, 0, 0, 0},
27669{ SWIG_PY_INT, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS, 0, 0, 0},
27670{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ, 0, 0, 0},
27671{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT, 0, 0, 0},
27672{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE, 0, 0, 0},
27673{ SWIG_PY_INT, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE, 0, 0, 0},
27674{ SWIG_PY_INT, (char *)"SHADOW_NONE", (long) SHADOW_NONE, 0, 0, 0},
27675{ SWIG_PY_INT, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT, 0, 0, 0},
27676{ SWIG_PY_INT, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT, 0, 0, 0},
27677{ SWIG_PY_INT, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT, 0, 0, 0},
27678{ SWIG_PY_INT, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT, 0, 0, 0},
27679{ SWIG_PY_INT, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT, 0, 0, 0},
27680{ SWIG_PY_INT, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT, 0, 0, 0},
27681{ SWIG_PY_INT, (char *)"OP_ALL", (long) OP_ALL, 0, 0, 0},
27682{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE, 0, 0, 0},
27683{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE, 0, 0, 0},
27684{ SWIG_PY_INT, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING, 0, 0, 0},
27685{ SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL, 0, 0, 0},
27686{ SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB, 0, 0, 0},
27687{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY, 0, 0, 0},
27688{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY, 0, 0, 0},
27689{ SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH, 0, 0, 0},
27690{ SWIG_PY_INT, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF, 0, 0, 0},
27691{ SWIG_PY_INT, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF, 0, 0, 0},
27692{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE, 0, 0, 0},
27693{ SWIG_PY_INT, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW, 0, 0, 0},
27694{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP, 0, 0, 0},
27695{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM, 0, 0, 0},
27696{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT, 0, 0, 0},
27697{ SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT, 0, 0, 0},
27698{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP, 0, 0, 0},
27699{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM, 0, 0, 0},
27700{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT, 0, 0, 0},
27701{ SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT, 0, 0, 0},
27702{ SWIG_PY_INT, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE, 0, 0, 0},
27703{ SWIG_PY_INT, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT, 0, 0, 0},
27704{ SWIG_PY_INT, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP, 0, 0, 0},
27705{ SWIG_PY_INT, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT, 0, 0, 0},
27706{ SWIG_PY_INT, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM, 0, 0, 0},
27707{0}};
27708
27709#ifdef __cplusplus
27710}
27711#endif
27712
27713#ifdef __cplusplus
27714extern "C"
27715#endif
27716SWIGEXPORT(void) SWIG_init(void) {
27717 static PyObject *SWIG_globals = 0;
27718 static int typeinit = 0;
27719 PyObject *m, *d;
27720 int i;
27721 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27722 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27723 d = PyModule_GetDict(m);
27724
27725 if (!typeinit) {
27726 for (i = 0; swig_types_initial[i]; i++) {
27727 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27728 }
27729 typeinit = 1;
27730 }
27731 SWIG_InstallConstants(d,swig_const_table);
27732
27733
27734
27735 // initoglbasicc();
27736 // initoglshapesc();
27737 // initoglshapes2c();
27738 // initoglcanvasc();
27739
27740
27741 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27742 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27743 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27744 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27745 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27746 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27747 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27748 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27749 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27750 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27751 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27752 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27753 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27754 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
27755
27756
27757}
27758