]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/mac/ogl_wrap.cpp
Fixed the docstring, default module is now wx, not wxPython.wx
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
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
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "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 */
159 typedef 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
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)
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
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
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
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_wxAttachmentPoint swig_types[30]
243 #define SWIGTYPE_p_wxClassInfo swig_types[31]
244 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
245 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
246 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
247 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
248 #define SWIGTYPE_p_wxPen swig_types[36]
249 #define SWIGTYPE_p_int swig_types[37]
250 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
251 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
252 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
253 static swig_type_info *swig_types[42];
254
255 /* -------- TYPES TABLE (END) -------- */
256
257
258 /*-----------------------------------------------
259 @(target):= _ogl.so
260 ------------------------------------------------*/
261 #define SWIG_init init_ogl
262
263 #define SWIG_name "_ogl"
264
265 #include "wx/wxPython/wxPython.h"
266 #include "wx/wxPython/pyclasses.h"
267 #include "oglhelpers.h"
268
269
270 static const wxString wxPyEmptyString(wxEmptyString);
271
272 static 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
301 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
302 self->SetClientObject(new wxPyOORClientData(_self));
303 }
304
305 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
306
307 PyObject *wxPyShape_GetChildren(wxPyShape *self){
308 wxList& list = self->GetChildren();
309 return wxPy_ConvertShapeList(&list);
310 }
311 PyObject *wxPyShape_GetLines(wxPyShape *self){
312 wxList& list = self->GetLines();
313 return wxPy_ConvertShapeList(&list);
314 }
315 PyObject *wxPyShape_GetRegions(wxPyShape *self){
316 wxList& list = self->GetRegions();
317 return wxPy_ConvertList(&list);
318 }
319 PyObject *wxPyShape_GetAttachments(wxPyShape *self){
320 wxList& list = self->GetAttachments();
321 return wxPy_ConvertList(&list);
322 }
323 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
324 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
325 self->ApplyAttachmentOrdering(*list);
326 delete list;
327 }
328
329 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
330 // 6, so instead I'l just expand it out by hand...
331 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
332
333 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
334 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
335 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
336 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
337 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
338 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
339 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
340 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
341 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
342 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
343 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
344 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
345 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
346 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
347 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
348 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
349 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
350 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
351 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
352 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
353 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
354 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
355 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
356 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
357 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
358 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
359 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
360 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
361 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
362
363
364
365 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
366
367
368 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
369
370
371 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
372
373 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
374 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
375 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
376 delete list;
377 return rv;
378 }
379
380 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
381
382 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
383 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
384 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
385 delete list;
386 return rv;
387 }
388 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
389 wxList& list = self->GetConstraints();
390 return wxPy_ConvertList(&list);
391 }
392 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
393 wxList& list = self->GetDivisions();
394 return wxPy_ConvertShapeList(&list);
395 }
396
397 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
398
399
400 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
401
402
403 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
404
405
406 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
407
408
409 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
410
411 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
412 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
413 self->AddArrowOrdered(arrow, *list, end);
414 delete list;
415 }
416 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
417 wxList* list = self->GetLineControlPoints();
418 return wxPy_ConvertShapeList(list);
419 }
420
421 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
422
423 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
424 wxList* list = wxPy_wxRealPoint_ListHelper(points);
425 if (list) {
426 self->Create(list);
427 Py_INCREF(Py_None);
428 return Py_None;
429 }
430 else return NULL;
431 }
432 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
433 wxList* list = self->GetPoints();
434 PyObject* pyList;
435 PyObject* pyObj;
436 wxObject* wxObj;
437 wxNode* node = list->GetFirst();
438
439 wxPyBeginBlockThreads();
440 pyList = PyList_New(0);
441 while (node) {
442 wxObj = node->GetData();
443 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
444 PyList_Append(pyList, pyObj);
445 node = node->GetNext();
446 }
447 wxPyEndBlockThreads();
448 return pyList;
449 }
450 PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
451 wxList* list = self->GetOriginalPoints();
452 PyObject* pyList;
453 PyObject* pyObj;
454 wxObject* wxObj;
455 wxNode* node = list->GetFirst();
456
457 wxPyBeginBlockThreads();
458 pyList = PyList_New(0);
459 while (node) {
460 wxObj = node->GetData();
461 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
462 PyList_Append(pyList, pyObj);
463 node = node->GetNext();
464 }
465 wxPyEndBlockThreads();
466 return pyList;
467 }
468
469 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
470
471
472 // Put some wx default wxChar* values into wxStrings.
473 DECLARE_DEF_STRING(ShapeCanvasNameStr);
474
475 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
476 wxList* list = self->GetShapeList();
477 return wxPy_ConvertShapeList(list);
478 }
479
480 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
481 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
482 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
483 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
484 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
485 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
486 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
487 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
488
489
490 //---------------------------------------------------------------------------
491
492 // Convert from a Python list to a list of className objects. This one will
493 // work for any class for the VERY generic cases, but beyond that the helper
494 // needs to know more about the type.
495 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
496 wxPyBeginBlockThreads();
497 if (!PyList_Check(pyList)) {
498 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
499 wxPyEndBlockThreads();
500 return NULL;
501 }
502 int count = PyList_Size(pyList);
503 wxList* list = new wxList;
504 if (! list) {
505 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
506 wxPyEndBlockThreads();
507 return NULL;
508 }
509 for (int x=0; x<count; x++) {
510 PyObject* pyo = PyList_GetItem(pyList, x);
511 wxObject* wxo = NULL;
512
513 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
514 wxString errmsg;
515 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
516 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
517 wxPyEndBlockThreads();
518 return NULL;
519 }
520 list->Append(wxo);
521 }
522 wxPyEndBlockThreads();
523 return list;
524 }
525
526 //---------------------------------------------------------------------------
527
528 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
529 wxPyBeginBlockThreads();
530 if (!PyList_Check(pyList)) {
531 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
532 wxPyEndBlockThreads();
533 return NULL;
534 }
535 int count = PyList_Size(pyList);
536 wxList* list = new wxList;
537 if (! list) {
538 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
539 wxPyEndBlockThreads();
540 return NULL;
541 }
542 for (int x=0; x<count; x++) {
543 PyObject* pyo = PyList_GetItem(pyList, x);
544
545 if (PyTuple_Check(pyo)) {
546 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
547 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
548
549 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
550 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
551
552 list->Append((wxObject*) new wxRealPoint(val1, val2));
553
554 } else {
555 wxRealPoint* wxo = NULL;
556 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
557 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
558 wxPyEndBlockThreads();
559 return NULL;
560 }
561 list->Append((wxObject*) new wxRealPoint(*wxo));
562 }
563 }
564 wxPyEndBlockThreads();
565 return list;
566 }
567
568 //---------------------------------------------------------------------------
569
570 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
571 PyObject* target = NULL;
572
573 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
574 // If it's derived from wxShapeEvtHandler then there may
575 // already be a pointer to a Python object that we can use
576 // in the OOR data.
577 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
578 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
579 if (data) {
580 target = data->m_obj;
581 Py_INCREF(target);
582 }
583 }
584 if (! target) {
585 target = wxPyMake_wxObject2(source, FALSE);
586 if (target != Py_None)
587 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
588 }
589 return target;
590 }
591
592 //---------------------------------------------------------------------------
593
594 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
595 wxList* list = (wxList*)listbase;
596 PyObject* pyList;
597 PyObject* pyObj;
598 wxObject* wxObj;
599 wxNode* node = list->GetFirst();
600
601 wxPyBeginBlockThreads();
602 pyList = PyList_New(0);
603 while (node) {
604 wxObj = node->GetData();
605 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
606 PyList_Append(pyList, pyObj);
607 node = node->GetNext();
608 }
609 wxPyEndBlockThreads();
610 return pyList;
611 }
612
613
614 //---------------------------------------------------------------------------
615
616 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
617 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
618 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
619 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
620 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
621 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
622 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
623 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
624 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
625 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
626 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
627 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
628 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
629 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
630 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
631
632 //---------------------------------------------------------------------------
633
634 // extern "C" SWIGEXPORT(void) initoglbasicc();
635 // extern "C" SWIGEXPORT(void) initoglshapesc();
636 // extern "C" SWIGEXPORT(void) initoglshapes2c();
637 // extern "C" SWIGEXPORT(void) initoglcanvasc();
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
643 PyObject *resultobj;
644 wxShapeRegion *result;
645 char *kwnames[] = {
646 NULL
647 };
648
649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
650 {
651 PyThreadState* __tstate = wxPyBeginAllowThreads();
652 result = (wxShapeRegion *)new wxShapeRegion();
653
654 wxPyEndAllowThreads(__tstate);
655 if (PyErr_Occurred()) SWIG_fail;
656 }
657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
658 return resultobj;
659 fail:
660 return NULL;
661 }
662
663
664 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
665 PyObject *resultobj;
666 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
667 wxString *arg2 = 0 ;
668 bool temp2 = False ;
669 PyObject * obj0 = 0 ;
670 PyObject * obj1 = 0 ;
671 char *kwnames[] = {
672 (char *) "self",(char *) "s", NULL
673 };
674
675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
677 {
678 arg2 = wxString_in_helper(obj1);
679 if (arg2 == NULL) SWIG_fail;
680 temp2 = True;
681 }
682 {
683 PyThreadState* __tstate = wxPyBeginAllowThreads();
684 (arg1)->SetText((wxString const &)*arg2);
685
686 wxPyEndAllowThreads(__tstate);
687 if (PyErr_Occurred()) SWIG_fail;
688 }
689 Py_INCREF(Py_None); resultobj = Py_None;
690 {
691 if (temp2)
692 delete arg2;
693 }
694 return resultobj;
695 fail:
696 {
697 if (temp2)
698 delete arg2;
699 }
700 return NULL;
701 }
702
703
704 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
705 PyObject *resultobj;
706 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
707 wxFont *arg2 = (wxFont *) 0 ;
708 PyObject * obj0 = 0 ;
709 PyObject * obj1 = 0 ;
710 char *kwnames[] = {
711 (char *) "self",(char *) "f", NULL
712 };
713
714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
716 {
717 wxFont* temp;
718 if (obj1) {
719 if (obj1 == Py_None) {
720 temp = NULL;
721 }
722 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
723 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
724 return NULL;
725 }
726 }
727 if (temp)
728 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
729 temp->GetFamily(),
730 temp->GetStyle(),
731 temp->GetWeight(),
732 temp->GetUnderlined(),
733 temp->GetFaceName(),
734 temp->GetEncoding());
735 else
736 arg2 = NULL;
737 }
738 {
739 PyThreadState* __tstate = wxPyBeginAllowThreads();
740 (arg1)->SetFont(arg2);
741
742 wxPyEndAllowThreads(__tstate);
743 if (PyErr_Occurred()) SWIG_fail;
744 }
745 Py_INCREF(Py_None); resultobj = Py_None;
746 return resultobj;
747 fail:
748 return NULL;
749 }
750
751
752 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
753 PyObject *resultobj;
754 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
755 double arg2 ;
756 double arg3 ;
757 PyObject * obj0 = 0 ;
758 char *kwnames[] = {
759 (char *) "self",(char *) "w",(char *) "h", NULL
760 };
761
762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetMinSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
764 {
765 PyThreadState* __tstate = wxPyBeginAllowThreads();
766 (arg1)->SetMinSize(arg2,arg3);
767
768 wxPyEndAllowThreads(__tstate);
769 if (PyErr_Occurred()) SWIG_fail;
770 }
771 Py_INCREF(Py_None); resultobj = Py_None;
772 return resultobj;
773 fail:
774 return NULL;
775 }
776
777
778 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject *resultobj;
780 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
781 double arg2 ;
782 double arg3 ;
783 PyObject * obj0 = 0 ;
784 char *kwnames[] = {
785 (char *) "self",(char *) "w",(char *) "h", NULL
786 };
787
788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
790 {
791 PyThreadState* __tstate = wxPyBeginAllowThreads();
792 (arg1)->SetSize(arg2,arg3);
793
794 wxPyEndAllowThreads(__tstate);
795 if (PyErr_Occurred()) SWIG_fail;
796 }
797 Py_INCREF(Py_None); resultobj = Py_None;
798 return resultobj;
799 fail:
800 return NULL;
801 }
802
803
804 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
805 PyObject *resultobj;
806 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
807 double arg2 ;
808 double arg3 ;
809 PyObject * obj0 = 0 ;
810 char *kwnames[] = {
811 (char *) "self",(char *) "x",(char *) "y", NULL
812 };
813
814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
816 {
817 PyThreadState* __tstate = wxPyBeginAllowThreads();
818 (arg1)->SetPosition(arg2,arg3);
819
820 wxPyEndAllowThreads(__tstate);
821 if (PyErr_Occurred()) SWIG_fail;
822 }
823 Py_INCREF(Py_None); resultobj = Py_None;
824 return resultobj;
825 fail:
826 return NULL;
827 }
828
829
830 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject *resultobj;
832 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
833 double arg2 ;
834 double arg3 ;
835 PyObject * obj0 = 0 ;
836 char *kwnames[] = {
837 (char *) "self",(char *) "x",(char *) "y", NULL
838 };
839
840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetProportions",kwnames,&obj0,&arg2,&arg3)) goto fail;
841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
842 {
843 PyThreadState* __tstate = wxPyBeginAllowThreads();
844 (arg1)->SetProportions(arg2,arg3);
845
846 wxPyEndAllowThreads(__tstate);
847 if (PyErr_Occurred()) SWIG_fail;
848 }
849 Py_INCREF(Py_None); resultobj = Py_None;
850 return resultobj;
851 fail:
852 return NULL;
853 }
854
855
856 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject *resultobj;
858 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
859 int arg2 ;
860 PyObject * obj0 = 0 ;
861 char *kwnames[] = {
862 (char *) "self",(char *) "mode", NULL
863 };
864
865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames,&obj0,&arg2)) goto fail;
866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
867 {
868 PyThreadState* __tstate = wxPyBeginAllowThreads();
869 (arg1)->SetFormatMode(arg2);
870
871 wxPyEndAllowThreads(__tstate);
872 if (PyErr_Occurred()) SWIG_fail;
873 }
874 Py_INCREF(Py_None); resultobj = Py_None;
875 return resultobj;
876 fail:
877 return NULL;
878 }
879
880
881 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
882 PyObject *resultobj;
883 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
884 wxString *arg2 = 0 ;
885 bool temp2 = False ;
886 PyObject * obj0 = 0 ;
887 PyObject * obj1 = 0 ;
888 char *kwnames[] = {
889 (char *) "self",(char *) "s", NULL
890 };
891
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
894 {
895 arg2 = wxString_in_helper(obj1);
896 if (arg2 == NULL) SWIG_fail;
897 temp2 = True;
898 }
899 {
900 PyThreadState* __tstate = wxPyBeginAllowThreads();
901 (arg1)->SetName((wxString const &)*arg2);
902
903 wxPyEndAllowThreads(__tstate);
904 if (PyErr_Occurred()) SWIG_fail;
905 }
906 Py_INCREF(Py_None); resultobj = Py_None;
907 {
908 if (temp2)
909 delete arg2;
910 }
911 return resultobj;
912 fail:
913 {
914 if (temp2)
915 delete arg2;
916 }
917 return NULL;
918 }
919
920
921 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
922 PyObject *resultobj;
923 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
924 wxString *arg2 = 0 ;
925 bool temp2 = False ;
926 PyObject * obj0 = 0 ;
927 PyObject * obj1 = 0 ;
928 char *kwnames[] = {
929 (char *) "self",(char *) "col", NULL
930 };
931
932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
934 {
935 arg2 = wxString_in_helper(obj1);
936 if (arg2 == NULL) SWIG_fail;
937 temp2 = True;
938 }
939 {
940 PyThreadState* __tstate = wxPyBeginAllowThreads();
941 (arg1)->SetColour((wxString const &)*arg2);
942
943 wxPyEndAllowThreads(__tstate);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 Py_INCREF(Py_None); resultobj = Py_None;
947 {
948 if (temp2)
949 delete arg2;
950 }
951 return resultobj;
952 fail:
953 {
954 if (temp2)
955 delete arg2;
956 }
957 return NULL;
958 }
959
960
961 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
962 PyObject *resultobj;
963 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
964 wxString result;
965 PyObject * obj0 = 0 ;
966 char *kwnames[] = {
967 (char *) "self", NULL
968 };
969
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
972 {
973 PyThreadState* __tstate = wxPyBeginAllowThreads();
974 result = (arg1)->GetText();
975
976 wxPyEndAllowThreads(__tstate);
977 if (PyErr_Occurred()) SWIG_fail;
978 }
979 {
980 #if wxUSE_UNICODE
981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
982 #else
983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
984 #endif
985 }
986 return resultobj;
987 fail:
988 return NULL;
989 }
990
991
992 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
993 PyObject *resultobj;
994 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
995 wxFont *result;
996 PyObject * obj0 = 0 ;
997 char *kwnames[] = {
998 (char *) "self", NULL
999 };
1000
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1003 {
1004 PyThreadState* __tstate = wxPyBeginAllowThreads();
1005 result = (wxFont *)(arg1)->GetFont();
1006
1007 wxPyEndAllowThreads(__tstate);
1008 if (PyErr_Occurred()) SWIG_fail;
1009 }
1010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
1011 return resultobj;
1012 fail:
1013 return NULL;
1014 }
1015
1016
1017 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject *resultobj;
1019 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1020 double *arg2 = (double *) 0 ;
1021 double *arg3 = (double *) 0 ;
1022 double temp2 ;
1023 double temp3 ;
1024 PyObject * obj0 = 0 ;
1025 char *kwnames[] = {
1026 (char *) "self", NULL
1027 };
1028
1029 arg2 = &temp2;
1030 arg3 = &temp3;
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 (arg1)->GetMinSize(arg2,arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 Py_INCREF(Py_None); resultobj = Py_None;
1041 {
1042 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1043 resultobj = t_output_helper(resultobj,o);
1044 }
1045 {
1046 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1047 resultobj = t_output_helper(resultobj,o);
1048 }
1049 return resultobj;
1050 fail:
1051 return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject *resultobj;
1057 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1058 double *arg2 = (double *) 0 ;
1059 double *arg3 = (double *) 0 ;
1060 double temp2 ;
1061 double temp3 ;
1062 PyObject * obj0 = 0 ;
1063 char *kwnames[] = {
1064 (char *) "self", NULL
1065 };
1066
1067 arg2 = &temp2;
1068 arg3 = &temp3;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1071 {
1072 PyThreadState* __tstate = wxPyBeginAllowThreads();
1073 (arg1)->GetProportion(arg2,arg3);
1074
1075 wxPyEndAllowThreads(__tstate);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 }
1078 Py_INCREF(Py_None); resultobj = Py_None;
1079 {
1080 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1081 resultobj = t_output_helper(resultobj,o);
1082 }
1083 {
1084 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1085 resultobj = t_output_helper(resultobj,o);
1086 }
1087 return resultobj;
1088 fail:
1089 return NULL;
1090 }
1091
1092
1093 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1094 PyObject *resultobj;
1095 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1096 double *arg2 = (double *) 0 ;
1097 double *arg3 = (double *) 0 ;
1098 double temp2 ;
1099 double temp3 ;
1100 PyObject * obj0 = 0 ;
1101 char *kwnames[] = {
1102 (char *) "self", NULL
1103 };
1104
1105 arg2 = &temp2;
1106 arg3 = &temp3;
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 {
1110 PyThreadState* __tstate = wxPyBeginAllowThreads();
1111 (arg1)->GetSize(arg2,arg3);
1112
1113 wxPyEndAllowThreads(__tstate);
1114 if (PyErr_Occurred()) SWIG_fail;
1115 }
1116 Py_INCREF(Py_None); resultobj = Py_None;
1117 {
1118 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1119 resultobj = t_output_helper(resultobj,o);
1120 }
1121 {
1122 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1123 resultobj = t_output_helper(resultobj,o);
1124 }
1125 return resultobj;
1126 fail:
1127 return NULL;
1128 }
1129
1130
1131 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1134 double *arg2 = (double *) 0 ;
1135 double *arg3 = (double *) 0 ;
1136 double temp2 ;
1137 double temp3 ;
1138 PyObject * obj0 = 0 ;
1139 char *kwnames[] = {
1140 (char *) "self", NULL
1141 };
1142
1143 arg2 = &temp2;
1144 arg3 = &temp3;
1145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1147 {
1148 PyThreadState* __tstate = wxPyBeginAllowThreads();
1149 (arg1)->GetPosition(arg2,arg3);
1150
1151 wxPyEndAllowThreads(__tstate);
1152 if (PyErr_Occurred()) SWIG_fail;
1153 }
1154 Py_INCREF(Py_None); resultobj = Py_None;
1155 {
1156 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1157 resultobj = t_output_helper(resultobj,o);
1158 }
1159 {
1160 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1161 resultobj = t_output_helper(resultobj,o);
1162 }
1163 return resultobj;
1164 fail:
1165 return NULL;
1166 }
1167
1168
1169 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1172 int result;
1173 PyObject * obj0 = 0 ;
1174 char *kwnames[] = {
1175 (char *) "self", NULL
1176 };
1177
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180 {
1181 PyThreadState* __tstate = wxPyBeginAllowThreads();
1182 result = (int)(arg1)->GetFormatMode();
1183
1184 wxPyEndAllowThreads(__tstate);
1185 if (PyErr_Occurred()) SWIG_fail;
1186 }
1187 resultobj = PyInt_FromLong((long)result);
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1197 wxString result;
1198 PyObject * obj0 = 0 ;
1199 char *kwnames[] = {
1200 (char *) "self", NULL
1201 };
1202
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 result = (arg1)->GetName();
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 {
1213 #if wxUSE_UNICODE
1214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1215 #else
1216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1217 #endif
1218 }
1219 return resultobj;
1220 fail:
1221 return NULL;
1222 }
1223
1224
1225 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject *resultobj;
1227 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1228 wxString result;
1229 PyObject * obj0 = 0 ;
1230 char *kwnames[] = {
1231 (char *) "self", NULL
1232 };
1233
1234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1236 {
1237 PyThreadState* __tstate = wxPyBeginAllowThreads();
1238 result = (arg1)->GetColour();
1239
1240 wxPyEndAllowThreads(__tstate);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 {
1244 #if wxUSE_UNICODE
1245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1246 #else
1247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1248 #endif
1249 }
1250 return resultobj;
1251 fail:
1252 return NULL;
1253 }
1254
1255
1256 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject *resultobj;
1258 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1259 wxColour *result;
1260 PyObject * obj0 = 0 ;
1261 char *kwnames[] = {
1262 (char *) "self", NULL
1263 };
1264
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1267 {
1268 PyThreadState* __tstate = wxPyBeginAllowThreads();
1269 result = (wxColour *)(arg1)->GetActualColourObject();
1270
1271 wxPyEndAllowThreads(__tstate);
1272 if (PyErr_Occurred()) SWIG_fail;
1273 }
1274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
1275 return resultobj;
1276 fail:
1277 return NULL;
1278 }
1279
1280
1281 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1284 wxList *result;
1285 PyObject * obj0 = 0 ;
1286 char *kwnames[] = {
1287 (char *) "self", NULL
1288 };
1289
1290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 {
1295 wxList &_result_ref = (arg1)->GetFormattedText();
1296 result = (wxList *) &_result_ref;
1297 }
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) SWIG_fail;
1301 }
1302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1303 return resultobj;
1304 fail:
1305 return NULL;
1306 }
1307
1308
1309 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1310 PyObject *resultobj;
1311 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1312 wxString result;
1313 PyObject * obj0 = 0 ;
1314 char *kwnames[] = {
1315 (char *) "self", NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320 {
1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
1322 result = (arg1)->GetPenColour();
1323
1324 wxPyEndAllowThreads(__tstate);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 {
1328 #if wxUSE_UNICODE
1329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1330 #else
1331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1332 #endif
1333 }
1334 return resultobj;
1335 fail:
1336 return NULL;
1337 }
1338
1339
1340 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1341 PyObject *resultobj;
1342 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1343 int result;
1344 PyObject * obj0 = 0 ;
1345 char *kwnames[] = {
1346 (char *) "self", NULL
1347 };
1348
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1351 {
1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
1353 result = (int)(arg1)->GetPenStyle();
1354
1355 wxPyEndAllowThreads(__tstate);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 }
1358 resultobj = PyInt_FromLong((long)result);
1359 return resultobj;
1360 fail:
1361 return NULL;
1362 }
1363
1364
1365 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1368 int arg2 ;
1369 PyObject * obj0 = 0 ;
1370 char *kwnames[] = {
1371 (char *) "self",(char *) "style", NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames,&obj0,&arg2)) goto fail;
1375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1376 {
1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
1378 (arg1)->SetPenStyle(arg2);
1379
1380 wxPyEndAllowThreads(__tstate);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 Py_INCREF(Py_None); resultobj = Py_None;
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1393 wxString *arg2 = 0 ;
1394 bool temp2 = False ;
1395 PyObject * obj0 = 0 ;
1396 PyObject * obj1 = 0 ;
1397 char *kwnames[] = {
1398 (char *) "self",(char *) "col", NULL
1399 };
1400
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1403 {
1404 arg2 = wxString_in_helper(obj1);
1405 if (arg2 == NULL) SWIG_fail;
1406 temp2 = True;
1407 }
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 (arg1)->SetPenColour((wxString const &)*arg2);
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 Py_INCREF(Py_None); resultobj = Py_None;
1416 {
1417 if (temp2)
1418 delete arg2;
1419 }
1420 return resultobj;
1421 fail:
1422 {
1423 if (temp2)
1424 delete arg2;
1425 }
1426 return NULL;
1427 }
1428
1429
1430 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1433 wxPen *result;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "self", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 result = (wxPen *)(arg1)->GetActualPen();
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1458 double result;
1459 PyObject * obj0 = 0 ;
1460 char *kwnames[] = {
1461 (char *) "self", NULL
1462 };
1463
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 {
1467 PyThreadState* __tstate = wxPyBeginAllowThreads();
1468 result = (double)(arg1)->GetWidth();
1469
1470 wxPyEndAllowThreads(__tstate);
1471 if (PyErr_Occurred()) SWIG_fail;
1472 }
1473 resultobj = PyFloat_FromDouble(result);
1474 return resultobj;
1475 fail:
1476 return NULL;
1477 }
1478
1479
1480 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject *resultobj;
1482 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1483 double result;
1484 PyObject * obj0 = 0 ;
1485 char *kwnames[] = {
1486 (char *) "self", NULL
1487 };
1488
1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 result = (double)(arg1)->GetHeight();
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 resultobj = PyFloat_FromDouble(result);
1499 return resultobj;
1500 fail:
1501 return NULL;
1502 }
1503
1504
1505 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject *resultobj;
1507 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1508 PyObject * obj0 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "self", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 (arg1)->ClearText();
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 Py_INCREF(Py_None); resultobj = Py_None;
1523 return resultobj;
1524 fail:
1525 return NULL;
1526 }
1527
1528
1529 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1530 PyObject *obj;
1531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1532 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1533 Py_INCREF(obj);
1534 return Py_BuildValue((char *)"");
1535 }
1536 static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject *resultobj;
1538 int arg1 = (int) 0 ;
1539 double arg2 = (double) 0.0 ;
1540 double arg3 = (double) 0.0 ;
1541 wxAttachmentPoint *result;
1542 char *kwnames[] = {
1543 (char *) "id",(char *) "x",(char *) "y", NULL
1544 };
1545
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|idd:new_AttachmentPoint",kwnames,&arg1,&arg2,&arg3)) goto fail;
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAttachmentPoint, 1);
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject *resultobj;
1563 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1564 int arg2 ;
1565 PyObject * obj0 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self",(char *) "m_id", NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:AttachmentPoint_m_id_set",kwnames,&obj0,&arg2)) goto fail;
1571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1572 if (arg1) (arg1)->m_id = arg2;
1573
1574 Py_INCREF(Py_None); resultobj = Py_None;
1575 return resultobj;
1576 fail:
1577 return NULL;
1578 }
1579
1580
1581 static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject *resultobj;
1583 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1584 int result;
1585 PyObject * obj0 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 result = (int) ((arg1)->m_id);
1593
1594 resultobj = PyInt_FromLong((long)result);
1595 return resultobj;
1596 fail:
1597 return NULL;
1598 }
1599
1600
1601 static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1602 PyObject *resultobj;
1603 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1604 double arg2 ;
1605 PyObject * obj0 = 0 ;
1606 char *kwnames[] = {
1607 (char *) "self",(char *) "m_x", NULL
1608 };
1609
1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:AttachmentPoint_m_x_set",kwnames,&obj0,&arg2)) goto fail;
1611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1612 if (arg1) (arg1)->m_x = arg2;
1613
1614 Py_INCREF(Py_None); resultobj = Py_None;
1615 return resultobj;
1616 fail:
1617 return NULL;
1618 }
1619
1620
1621 static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1622 PyObject *resultobj;
1623 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1624 double result;
1625 PyObject * obj0 = 0 ;
1626 char *kwnames[] = {
1627 (char *) "self", NULL
1628 };
1629
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632 result = (double) ((arg1)->m_x);
1633
1634 resultobj = PyFloat_FromDouble(result);
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1644 double arg2 ;
1645 PyObject * obj0 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "self",(char *) "m_y", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:AttachmentPoint_m_y_set",kwnames,&obj0,&arg2)) goto fail;
1651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1652 if (arg1) (arg1)->m_y = arg2;
1653
1654 Py_INCREF(Py_None); resultobj = Py_None;
1655 return resultobj;
1656 fail:
1657 return NULL;
1658 }
1659
1660
1661 static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1662 PyObject *resultobj;
1663 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1664 double result;
1665 PyObject * obj0 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "self", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 result = (double) ((arg1)->m_y);
1673
1674 resultobj = PyFloat_FromDouble(result);
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1682 PyObject *obj;
1683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1684 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1685 Py_INCREF(obj);
1686 return Py_BuildValue((char *)"");
1687 }
1688 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1691 wxPyShape *arg2 = (wxPyShape *) NULL ;
1692 wxPyShapeEvtHandler *result;
1693 PyObject * obj0 = 0 ;
1694 PyObject * obj1 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "prev",(char *) "shape", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1700 if (obj0) {
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 }
1703 if (obj1) {
1704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1705 }
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 {
1714 resultobj = wxPyMake_wxShapeEvtHandler(result);
1715 }
1716 return resultobj;
1717 fail:
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1725 PyObject *arg2 = (PyObject *) 0 ;
1726 PyObject *arg3 = (PyObject *) 0 ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "self",(char *) "_class", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 arg2 = obj1;
1737 arg3 = obj2;
1738 {
1739 PyThreadState* __tstate = wxPyBeginAllowThreads();
1740 (arg1)->_setCallbackInfo(arg2,arg3);
1741
1742 wxPyEndAllowThreads(__tstate);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 Py_INCREF(Py_None); resultobj = Py_None;
1746 return resultobj;
1747 fail:
1748 return NULL;
1749 }
1750
1751
1752 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1755 PyObject *arg2 = (PyObject *) 0 ;
1756 PyObject * obj0 = 0 ;
1757 PyObject * obj1 = 0 ;
1758 char *kwnames[] = {
1759 (char *) "self",(char *) "_self", NULL
1760 };
1761
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1764 arg2 = obj1;
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1782 wxPyShape *arg2 = (wxPyShape *) 0 ;
1783 PyObject * obj0 = 0 ;
1784 PyObject * obj1 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "sh", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 (arg1)->SetShape(arg2);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 Py_INCREF(Py_None); resultobj = Py_None;
1800 return resultobj;
1801 fail:
1802 return NULL;
1803 }
1804
1805
1806 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject *resultobj;
1808 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1809 wxPyShape *result;
1810 PyObject * obj0 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 result = (wxPyShape *)(arg1)->GetShape();
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 {
1825 resultobj = wxPyMake_wxShapeEvtHandler(result);
1826 }
1827 return resultobj;
1828 fail:
1829 return NULL;
1830 }
1831
1832
1833 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1836 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
1837 PyObject * obj0 = 0 ;
1838 PyObject * obj1 = 0 ;
1839 char *kwnames[] = {
1840 (char *) "self",(char *) "handler", NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 (arg1)->SetPreviousHandler(arg2);
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
1860 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1863 wxPyShapeEvtHandler *result;
1864 PyObject * obj0 = 0 ;
1865 char *kwnames[] = {
1866 (char *) "self", NULL
1867 };
1868
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 {
1879 resultobj = wxPyMake_wxShapeEvtHandler(result);
1880 }
1881 return resultobj;
1882 fail:
1883 return NULL;
1884 }
1885
1886
1887 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
1888 PyObject *resultobj;
1889 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1890 wxPyShapeEvtHandler *result;
1891 PyObject * obj0 = 0 ;
1892 char *kwnames[] = {
1893 (char *) "self", NULL
1894 };
1895
1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
1897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
1905 {
1906 resultobj = wxPyMake_wxShapeEvtHandler(result);
1907 }
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1917 PyObject * obj0 = 0 ;
1918 char *kwnames[] = {
1919 (char *) "self", NULL
1920 };
1921
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
1923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 (arg1)->base_OnDelete();
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 Py_INCREF(Py_None); resultobj = Py_None;
1932 return resultobj;
1933 fail:
1934 return NULL;
1935 }
1936
1937
1938 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject *resultobj;
1940 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1941 wxDC *arg2 = 0 ;
1942 PyObject * obj0 = 0 ;
1943 PyObject * obj1 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self",(char *) "dc", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1951 if (arg2 == NULL) {
1952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1953 }
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->base_OnDraw(*arg2);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1971 wxDC *arg2 = 0 ;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "dc", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1981 if (arg2 == NULL) {
1982 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1983 }
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 (arg1)->base_OnDrawContents(*arg2);
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 Py_INCREF(Py_None); resultobj = Py_None;
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2001 wxDC *arg2 = 0 ;
2002 bool arg3 = (bool) False ;
2003 PyObject * obj0 = 0 ;
2004 PyObject * obj1 = 0 ;
2005 PyObject * obj2 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "dc",(char *) "erase", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 if (arg2 == NULL) {
2014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2015 }
2016 if (obj2) {
2017 arg3 = PyInt_AsLong(obj2) ? true : false;
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 (arg1)->base_OnDrawBranches(*arg2,arg3);
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 Py_INCREF(Py_None); resultobj = Py_None;
2028 return resultobj;
2029 fail:
2030 return NULL;
2031 }
2032
2033
2034 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2037 wxDC *arg2 = 0 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj1 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "dc", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2047 if (arg2 == NULL) {
2048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2049 }
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->base_OnMoveLinks(*arg2);
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
2064 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2067 wxDC *arg2 = 0 ;
2068 PyObject * obj0 = 0 ;
2069 PyObject * obj1 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "dc", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2077 if (arg2 == NULL) {
2078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2079 }
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 (arg1)->base_OnErase(*arg2);
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 Py_INCREF(Py_None); resultobj = Py_None;
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2097 wxDC *arg2 = 0 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "dc", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2107 if (arg2 == NULL) {
2108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2109 }
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 (arg1)->base_OnEraseContents(*arg2);
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 Py_INCREF(Py_None); resultobj = Py_None;
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2127 wxDC *arg2 = 0 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130 char *kwnames[] = {
2131 (char *) "self",(char *) "dc", NULL
2132 };
2133
2134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 if (arg2 == NULL) {
2138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2139 }
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 (arg1)->base_OnHighlight(*arg2);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 Py_INCREF(Py_None); resultobj = Py_None;
2148 return resultobj;
2149 fail:
2150 return NULL;
2151 }
2152
2153
2154 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject *resultobj;
2156 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2157 double arg2 ;
2158 double arg3 ;
2159 int arg4 = (int) 0 ;
2160 int arg5 = (int) 0 ;
2161 PyObject * obj0 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 Py_INCREF(Py_None); resultobj = Py_None;
2176 return resultobj;
2177 fail:
2178 return NULL;
2179 }
2180
2181
2182 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject *resultobj;
2184 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2185 double arg2 ;
2186 double arg3 ;
2187 int arg4 = (int) 0 ;
2188 int arg5 = (int) 0 ;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 Py_INCREF(Py_None); resultobj = Py_None;
2204 return resultobj;
2205 fail:
2206 return NULL;
2207 }
2208
2209
2210 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2213 double arg2 ;
2214 double arg3 ;
2215 int arg4 = (int) 0 ;
2216 int arg5 = (int) 0 ;
2217 PyObject * obj0 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 }
2231 Py_INCREF(Py_None); resultobj = Py_None;
2232 return resultobj;
2233 fail:
2234 return NULL;
2235 }
2236
2237
2238 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2239 PyObject *resultobj;
2240 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2241 double arg2 ;
2242 double arg3 ;
2243 PyObject * obj0 = 0 ;
2244 char *kwnames[] = {
2245 (char *) "self",(char *) "x",(char *) "y", NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 (arg1)->base_OnSize(arg2,arg3);
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 Py_INCREF(Py_None); resultobj = Py_None;
2258 return resultobj;
2259 fail:
2260 return NULL;
2261 }
2262
2263
2264 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject *resultobj;
2266 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2267 wxDC *arg2 = 0 ;
2268 double arg3 ;
2269 double arg4 ;
2270 double arg5 ;
2271 double arg6 ;
2272 bool arg7 = (bool) True ;
2273 bool result;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 PyObject * obj6 = 0 ;
2277 char *kwnames[] = {
2278 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2279 };
2280
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2284 if (arg2 == NULL) {
2285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2286 }
2287 if (obj6) {
2288 arg7 = PyInt_AsLong(obj6) ? true : false;
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 resultobj = PyInt_FromLong((long)result);
2299 return resultobj;
2300 fail:
2301 return NULL;
2302 }
2303
2304
2305 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2308 wxDC *arg2 = 0 ;
2309 double arg3 ;
2310 double arg4 ;
2311 double arg5 ;
2312 double arg6 ;
2313 bool arg7 = (bool) True ;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 PyObject * obj6 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2324 if (arg2 == NULL) {
2325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2326 }
2327 if (obj6) {
2328 arg7 = PyInt_AsLong(obj6) ? true : false;
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 Py_INCREF(Py_None); resultobj = Py_None;
2339 return resultobj;
2340 fail:
2341 return NULL;
2342 }
2343
2344
2345 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj;
2347 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2348 bool arg2 ;
2349 double arg3 ;
2350 double arg4 ;
2351 int arg5 = (int) 0 ;
2352 int arg6 = (int) 0 ;
2353 PyObject * obj0 = 0 ;
2354 PyObject * obj1 = 0 ;
2355 char *kwnames[] = {
2356 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2357 };
2358
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2361 arg2 = PyInt_AsLong(obj1) ? true : false;
2362 if (PyErr_Occurred()) SWIG_fail;
2363 {
2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
2365 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2366
2367 wxPyEndAllowThreads(__tstate);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 }
2370 Py_INCREF(Py_None); resultobj = Py_None;
2371 return resultobj;
2372 fail:
2373 return NULL;
2374 }
2375
2376
2377 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject *resultobj;
2379 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2380 double arg2 ;
2381 double arg3 ;
2382 int arg4 = (int) 0 ;
2383 int arg5 = (int) 0 ;
2384 PyObject * obj0 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 Py_INCREF(Py_None); resultobj = Py_None;
2399 return resultobj;
2400 fail:
2401 return NULL;
2402 }
2403
2404
2405 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject *resultobj;
2407 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2408 double arg2 ;
2409 double arg3 ;
2410 int arg4 = (int) 0 ;
2411 int arg5 = (int) 0 ;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 Py_INCREF(Py_None); resultobj = Py_None;
2427 return resultobj;
2428 fail:
2429 return NULL;
2430 }
2431
2432
2433 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2436 bool arg2 ;
2437 double arg3 ;
2438 double arg4 ;
2439 int arg5 = (int) 0 ;
2440 int arg6 = (int) 0 ;
2441 PyObject * obj0 = 0 ;
2442 PyObject * obj1 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2449 arg2 = PyInt_AsLong(obj1) ? true : false;
2450 if (PyErr_Occurred()) SWIG_fail;
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 return resultobj;
2460 fail:
2461 return NULL;
2462 }
2463
2464
2465 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject *resultobj;
2467 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2468 double arg2 ;
2469 double arg3 ;
2470 int arg4 = (int) 0 ;
2471 int arg5 = (int) 0 ;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2496 double arg2 ;
2497 double arg3 ;
2498 int arg4 = (int) 0 ;
2499 int arg5 = (int) 0 ;
2500 PyObject * obj0 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) SWIG_fail;
2513 }
2514 Py_INCREF(Py_None); resultobj = Py_None;
2515 return resultobj;
2516 fail:
2517 return NULL;
2518 }
2519
2520
2521 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject *resultobj;
2523 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2524 wxDC *arg2 = 0 ;
2525 double arg3 ;
2526 double arg4 ;
2527 double arg5 ;
2528 double arg6 ;
2529 PyObject * obj0 = 0 ;
2530 PyObject * obj1 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2538 if (arg2 == NULL) {
2539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2540 }
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552 }
2553
2554
2555 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2558 wxDC *arg2 = 0 ;
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj1 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self",(char *) "dc", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 if (arg2 == NULL) {
2569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 (arg1)->base_OnDrawControlPoints(*arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 Py_INCREF(Py_None); resultobj = Py_None;
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2588 wxDC *arg2 = 0 ;
2589 PyObject * obj0 = 0 ;
2590 PyObject * obj1 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self",(char *) "dc", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 if (arg2 == NULL) {
2599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2600 }
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 (arg1)->base_OnEraseControlPoints(*arg2);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 Py_INCREF(Py_None); resultobj = Py_None;
2609 return resultobj;
2610 fail:
2611 return NULL;
2612 }
2613
2614
2615 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2616 PyObject *resultobj;
2617 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2618 wxDC *arg2 = 0 ;
2619 bool arg3 = (bool) True ;
2620 PyObject * obj0 = 0 ;
2621 PyObject * obj1 = 0 ;
2622 PyObject * obj2 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 if (arg2 == NULL) {
2631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2632 }
2633 if (obj2) {
2634 arg3 = PyInt_AsLong(obj2) ? true : false;
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 (arg1)->base_OnMoveLink(*arg2,arg3);
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 Py_INCREF(Py_None); resultobj = Py_None;
2645 return resultobj;
2646 fail:
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2654 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2655 bool arg3 ;
2656 double arg4 ;
2657 double arg5 ;
2658 int arg6 = (int) 0 ;
2659 int arg7 = (int) 0 ;
2660 PyObject * obj0 = 0 ;
2661 PyObject * obj1 = 0 ;
2662 PyObject * obj2 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 arg3 = PyInt_AsLong(obj2) ? true : false;
2671 if (PyErr_Occurred()) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2689 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2690 double arg3 ;
2691 double arg4 ;
2692 int arg5 = (int) 0 ;
2693 int arg6 = (int) 0 ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 Py_INCREF(Py_None); resultobj = Py_None;
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2720 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2721 double arg3 ;
2722 double arg4 ;
2723 int arg5 = (int) 0 ;
2724 int arg6 = (int) 0 ;
2725 PyObject * obj0 = 0 ;
2726 PyObject * obj1 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 Py_INCREF(Py_None); resultobj = Py_None;
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2751 double arg2 ;
2752 double arg3 ;
2753 PyObject * obj0 = 0 ;
2754 char *kwnames[] = {
2755 (char *) "self",(char *) "w",(char *) "h", NULL
2756 };
2757
2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 (arg1)->base_OnBeginSize(arg2,arg3);
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 Py_INCREF(Py_None); resultobj = Py_None;
2768 return resultobj;
2769 fail:
2770 return NULL;
2771 }
2772
2773
2774 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject *resultobj;
2776 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2777 double arg2 ;
2778 double arg3 ;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "w",(char *) "h", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 (arg1)->base_OnEndSize(arg2,arg3);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797 }
2798
2799
2800 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
2801 PyObject *obj;
2802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2803 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
2804 Py_INCREF(obj);
2805 return Py_BuildValue((char *)"");
2806 }
2807 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
2810 wxPyShape *result;
2811 PyObject * obj0 = 0 ;
2812 char *kwnames[] = {
2813 (char *) "can", NULL
2814 };
2815
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
2817 if (obj0) {
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 result = (wxPyShape *)new wxPyShape(arg1);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 {
2828 resultobj = wxPyMake_wxShapeEvtHandler(result);
2829 }
2830 return resultobj;
2831 fail:
2832 return NULL;
2833 }
2834
2835
2836 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2837 PyObject *resultobj;
2838 wxPyShape *arg1 = (wxPyShape *) 0 ;
2839 PyObject *arg2 = (PyObject *) 0 ;
2840 PyObject *arg3 = (PyObject *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 PyObject * obj1 = 0 ;
2843 PyObject * obj2 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "self",(char *) "_class", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2850 arg2 = obj1;
2851 arg3 = obj2;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 (arg1)->_setCallbackInfo(arg2,arg3);
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 Py_INCREF(Py_None); resultobj = Py_None;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863 }
2864
2865
2866 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 wxPyShape *arg1 = (wxPyShape *) 0 ;
2869 double *arg2 = (double *) 0 ;
2870 double *arg3 = (double *) 0 ;
2871 double temp2 ;
2872 double temp3 ;
2873 PyObject * obj0 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self", NULL
2876 };
2877
2878 arg2 = &temp2;
2879 arg3 = &temp3;
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 (arg1)->GetBoundingBoxMax(arg2,arg3);
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 Py_INCREF(Py_None); resultobj = Py_None;
2890 {
2891 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2892 resultobj = t_output_helper(resultobj,o);
2893 }
2894 {
2895 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2896 resultobj = t_output_helper(resultobj,o);
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxPyShape *arg1 = (wxPyShape *) 0 ;
2907 double *arg2 = (double *) 0 ;
2908 double *arg3 = (double *) 0 ;
2909 double temp2 ;
2910 double temp3 ;
2911 PyObject * obj0 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self", NULL
2914 };
2915
2916 arg2 = &temp2;
2917 arg3 = &temp3;
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 (arg1)->GetBoundingBoxMin(arg2,arg3);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 Py_INCREF(Py_None); resultobj = Py_None;
2928 {
2929 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2930 resultobj = t_output_helper(resultobj,o);
2931 }
2932 {
2933 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2934 resultobj = t_output_helper(resultobj,o);
2935 }
2936 return resultobj;
2937 fail:
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxPyShape *arg1 = (wxPyShape *) 0 ;
2945 double arg2 ;
2946 double arg3 ;
2947 double arg4 ;
2948 double arg5 ;
2949 double *arg6 = (double *) 0 ;
2950 double *arg7 = (double *) 0 ;
2951 bool result;
2952 double temp6 ;
2953 double temp7 ;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2957 };
2958
2959 arg6 = &temp6;
2960 arg7 = &temp7;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 resultobj = PyInt_FromLong((long)result);
2971 {
2972 PyObject *o = PyFloat_FromDouble((double) (*arg6));
2973 resultobj = t_output_helper(resultobj,o);
2974 }
2975 {
2976 PyObject *o = PyFloat_FromDouble((double) (*arg7));
2977 resultobj = t_output_helper(resultobj,o);
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxPyShape *arg1 = (wxPyShape *) 0 ;
2988 wxPyShapeCanvas *result;
2989 PyObject * obj0 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 {
3004 resultobj = wxPyMake_wxObject(result);
3005 }
3006 return resultobj;
3007 fail:
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxPyShape *arg1 = (wxPyShape *) 0 ;
3015 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "the_canvas", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 (arg1)->SetCanvas(arg2);
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 Py_INCREF(Py_None); resultobj = Py_None;
3033 return resultobj;
3034 fail:
3035 return NULL;
3036 }
3037
3038
3039 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxPyShape *arg1 = (wxPyShape *) 0 ;
3042 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3043 wxPyShape *arg3 = (wxPyShape *) NULL ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3054 if (obj2) {
3055 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3056 }
3057 {
3058 PyThreadState* __tstate = wxPyBeginAllowThreads();
3059 (arg1)->AddToCanvas(arg2,arg3);
3060
3061 wxPyEndAllowThreads(__tstate);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 Py_INCREF(Py_None); resultobj = Py_None;
3065 return resultobj;
3066 fail:
3067 return NULL;
3068 }
3069
3070
3071 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj;
3073 wxPyShape *arg1 = (wxPyShape *) 0 ;
3074 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3075 PyObject * obj0 = 0 ;
3076 PyObject * obj1 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "the_canvas", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 (arg1)->InsertInCanvas(arg2);
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 Py_INCREF(Py_None); resultobj = Py_None;
3092 return resultobj;
3093 fail:
3094 return NULL;
3095 }
3096
3097
3098 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject *resultobj;
3100 wxPyShape *arg1 = (wxPyShape *) 0 ;
3101 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3102 PyObject * obj0 = 0 ;
3103 PyObject * obj1 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "self",(char *) "the_canvas", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 (arg1)->RemoveFromCanvas(arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 Py_INCREF(Py_None); resultobj = Py_None;
3119 return resultobj;
3120 fail:
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxPyShape *arg1 = (wxPyShape *) 0 ;
3128 double result;
3129 PyObject * obj0 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 result = (double)(arg1)->GetX();
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 resultobj = PyFloat_FromDouble(result);
3144 return resultobj;
3145 fail:
3146 return NULL;
3147 }
3148
3149
3150 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject *resultobj;
3152 wxPyShape *arg1 = (wxPyShape *) 0 ;
3153 double result;
3154 PyObject * obj0 = 0 ;
3155 char *kwnames[] = {
3156 (char *) "self", NULL
3157 };
3158
3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 result = (double)(arg1)->GetY();
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 resultobj = PyFloat_FromDouble(result);
3169 return resultobj;
3170 fail:
3171 return NULL;
3172 }
3173
3174
3175 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3176 PyObject *resultobj;
3177 wxPyShape *arg1 = (wxPyShape *) 0 ;
3178 double arg2 ;
3179 PyObject * obj0 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "x", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetX",kwnames,&obj0,&arg2)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 (arg1)->SetX(arg2);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 Py_INCREF(Py_None); resultobj = Py_None;
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxPyShape *arg1 = (wxPyShape *) 0 ;
3203 double arg2 ;
3204 PyObject * obj0 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self",(char *) "y", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetY",kwnames,&obj0,&arg2)) goto fail;
3210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 (arg1)->SetY(arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 Py_INCREF(Py_None); resultobj = Py_None;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxPyShape *arg1 = (wxPyShape *) 0 ;
3228 wxPyShape *result;
3229 PyObject * obj0 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "self", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 result = (wxPyShape *)(arg1)->GetParent();
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 {
3244 resultobj = wxPyMake_wxShapeEvtHandler(result);
3245 }
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 wxPyShape *arg1 = (wxPyShape *) 0 ;
3255 wxPyShape *arg2 = (wxPyShape *) 0 ;
3256 PyObject * obj0 = 0 ;
3257 PyObject * obj1 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "self",(char *) "p", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 (arg1)->SetParent(arg2);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxPyShape *arg1 = (wxPyShape *) 0 ;
3282 wxPyShape *result;
3283 PyObject * obj0 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = (wxPyShape *)(arg1)->GetTopAncestor();
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 {
3298 resultobj = wxPyMake_wxShapeEvtHandler(result);
3299 }
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxPyShape *arg1 = (wxPyShape *) 0 ;
3309 PyObject *result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (PyObject *)wxPyShape_GetChildren(arg1);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 resultobj = result;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxPyShape *arg1 = (wxPyShape *) 0 ;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->Unlink();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxPyShape *arg1 = (wxPyShape *) 0 ;
3358 bool arg2 ;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "drawH", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3367 arg2 = PyInt_AsLong(obj1) ? true : false;
3368 if (PyErr_Occurred()) SWIG_fail;
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->SetDrawHandles(arg2);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxPyShape *arg1 = (wxPyShape *) 0 ;
3386 bool result;
3387 PyObject * obj0 = 0 ;
3388 char *kwnames[] = {
3389 (char *) "self", NULL
3390 };
3391
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
3393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3394 {
3395 PyThreadState* __tstate = wxPyBeginAllowThreads();
3396 result = (bool)(arg1)->GetDrawHandles();
3397
3398 wxPyEndAllowThreads(__tstate);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 resultobj = PyInt_FromLong((long)result);
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxPyShape *arg1 = (wxPyShape *) 0 ;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->MakeControlPoints();
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxPyShape *arg1 = (wxPyShape *) 0 ;
3435 wxDC *arg2 = (wxDC *) NULL ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "dc", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3444 if (obj1) {
3445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3446 }
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->DeleteControlPoints(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxPyShape *arg1 = (wxPyShape *) 0 ;
3464 PyObject * obj0 = 0 ;
3465 char *kwnames[] = {
3466 (char *) "self", NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
3470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->ResetControlPoints();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 Py_INCREF(Py_None); resultobj = Py_None;
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxPyShape *arg1 = (wxPyShape *) 0 ;
3488 wxPyShapeEvtHandler *result;
3489 PyObject * obj0 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
3495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 resultobj = wxPyMake_wxShapeEvtHandler(result);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxPyShape *arg1 = (wxPyShape *) 0 ;
3515 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3516 PyObject * obj0 = 0 ;
3517 PyObject * obj1 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "handler", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3525 {
3526 PyThreadState* __tstate = wxPyBeginAllowThreads();
3527 (arg1)->SetEventHandler(arg2);
3528
3529 wxPyEndAllowThreads(__tstate);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 Py_INCREF(Py_None); resultobj = Py_None;
3533 return resultobj;
3534 fail:
3535 return NULL;
3536 }
3537
3538
3539 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxPyShape *arg1 = (wxPyShape *) 0 ;
3542 PyObject * obj0 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 (arg1)->MakeMandatoryControlPoints();
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 Py_INCREF(Py_None); resultobj = Py_None;
3557 return resultobj;
3558 fail:
3559 return NULL;
3560 }
3561
3562
3563 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxPyShape *arg1 = (wxPyShape *) 0 ;
3566 PyObject * obj0 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->ResetMandatoryControlPoints();
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxPyShape *arg1 = (wxPyShape *) 0 ;
3590 bool result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (bool)(arg1)->Recompute();
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 resultobj = PyInt_FromLong((long)result);
3606 return resultobj;
3607 fail:
3608 return NULL;
3609 }
3610
3611
3612 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxPyShape *arg1 = (wxPyShape *) 0 ;
3615 PyObject * obj0 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "self", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
3621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 (arg1)->CalculateSize();
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 Py_INCREF(Py_None); resultobj = Py_None;
3630 return resultobj;
3631 fail:
3632 return NULL;
3633 }
3634
3635
3636 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3637 PyObject *resultobj;
3638 wxPyShape *arg1 = (wxPyShape *) 0 ;
3639 bool arg2 = (bool) True ;
3640 wxDC *arg3 = (wxDC *) NULL ;
3641 PyObject * obj0 = 0 ;
3642 PyObject * obj1 = 0 ;
3643 PyObject * obj2 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "select",(char *) "dc", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3650 if (obj1) {
3651 arg2 = PyInt_AsLong(obj1) ? true : false;
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 if (obj2) {
3655 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 }
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 (arg1)->Select(arg2,arg3);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 Py_INCREF(Py_None); resultobj = Py_None;
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxPyShape *arg1 = (wxPyShape *) 0 ;
3674 bool arg2 = (bool) True ;
3675 bool arg3 = (bool) False ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 PyObject * obj2 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 if (obj1) {
3686 arg2 = PyInt_AsLong(obj1) ? true : false;
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 if (obj2) {
3690 arg3 = PyInt_AsLong(obj2) ? true : false;
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->SetHighlight(arg2,arg3);
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 Py_INCREF(Py_None); resultobj = Py_None;
3701 return resultobj;
3702 fail:
3703 return NULL;
3704 }
3705
3706
3707 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 wxPyShape *arg1 = (wxPyShape *) 0 ;
3710 bool result;
3711 PyObject * obj0 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = (bool)(arg1)->IsHighlighted();
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 resultobj = PyInt_FromLong((long)result);
3726 return resultobj;
3727 fail:
3728 return NULL;
3729 }
3730
3731
3732 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3733 PyObject *resultobj;
3734 wxPyShape *arg1 = (wxPyShape *) 0 ;
3735 bool result;
3736 PyObject * obj0 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
3742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = (bool)(arg1)->Selected();
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 resultobj = PyInt_FromLong((long)result);
3751 return resultobj;
3752 fail:
3753 return NULL;
3754 }
3755
3756
3757 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3758 PyObject *resultobj;
3759 wxPyShape *arg1 = (wxPyShape *) 0 ;
3760 bool result;
3761 PyObject * obj0 = 0 ;
3762 char *kwnames[] = {
3763 (char *) "self", NULL
3764 };
3765
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
3767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (bool)(arg1)->AncestorSelected();
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 resultobj = PyInt_FromLong((long)result);
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj;
3784 wxPyShape *arg1 = (wxPyShape *) 0 ;
3785 int arg2 = (int) OP_ALL ;
3786 bool arg3 = (bool) False ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 char *kwnames[] = {
3790 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3791 };
3792
3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames,&obj0,&arg2,&obj2)) goto fail;
3794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3795 if (obj2) {
3796 arg3 = PyInt_AsLong(obj2) ? true : false;
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 (arg1)->SetSensitivityFilter(arg2,arg3);
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 Py_INCREF(Py_None); resultobj = Py_None;
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxPyShape *arg1 = (wxPyShape *) 0 ;
3816 int result;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (int)(arg1)->GetSensitivityFilter();
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 resultobj = PyInt_FromLong((long)result);
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxPyShape *arg1 = (wxPyShape *) 0 ;
3841 bool arg2 ;
3842 bool arg3 = (bool) False ;
3843 PyObject * obj0 = 0 ;
3844 PyObject * obj1 = 0 ;
3845 PyObject * obj2 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3852 arg2 = PyInt_AsLong(obj1) ? true : false;
3853 if (PyErr_Occurred()) SWIG_fail;
3854 if (obj2) {
3855 arg3 = PyInt_AsLong(obj2) ? true : false;
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->SetDraggable(arg2,arg3);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxPyShape *arg1 = (wxPyShape *) 0 ;
3875 bool arg2 ;
3876 bool arg3 ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3879 PyObject * obj2 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "x",(char *) "y", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3886 arg2 = PyInt_AsLong(obj1) ? true : false;
3887 if (PyErr_Occurred()) SWIG_fail;
3888 arg3 = PyInt_AsLong(obj2) ? true : false;
3889 if (PyErr_Occurred()) SWIG_fail;
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 (arg1)->SetFixedSize(arg2,arg3);
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 Py_INCREF(Py_None); resultobj = Py_None;
3898 return resultobj;
3899 fail:
3900 return NULL;
3901 }
3902
3903
3904 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject *resultobj;
3906 wxPyShape *arg1 = (wxPyShape *) 0 ;
3907 bool *arg2 = (bool *) 0 ;
3908 bool *arg3 = (bool *) 0 ;
3909 bool temp2 ;
3910 bool temp3 ;
3911 PyObject * obj0 = 0 ;
3912 char *kwnames[] = {
3913 (char *) "self", NULL
3914 };
3915
3916 arg2 = &temp2;
3917 arg3 = &temp3;
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 (arg1)->GetFixedSize(arg2,arg3);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 {
3929 PyObject *o = PyInt_FromLong((long) (*arg2));
3930 resultobj = t_output_helper(resultobj,o);
3931 }
3932 {
3933 PyObject *o = PyInt_FromLong((long) (*arg3));
3934 resultobj = t_output_helper(resultobj,o);
3935 }
3936 return resultobj;
3937 fail:
3938 return NULL;
3939 }
3940
3941
3942 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxPyShape *arg1 = (wxPyShape *) 0 ;
3945 bool result;
3946 PyObject * obj0 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
3952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (bool)(arg1)->GetFixedWidth();
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
3960 resultobj = PyInt_FromLong((long)result);
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject *resultobj;
3969 wxPyShape *arg1 = (wxPyShape *) 0 ;
3970 bool result;
3971 PyObject * obj0 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
3977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 result = (bool)(arg1)->GetFixedHeight();
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = PyInt_FromLong((long)result);
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxPyShape *arg1 = (wxPyShape *) 0 ;
3995 bool arg2 ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self",(char *) "sp", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4004 arg2 = PyInt_AsLong(obj1) ? true : false;
4005 if (PyErr_Occurred()) SWIG_fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->SetSpaceAttachments(arg2);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxPyShape *arg1 = (wxPyShape *) 0 ;
4023 bool result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (bool)(arg1)->GetSpaceAttachments();
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = PyInt_FromLong((long)result);
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxPyShape *arg1 = (wxPyShape *) 0 ;
4048 int arg2 ;
4049 bool arg3 = (bool) False ;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj2 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:PyShape_SetShadowMode",kwnames,&obj0,&arg2,&obj2)) goto fail;
4057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4058 if (obj2) {
4059 arg3 = PyInt_AsLong(obj2) ? true : false;
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetShadowMode(arg2,arg3);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxPyShape *arg1 = (wxPyShape *) 0 ;
4079 int result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (int)(arg1)->GetShadowMode();
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxPyShape *arg1 = (wxPyShape *) 0 ;
4104 double arg2 ;
4105 double arg3 ;
4106 int *arg4 = (int *) 0 ;
4107 double *arg5 = (double *) 0 ;
4108 bool result;
4109 int temp4 ;
4110 double temp5 ;
4111 PyObject * obj0 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "x",(char *) "y", NULL
4114 };
4115
4116 arg4 = &temp4;
4117 arg5 = &temp5;
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_HitTest",kwnames,&obj0,&arg2,&arg3)) goto fail;
4119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = PyInt_FromLong((long)result);
4128 {
4129 PyObject *o = PyInt_FromLong((long) (*arg4));
4130 resultobj = t_output_helper(resultobj,o);
4131 }
4132 {
4133 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4134 resultobj = t_output_helper(resultobj,o);
4135 }
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxPyShape *arg1 = (wxPyShape *) 0 ;
4145 bool arg2 ;
4146 PyObject * obj0 = 0 ;
4147 PyObject * obj1 = 0 ;
4148 char *kwnames[] = {
4149 (char *) "self",(char *) "cr", NULL
4150 };
4151
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4154 arg2 = PyInt_AsLong(obj1) ? true : false;
4155 if (PyErr_Occurred()) SWIG_fail;
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 (arg1)->SetCentreResize(arg2);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 Py_INCREF(Py_None); resultobj = Py_None;
4164 return resultobj;
4165 fail:
4166 return NULL;
4167 }
4168
4169
4170 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxPyShape *arg1 = (wxPyShape *) 0 ;
4173 bool result;
4174 PyObject * obj0 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 result = (bool)(arg1)->GetCentreResize();
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 resultobj = PyInt_FromLong((long)result);
4189 return resultobj;
4190 fail:
4191 return NULL;
4192 }
4193
4194
4195 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 wxPyShape *arg1 = (wxPyShape *) 0 ;
4198 bool arg2 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "ar", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 arg2 = PyInt_AsLong(obj1) ? true : false;
4208 if (PyErr_Occurred()) SWIG_fail;
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetMaintainAspectRatio(arg2);
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 Py_INCREF(Py_None); resultobj = Py_None;
4217 return resultobj;
4218 fail:
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxPyShape *arg1 = (wxPyShape *) 0 ;
4226 bool result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (bool)(arg1)->GetMaintainAspectRatio();
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 resultobj = PyInt_FromLong((long)result);
4242 return resultobj;
4243 fail:
4244 return NULL;
4245 }
4246
4247
4248 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxPyShape *arg1 = (wxPyShape *) 0 ;
4251 PyObject *result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (PyObject *)wxPyShape_GetLines(arg1);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 resultobj = result;
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxPyShape *arg1 = (wxPyShape *) 0 ;
4276 bool arg2 ;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "flag", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 arg2 = PyInt_AsLong(obj1) ? true : false;
4286 if (PyErr_Occurred()) SWIG_fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 (arg1)->SetDisableLabel(arg2);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 Py_INCREF(Py_None); resultobj = Py_None;
4295 return resultobj;
4296 fail:
4297 return NULL;
4298 }
4299
4300
4301 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxPyShape *arg1 = (wxPyShape *) 0 ;
4304 bool result;
4305 PyObject * obj0 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (bool)(arg1)->GetDisableLabel();
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 resultobj = PyInt_FromLong((long)result);
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxPyShape *arg1 = (wxPyShape *) 0 ;
4329 int arg2 ;
4330 PyObject * obj0 = 0 ;
4331 char *kwnames[] = {
4332 (char *) "self",(char *) "mode", NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetAttachmentMode",kwnames,&obj0,&arg2)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->SetAttachmentMode(arg2);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxPyShape *arg1 = (wxPyShape *) 0 ;
4354 int result;
4355 PyObject * obj0 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
4361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (int)(arg1)->GetAttachmentMode();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = PyInt_FromLong((long)result);
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxPyShape *arg1 = (wxPyShape *) 0 ;
4379 long arg2 ;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "i", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetId",kwnames,&obj0,&arg2)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->SetId(arg2);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxPyShape *arg1 = (wxPyShape *) 0 ;
4404 long result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = (long)(arg1)->GetId();
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 resultobj = PyInt_FromLong((long)result);
4420 return resultobj;
4421 fail:
4422 return NULL;
4423 }
4424
4425
4426 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxPyShape *arg1 = (wxPyShape *) 0 ;
4429 wxPen *arg2 = (wxPen *) 0 ;
4430 PyObject * obj0 = 0 ;
4431 PyObject * obj1 = 0 ;
4432 char *kwnames[] = {
4433 (char *) "self",(char *) "pen", NULL
4434 };
4435
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
4437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4438 {
4439 wxPen* temp;
4440 if (obj1) {
4441 if (obj1 == Py_None) {
4442 temp = NULL;
4443 }
4444 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
4445 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
4446 return NULL;
4447 }
4448 }
4449 if (temp)
4450 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4451 temp->GetWidth(),
4452 temp->GetStyle());
4453 else
4454 arg2 = NULL;
4455 }
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->SetPen(arg2);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 Py_INCREF(Py_None); resultobj = Py_None;
4464 return resultobj;
4465 fail:
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxPyShape *arg1 = (wxPyShape *) 0 ;
4473 wxBrush *arg2 = (wxBrush *) 0 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "brush", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 {
4483 wxBrush* temp;
4484 if (obj1) {
4485 if (obj1 == Py_None) {
4486 temp = NULL;
4487 }
4488 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
4489 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
4490 return NULL;
4491 }
4492 }
4493 if (temp)
4494 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4495 else
4496 arg2 = NULL;
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 (arg1)->SetBrush(arg2);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509 }
4510
4511
4512 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 wxPyShape *arg1 = (wxPyShape *) 0 ;
4515 bool arg2 ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "show", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 arg2 = PyInt_AsLong(obj1) ? true : false;
4525 if (PyErr_Occurred()) SWIG_fail;
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 (arg1)->Show(arg2);
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 Py_INCREF(Py_None); resultobj = Py_None;
4534 return resultobj;
4535 fail:
4536 return NULL;
4537 }
4538
4539
4540 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj;
4542 wxPyShape *arg1 = (wxPyShape *) 0 ;
4543 bool result;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
4550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = (bool)(arg1)->IsShown();
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 resultobj = PyInt_FromLong((long)result);
4559 return resultobj;
4560 fail:
4561 return NULL;
4562 }
4563
4564
4565 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxPyShape *arg1 = (wxPyShape *) 0 ;
4568 wxDC *arg2 = 0 ;
4569 double arg3 ;
4570 double arg4 ;
4571 bool arg5 = (bool) True ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj4 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|O:PyShape_Move",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if (arg2 == NULL) {
4583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4584 }
4585 if (obj4) {
4586 arg5 = PyInt_AsLong(obj4) ? true : false;
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->Move(*arg2,arg3,arg4,arg5);
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
4603 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxPyShape *arg1 = (wxPyShape *) 0 ;
4606 wxDC *arg2 = 0 ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj1 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self",(char *) "dc", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4616 if (arg2 == NULL) {
4617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4618 }
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 (arg1)->Erase(*arg2);
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 Py_INCREF(Py_None); resultobj = Py_None;
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxPyShape *arg1 = (wxPyShape *) 0 ;
4636 wxDC *arg2 = 0 ;
4637 PyObject * obj0 = 0 ;
4638 PyObject * obj1 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self",(char *) "dc", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
4644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4646 if (arg2 == NULL) {
4647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4648 }
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 (arg1)->EraseContents(*arg2);
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 Py_INCREF(Py_None); resultobj = Py_None;
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4664 PyObject *resultobj;
4665 wxPyShape *arg1 = (wxPyShape *) 0 ;
4666 wxDC *arg2 = 0 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 char *kwnames[] = {
4670 (char *) "self",(char *) "dc", NULL
4671 };
4672
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
4674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4676 if (arg2 == NULL) {
4677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4678 }
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 (arg1)->Draw(*arg2);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 Py_INCREF(Py_None); resultobj = Py_None;
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxPyShape *arg1 = (wxPyShape *) 0 ;
4696 PyObject * obj0 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 {
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 (arg1)->Flash();
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 Py_INCREF(Py_None); resultobj = Py_None;
4711 return resultobj;
4712 fail:
4713 return NULL;
4714 }
4715
4716
4717 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4718 PyObject *resultobj;
4719 wxPyShape *arg1 = (wxPyShape *) 0 ;
4720 wxDC *arg2 = 0 ;
4721 PyObject * obj0 = 0 ;
4722 PyObject * obj1 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self",(char *) "dc", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
4728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4730 if (arg2 == NULL) {
4731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4732 }
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 (arg1)->MoveLinks(*arg2);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 Py_INCREF(Py_None); resultobj = Py_None;
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxPyShape *arg1 = (wxPyShape *) 0 ;
4750 wxDC *arg2 = 0 ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 char *kwnames[] = {
4754 (char *) "self",(char *) "dc", NULL
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 if (arg2 == NULL) {
4761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4762 }
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 (arg1)->DrawContents(*arg2);
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 Py_INCREF(Py_None); resultobj = Py_None;
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxPyShape *arg1 = (wxPyShape *) 0 ;
4780 double arg2 ;
4781 double arg3 ;
4782 bool arg4 = (bool) True ;
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj3 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|O:PyShape_SetSize",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4791 if (obj3) {
4792 arg4 = PyInt_AsLong(obj3) ? true : false;
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 (arg1)->SetSize(arg2,arg3,arg4);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 Py_INCREF(Py_None); resultobj = Py_None;
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxPyShape *arg1 = (wxPyShape *) 0 ;
4812 double arg2 ;
4813 double arg3 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self",(char *) "x",(char *) "y", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_SetAttachmentSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
4820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 (arg1)->SetAttachmentSize(arg2,arg3);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxPyShape *arg1 = (wxPyShape *) 0 ;
4838 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self",(char *) "can", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
4846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4848 {
4849 PyThreadState* __tstate = wxPyBeginAllowThreads();
4850 (arg1)->Attach(arg2);
4851
4852 wxPyEndAllowThreads(__tstate);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 }
4855 Py_INCREF(Py_None); resultobj = Py_None;
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4863 PyObject *resultobj;
4864 wxPyShape *arg1 = (wxPyShape *) 0 ;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->Detach();
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxPyShape *arg1 = (wxPyShape *) 0 ;
4889 bool result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (bool)(arg1)->Constrain();
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = PyInt_FromLong((long)result);
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxPyShape *arg1 = (wxPyShape *) 0 ;
4914 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4915 wxPyShape *arg3 = (wxPyShape *) 0 ;
4916 int arg4 = (int) 0 ;
4917 int arg5 = (int) 0 ;
4918 int arg6 = (int) -1 ;
4919 int arg7 = (int) -1 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 PyObject * obj2 = 0 ;
4923 char *kwnames[] = {
4924 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4925 };
4926
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiii:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) 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_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4930 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxPyShape *arg1 = (wxPyShape *) 0 ;
4948 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4949 int result;
4950 PyObject * obj0 = 0 ;
4951 PyObject * obj1 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self",(char *) "line", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 result = (int)(arg1)->GetLinePosition(arg2);
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 resultobj = PyInt_FromLong((long)result);
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxPyShape *arg1 = (wxPyShape *) 0 ;
4976 wxString *arg2 = 0 ;
4977 bool temp2 = False ;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "string", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
4985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 {
4987 arg2 = wxString_in_helper(obj1);
4988 if (arg2 == NULL) SWIG_fail;
4989 temp2 = True;
4990 }
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 (arg1)->AddText((wxString const &)*arg2);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 Py_INCREF(Py_None); resultobj = Py_None;
4999 {
5000 if (temp2)
5001 delete arg2;
5002 }
5003 return resultobj;
5004 fail:
5005 {
5006 if (temp2)
5007 delete arg2;
5008 }
5009 return NULL;
5010 }
5011
5012
5013 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxPyShape *arg1 = (wxPyShape *) 0 ;
5016 wxPen *result;
5017 PyObject * obj0 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (wxPen *)(arg1)->GetPen();
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj;
5040 wxPyShape *arg1 = (wxPyShape *) 0 ;
5041 wxBrush *result;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (wxBrush *)(arg1)->GetBrush();
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxPyShape *arg1 = (wxPyShape *) 0 ;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) 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 (arg1)->SetDefaultRegionSize();
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxPyShape *arg1 = (wxPyShape *) 0 ;
5090 wxDC *arg2 = 0 ;
5091 wxString *arg3 = 0 ;
5092 int arg4 = (int) 0 ;
5093 bool temp3 = False ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 PyObject * obj2 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5104 if (arg2 == NULL) {
5105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5106 }
5107 {
5108 arg3 = wxString_in_helper(obj2);
5109 if (arg3 == NULL) SWIG_fail;
5110 temp3 = True;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 {
5121 if (temp3)
5122 delete arg3;
5123 }
5124 return resultobj;
5125 fail:
5126 {
5127 if (temp3)
5128 delete arg3;
5129 }
5130 return NULL;
5131 }
5132
5133
5134 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxPyShape *arg1 = (wxPyShape *) 0 ;
5137 int arg2 ;
5138 int arg3 = (int) 0 ;
5139 PyObject * obj0 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:PyShape_SetFormatMode",kwnames,&obj0,&arg2,&arg3)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 (arg1)->SetFormatMode(arg2,arg3);
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 Py_INCREF(Py_None); resultobj = Py_None;
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxPyShape *arg1 = (wxPyShape *) 0 ;
5163 int arg2 = (int) 0 ;
5164 int result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "regionId", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFormatMode",kwnames,&obj0,&arg2)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (int)(arg1)->GetFormatMode(arg2);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = PyInt_FromLong((long)result);
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxPyShape *arg1 = (wxPyShape *) 0 ;
5189 wxFont *arg2 = (wxFont *) 0 ;
5190 int arg3 = (int) 0 ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "font",(char *) "regionId", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetFont",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 wxFont* temp;
5201 if (obj1) {
5202 if (obj1 == Py_None) {
5203 temp = NULL;
5204 }
5205 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5206 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5207 return NULL;
5208 }
5209 }
5210 if (temp)
5211 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5212 temp->GetFamily(),
5213 temp->GetStyle(),
5214 temp->GetWeight(),
5215 temp->GetUnderlined(),
5216 temp->GetFaceName(),
5217 temp->GetEncoding());
5218 else
5219 arg2 = NULL;
5220 }
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->SetFont(arg2,arg3);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 Py_INCREF(Py_None); resultobj = Py_None;
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxPyShape *arg1 = (wxPyShape *) 0 ;
5238 int arg2 = (int) 0 ;
5239 wxFont *result;
5240 PyObject * obj0 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self",(char *) "regionId", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFont",kwnames,&obj0,&arg2)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (wxFont *)(arg1)->GetFont(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxPyShape *arg1 = (wxPyShape *) 0 ;
5264 wxString *arg2 = 0 ;
5265 int arg3 = (int) 0 ;
5266 bool temp2 = False ;
5267 PyObject * obj0 = 0 ;
5268 PyObject * obj1 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetTextColour",kwnames,&obj0,&obj1,&arg3)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 {
5276 arg2 = wxString_in_helper(obj1);
5277 if (arg2 == NULL) SWIG_fail;
5278 temp2 = True;
5279 }
5280 {
5281 PyThreadState* __tstate = wxPyBeginAllowThreads();
5282 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
5283
5284 wxPyEndAllowThreads(__tstate);
5285 if (PyErr_Occurred()) SWIG_fail;
5286 }
5287 Py_INCREF(Py_None); resultobj = Py_None;
5288 {
5289 if (temp2)
5290 delete arg2;
5291 }
5292 return resultobj;
5293 fail:
5294 {
5295 if (temp2)
5296 delete arg2;
5297 }
5298 return NULL;
5299 }
5300
5301
5302 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5303 PyObject *resultobj;
5304 wxPyShape *arg1 = (wxPyShape *) 0 ;
5305 int arg2 = (int) 0 ;
5306 wxString result;
5307 PyObject * obj0 = 0 ;
5308 char *kwnames[] = {
5309 (char *) "self",(char *) "regionId", NULL
5310 };
5311
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetTextColour",kwnames,&obj0,&arg2)) goto fail;
5313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (arg1)->GetTextColour(arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 {
5322 #if wxUSE_UNICODE
5323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5324 #else
5325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5326 #endif
5327 }
5328 return resultobj;
5329 fail:
5330 return NULL;
5331 }
5332
5333
5334 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxPyShape *arg1 = (wxPyShape *) 0 ;
5337 int result;
5338 PyObject * obj0 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
5344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (int)(arg1)->GetNumberOfTextRegions();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = PyInt_FromLong((long)result);
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxPyShape *arg1 = (wxPyShape *) 0 ;
5362 wxString *arg2 = 0 ;
5363 int arg3 = (int) 0 ;
5364 bool temp2 = False ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self",(char *) "name",(char *) "regionId", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetRegionName",kwnames,&obj0,&obj1,&arg3)) goto fail;
5372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5373 {
5374 arg2 = wxString_in_helper(obj1);
5375 if (arg2 == NULL) SWIG_fail;
5376 temp2 = True;
5377 }
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 Py_INCREF(Py_None); resultobj = Py_None;
5386 {
5387 if (temp2)
5388 delete arg2;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp2)
5394 delete arg2;
5395 }
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxPyShape *arg1 = (wxPyShape *) 0 ;
5403 int arg2 ;
5404 wxString result;
5405 PyObject * obj0 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "regionId", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetRegionName",kwnames,&obj0,&arg2)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (arg1)->GetRegionName(arg2);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 {
5420 #if wxUSE_UNICODE
5421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5422 #else
5423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5424 #endif
5425 }
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxPyShape *arg1 = (wxPyShape *) 0 ;
5435 wxString *arg2 = 0 ;
5436 int result;
5437 bool temp2 = False ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "name", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 arg2 = wxString_in_helper(obj1);
5448 if (arg2 == NULL) SWIG_fail;
5449 temp2 = True;
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = PyInt_FromLong((long)result);
5459 {
5460 if (temp2)
5461 delete arg2;
5462 }
5463 return resultobj;
5464 fail:
5465 {
5466 if (temp2)
5467 delete arg2;
5468 }
5469 return NULL;
5470 }
5471
5472
5473 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxPyShape *arg1 = (wxPyShape *) 0 ;
5476 wxString const &arg2_defvalue = wxPyEmptyString ;
5477 wxString *arg2 = (wxString *) &arg2_defvalue ;
5478 bool temp2 = False ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "parentName", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 if (obj1) {
5488 {
5489 arg2 = wxString_in_helper(obj1);
5490 if (arg2 == NULL) SWIG_fail;
5491 temp2 = True;
5492 }
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 (arg1)->NameRegions((wxString const &)*arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 Py_INCREF(Py_None); resultobj = Py_None;
5502 {
5503 if (temp2)
5504 delete arg2;
5505 }
5506 return resultobj;
5507 fail:
5508 {
5509 if (temp2)
5510 delete arg2;
5511 }
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxPyShape *arg1 = (wxPyShape *) 0 ;
5519 PyObject *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (PyObject *)wxPyShape_GetRegions(arg1);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 resultobj = result;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxPyShape *arg1 = (wxPyShape *) 0 ;
5544 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "region", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
5552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 (arg1)->AddRegion(arg2);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 Py_INCREF(Py_None); resultobj = Py_None;
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxPyShape *arg1 = (wxPyShape *) 0 ;
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
5577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->ClearRegions();
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 Py_INCREF(Py_None); resultobj = Py_None;
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxPyShape *arg1 = (wxPyShape *) 0 ;
5595 PyObject * obj0 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
5601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->AssignNewIds();
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxPyShape *arg1 = (wxPyShape *) 0 ;
5619 wxString *arg2 = 0 ;
5620 int *arg3 = (int *) 0 ;
5621 wxPyShape *result;
5622 bool temp2 = False ;
5623 int temp3 ;
5624 PyObject * obj0 = 0 ;
5625 PyObject * obj1 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "regionName", NULL
5628 };
5629
5630 arg3 = &temp3;
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 {
5634 arg2 = wxString_in_helper(obj1);
5635 if (arg2 == NULL) SWIG_fail;
5636 temp2 = True;
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 resultobj = wxPyMake_wxShapeEvtHandler(result);
5647 }
5648 {
5649 PyObject *o = PyInt_FromLong((long) (*arg3));
5650 resultobj = t_output_helper(resultobj,o);
5651 }
5652 {
5653 if (temp2)
5654 delete arg2;
5655 }
5656 return resultobj;
5657 fail:
5658 {
5659 if (temp2)
5660 delete arg2;
5661 }
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxPyShape *arg1 = (wxPyShape *) 0 ;
5669 wxStringList *arg2 = 0 ;
5670 PyObject * obj0 = 0 ;
5671 PyObject * obj1 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self",(char *) "list", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
5677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5679 if (arg2 == NULL) {
5680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5681 }
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->FindRegionNames(*arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxPyShape *arg1 = (wxPyShape *) 0 ;
5699 int arg2 = (int) 0 ;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "regionId", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_ClearText",kwnames,&obj0,&arg2)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 (arg1)->ClearText(arg2);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 Py_INCREF(Py_None); resultobj = Py_None;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxPyShape *arg1 = (wxPyShape *) 0 ;
5724 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "line", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->RemoveLine(arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxPyShape *arg1 = (wxPyShape *) 0 ;
5751 int arg2 ;
5752 double *arg3 = (double *) 0 ;
5753 double *arg4 = (double *) 0 ;
5754 int arg5 = (int) 0 ;
5755 int arg6 = (int) 1 ;
5756 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5757 bool result;
5758 double temp3 ;
5759 double temp4 ;
5760 PyObject * obj0 = 0 ;
5761 PyObject * obj4 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5764 };
5765
5766 arg3 = &temp3;
5767 arg4 = &temp4;
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 if (obj4) {
5771 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5772 }
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = PyInt_FromLong((long)result);
5781 {
5782 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5783 resultobj = t_output_helper(resultobj,o);
5784 }
5785 {
5786 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5787 resultobj = t_output_helper(resultobj,o);
5788 }
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxPyShape *arg1 = (wxPyShape *) 0 ;
5798 int result;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (int)(arg1)->GetNumberOfAttachments();
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 resultobj = PyInt_FromLong((long)result);
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxPyShape *arg1 = (wxPyShape *) 0 ;
5823 int arg2 ;
5824 bool result;
5825 PyObject * obj0 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self",(char *) "attachment", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_AttachmentIsValid",kwnames,&obj0,&arg2)) goto fail;
5831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 result = (bool)(arg1)->AttachmentIsValid(arg2);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 resultobj = PyInt_FromLong((long)result);
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 wxPyShape *arg1 = (wxPyShape *) 0 ;
5849 PyObject *result;
5850 PyObject * obj0 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (PyObject *)wxPyShape_GetAttachments(arg1);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = result;
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 wxPyShape *arg1 = (wxPyShape *) 0 ;
5874 int arg2 ;
5875 double *arg3 = (double *) 0 ;
5876 double *arg4 = (double *) 0 ;
5877 int arg5 = (int) 0 ;
5878 int arg6 = (int) 1 ;
5879 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5880 bool result;
5881 double temp3 ;
5882 double temp4 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj4 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5887 };
5888
5889 arg3 = &temp3;
5890 arg4 = &temp4;
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 if (obj4) {
5894 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 }
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = PyInt_FromLong((long)result);
5904 {
5905 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5906 resultobj = t_output_helper(resultobj,o);
5907 }
5908 {
5909 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5910 resultobj = t_output_helper(resultobj,o);
5911 }
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxPyShape *arg1 = (wxPyShape *) 0 ;
5921 wxRealPoint *arg2 = 0 ;
5922 wxRealPoint *arg3 = 0 ;
5923 int arg4 ;
5924 int arg5 ;
5925 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
5926 wxRealPoint result;
5927 wxRealPoint temp2 ;
5928 wxRealPoint temp3 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 PyObject * obj2 = 0 ;
5932 PyObject * obj5 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 arg2 = &temp2;
5941 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
5942 }
5943 {
5944 arg3 = &temp3;
5945 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5946 }
5947 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 {
5956 wxRealPoint * resultptr;
5957 resultptr = new wxRealPoint((wxRealPoint &) result);
5958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5959 }
5960 return resultobj;
5961 fail:
5962 return NULL;
5963 }
5964
5965
5966 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxPyShape *arg1 = (wxPyShape *) 0 ;
5969 int arg2 ;
5970 wxRealPoint *arg3 = 0 ;
5971 wxRealPoint *arg4 = 0 ;
5972 bool result;
5973 wxRealPoint temp3 ;
5974 wxRealPoint temp4 ;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj2 = 0 ;
5977 PyObject * obj3 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
5983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5984 {
5985 arg3 = &temp3;
5986 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5987 }
5988 {
5989 arg4 = &temp4;
5990 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
5991 }
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = PyInt_FromLong((long)result);
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxPyShape *arg1 = (wxPyShape *) 0 ;
6009 wxDC *arg2 = 0 ;
6010 int arg3 = (int) -1 ;
6011 bool arg4 = (bool) False ;
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 PyObject * obj3 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6022 if (arg2 == NULL) {
6023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6024 }
6025 if (obj3) {
6026 arg4 = PyInt_AsLong(obj3) ? true : false;
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 (arg1)->EraseLinks(*arg2,arg3,arg4);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 Py_INCREF(Py_None); resultobj = Py_None;
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxPyShape *arg1 = (wxPyShape *) 0 ;
6046 wxDC *arg2 = 0 ;
6047 int arg3 = (int) -1 ;
6048 bool arg4 = (bool) False ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 PyObject * obj3 = 0 ;
6052 char *kwnames[] = {
6053 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6054 };
6055
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
6057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 if (arg2 == NULL) {
6060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6061 }
6062 if (obj3) {
6063 arg4 = PyInt_AsLong(obj3) ? true : false;
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 (arg1)->DrawLinks(*arg2,arg3,arg4);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 Py_INCREF(Py_None); resultobj = Py_None;
6074 return resultobj;
6075 fail:
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxPyShape *arg1 = (wxPyShape *) 0 ;
6083 wxDC *arg2 = 0 ;
6084 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
6085 double arg4 ;
6086 double arg5 ;
6087 bool result;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6098 if (arg2 == NULL) {
6099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6100 }
6101 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 resultobj = PyInt_FromLong((long)result);
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj;
6118 wxPyShape *arg1 = (wxPyShape *) 0 ;
6119 PyObject *arg2 = (PyObject *) 0 ;
6120 PyObject * obj0 = 0 ;
6121 PyObject * obj1 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self",(char *) "linesToSort", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
6127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6128 arg2 = obj1;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxPyShape *arg1 = (wxPyShape *) 0 ;
6146 int arg2 ;
6147 wxRealPoint result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self",(char *) "attachment", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&arg2)) goto fail;
6154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (arg1)->GetBranchingAttachmentRoot(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 wxRealPoint * resultptr;
6164 resultptr = new wxRealPoint((wxRealPoint &) result);
6165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
6166 }
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxPyShape *arg1 = (wxPyShape *) 0 ;
6176 int arg2 ;
6177 wxRealPoint *arg3 = 0 ;
6178 wxRealPoint *arg4 = 0 ;
6179 wxRealPoint *arg5 = 0 ;
6180 wxRealPoint *arg6 = 0 ;
6181 bool result;
6182 wxRealPoint temp3 ;
6183 wxRealPoint temp4 ;
6184 wxRealPoint temp5 ;
6185 wxRealPoint temp6 ;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj2 = 0 ;
6188 PyObject * obj3 = 0 ;
6189 PyObject * obj4 = 0 ;
6190 PyObject * obj5 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 {
6198 arg3 = &temp3;
6199 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6200 }
6201 {
6202 arg4 = &temp4;
6203 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6204 }
6205 {
6206 arg5 = &temp5;
6207 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6208 }
6209 {
6210 arg6 = &temp6;
6211 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = PyInt_FromLong((long)result);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxPyShape *arg1 = (wxPyShape *) 0 ;
6230 int arg2 ;
6231 int arg3 ;
6232 wxRealPoint *arg4 = 0 ;
6233 wxRealPoint *arg5 = 0 ;
6234 bool result;
6235 wxRealPoint temp4 ;
6236 wxRealPoint temp5 ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj3 = 0 ;
6239 PyObject * obj4 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
6245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 {
6247 arg4 = &temp4;
6248 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6249 }
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = PyInt_FromLong((long)result);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxPyShape *arg1 = (wxPyShape *) 0 ;
6271 int arg2 ;
6272 int result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "attachment", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames,&obj0,&arg2)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (int)(arg1)->GetAttachmentLineCount(arg2);
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = PyInt_FromLong((long)result);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxPyShape *arg1 = (wxPyShape *) 0 ;
6297 int arg2 ;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "len", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames,&obj0,&arg2)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 (arg1)->SetBranchNeckLength(arg2);
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 Py_INCREF(Py_None); resultobj = Py_None;
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxPyShape *arg1 = (wxPyShape *) 0 ;
6322 int result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (int)(arg1)->GetBranchNeckLength();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = PyInt_FromLong((long)result);
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxPyShape *arg1 = (wxPyShape *) 0 ;
6347 int arg2 ;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "len", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchStemLength",kwnames,&obj0,&arg2)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetBranchStemLength(arg2);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxPyShape *arg1 = (wxPyShape *) 0 ;
6372 int result;
6373 PyObject * obj0 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 result = (int)(arg1)->GetBranchStemLength();
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 resultobj = PyInt_FromLong((long)result);
6388 return resultobj;
6389 fail:
6390 return NULL;
6391 }
6392
6393
6394 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxPyShape *arg1 = (wxPyShape *) 0 ;
6397 int arg2 ;
6398 PyObject * obj0 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "self",(char *) "len", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchSpacing",kwnames,&obj0,&arg2)) goto fail;
6404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 (arg1)->SetBranchSpacing(arg2);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxPyShape *arg1 = (wxPyShape *) 0 ;
6422 int result;
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "self", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
6429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (int)(arg1)->GetBranchSpacing();
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 resultobj = PyInt_FromLong((long)result);
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxPyShape *arg1 = (wxPyShape *) 0 ;
6447 long arg2 ;
6448 PyObject * obj0 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self",(char *) "style", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetBranchStyle",kwnames,&obj0,&arg2)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 (arg1)->SetBranchStyle(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
6469 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxPyShape *arg1 = (wxPyShape *) 0 ;
6472 long result;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (long)(arg1)->GetBranchStyle();
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 resultobj = PyInt_FromLong((long)result);
6488 return resultobj;
6489 fail:
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxPyShape *arg1 = (wxPyShape *) 0 ;
6497 int arg2 ;
6498 int result;
6499 PyObject * obj0 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "physicalAttachment", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 resultobj = PyInt_FromLong((long)result);
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxPyShape *arg1 = (wxPyShape *) 0 ;
6523 int arg2 ;
6524 int result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self",(char *) "logicalAttachment", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 resultobj = PyInt_FromLong((long)result);
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxPyShape *arg1 = (wxPyShape *) 0 ;
6549 bool result;
6550 PyObject * obj0 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (bool)(arg1)->Draggable();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 resultobj = PyInt_FromLong((long)result);
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxPyShape *arg1 = (wxPyShape *) 0 ;
6574 wxPyShape *arg2 = (wxPyShape *) 0 ;
6575 bool result;
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "image", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (bool)(arg1)->HasDescendant(arg2);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = PyInt_FromLong((long)result);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxPyShape *arg1 = (wxPyShape *) 0 ;
6602 bool arg2 = (bool) True ;
6603 bool arg3 = (bool) True ;
6604 wxPyShape *result;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 PyObject * obj2 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 if (obj1) {
6615 arg2 = PyInt_AsLong(obj1) ? true : false;
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 if (obj2) {
6619 arg3 = PyInt_AsLong(obj2) ? true : false;
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 {
6630 resultobj = wxPyMake_wxShapeEvtHandler(result);
6631 }
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxPyShape *arg1 = (wxPyShape *) 0 ;
6641 wxPyShape *arg2 = 0 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self",(char *) "copy", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6651 if (arg2 == NULL) {
6652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6653 }
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 (arg1)->Copy(*arg2);
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 Py_INCREF(Py_None); resultobj = Py_None;
6662 return resultobj;
6663 fail:
6664 return NULL;
6665 }
6666
6667
6668 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj;
6670 wxPyShape *arg1 = (wxPyShape *) 0 ;
6671 wxPyShape *arg2 = 0 ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "copy", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 if (arg2 == NULL) {
6682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->CopyWithHandler(*arg2);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxPyShape *arg1 = (wxPyShape *) 0 ;
6701 double arg2 ;
6702 double arg3 ;
6703 double arg4 ;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->Rotate(arg2,arg3,arg4);
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 Py_INCREF(Py_None); resultobj = Py_None;
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxPyShape *arg1 = (wxPyShape *) 0 ;
6728 double result;
6729 PyObject * obj0 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "self", NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
6735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (double)(arg1)->GetRotation();
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 resultobj = PyFloat_FromDouble(result);
6744 return resultobj;
6745 fail:
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxPyShape *arg1 = (wxPyShape *) 0 ;
6753 double arg2 ;
6754 PyObject * obj0 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self",(char *) "rotation", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetRotation",kwnames,&obj0,&arg2)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 (arg1)->SetRotation(arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 Py_INCREF(Py_None); resultobj = Py_None;
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxPyShape *arg1 = (wxPyShape *) 0 ;
6778 PyObject * obj0 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6785 {
6786 PyThreadState* __tstate = wxPyBeginAllowThreads();
6787 (arg1)->ClearAttachments();
6788
6789 wxPyEndAllowThreads(__tstate);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 }
6792 Py_INCREF(Py_None); resultobj = Py_None;
6793 return resultobj;
6794 fail:
6795 return NULL;
6796 }
6797
6798
6799 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxPyShape *arg1 = (wxPyShape *) 0 ;
6802 wxDC *arg2 = 0 ;
6803 PyObject * obj0 = 0 ;
6804 PyObject * obj1 = 0 ;
6805 char *kwnames[] = {
6806 (char *) "self",(char *) "dc", NULL
6807 };
6808
6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
6810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 if (arg2 == NULL) {
6813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->Recentre(*arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxPyShape *arg1 = (wxPyShape *) 0 ;
6832 wxList *arg2 = 0 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "list", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6842 if (arg2 == NULL) {
6843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6844 }
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->ClearPointList(*arg2);
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 Py_INCREF(Py_None); resultobj = Py_None;
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxPyShape *arg1 = (wxPyShape *) 0 ;
6862 wxPen result;
6863 PyObject * obj0 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (arg1)->GetBackgroundPen();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 {
6878 wxPen * resultptr;
6879 resultptr = new wxPen((wxPen &) result);
6880 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
6881 }
6882 return resultobj;
6883 fail:
6884 return NULL;
6885 }
6886
6887
6888 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxPyShape *arg1 = (wxPyShape *) 0 ;
6891 wxBrush result;
6892 PyObject * obj0 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (arg1)->GetBackgroundBrush();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907 wxBrush * resultptr;
6908 resultptr = new wxBrush((wxBrush &) result);
6909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
6910 }
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxPyShape *arg1 = (wxPyShape *) 0 ;
6920 PyObject * obj0 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 (arg1)->base_OnDelete();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxPyShape *arg1 = (wxPyShape *) 0 ;
6944 wxDC *arg2 = 0 ;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self",(char *) "dc", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6954 if (arg2 == NULL) {
6955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6956 }
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->base_OnDraw(*arg2);
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 return resultobj;
6966 fail:
6967 return NULL;
6968 }
6969
6970
6971 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxPyShape *arg1 = (wxPyShape *) 0 ;
6974 wxDC *arg2 = 0 ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj1 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self",(char *) "dc", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 if (arg2 == NULL) {
6985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6986 }
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 (arg1)->base_OnDrawContents(*arg2);
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 Py_INCREF(Py_None); resultobj = Py_None;
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj;
7003 wxPyShape *arg1 = (wxPyShape *) 0 ;
7004 wxDC *arg2 = 0 ;
7005 bool arg3 = (bool) False ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 PyObject * obj2 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "dc",(char *) "erase", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7016 if (arg2 == NULL) {
7017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7018 }
7019 if (obj2) {
7020 arg3 = PyInt_AsLong(obj2) ? true : false;
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 (arg1)->base_OnDrawBranches(*arg2,arg3);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 Py_INCREF(Py_None); resultobj = Py_None;
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxPyShape *arg1 = (wxPyShape *) 0 ;
7040 wxDC *arg2 = 0 ;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self",(char *) "dc", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7050 if (arg2 == NULL) {
7051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7052 }
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 (arg1)->base_OnMoveLinks(*arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 Py_INCREF(Py_None); resultobj = Py_None;
7061 return resultobj;
7062 fail:
7063 return NULL;
7064 }
7065
7066
7067 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxPyShape *arg1 = (wxPyShape *) 0 ;
7070 wxDC *arg2 = 0 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char *kwnames[] = {
7074 (char *) "self",(char *) "dc", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080 if (arg2 == NULL) {
7081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->base_OnErase(*arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxPyShape *arg1 = (wxPyShape *) 0 ;
7100 wxDC *arg2 = 0 ;
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self",(char *) "dc", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
7108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 if (arg2 == NULL) {
7111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->base_OnEraseContents(*arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxPyShape *arg1 = (wxPyShape *) 0 ;
7130 wxDC *arg2 = 0 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "dc", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 if (arg2 == NULL) {
7141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7142 }
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 (arg1)->base_OnHighlight(*arg2);
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 Py_INCREF(Py_None); resultobj = Py_None;
7151 return resultobj;
7152 fail:
7153 return NULL;
7154 }
7155
7156
7157 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxPyShape *arg1 = (wxPyShape *) 0 ;
7160 double arg2 ;
7161 double arg3 ;
7162 int arg4 = (int) 0 ;
7163 int arg5 = (int) 0 ;
7164 PyObject * obj0 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 Py_INCREF(Py_None); resultobj = Py_None;
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxPyShape *arg1 = (wxPyShape *) 0 ;
7188 double arg2 ;
7189 double arg3 ;
7190 int arg4 = (int) 0 ;
7191 int arg5 = (int) 0 ;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 Py_INCREF(Py_None); resultobj = Py_None;
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxPyShape *arg1 = (wxPyShape *) 0 ;
7216 double arg2 ;
7217 double arg3 ;
7218 int arg4 = (int) 0 ;
7219 int arg5 = (int) 0 ;
7220 PyObject * obj0 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxPyShape *arg1 = (wxPyShape *) 0 ;
7244 double arg2 ;
7245 double arg3 ;
7246 PyObject * obj0 = 0 ;
7247 char *kwnames[] = {
7248 (char *) "self",(char *) "x",(char *) "y", NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 (arg1)->base_OnSize(arg2,arg3);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 Py_INCREF(Py_None); resultobj = Py_None;
7261 return resultobj;
7262 fail:
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxPyShape *arg1 = (wxPyShape *) 0 ;
7270 wxDC *arg2 = 0 ;
7271 double arg3 ;
7272 double arg4 ;
7273 double arg5 ;
7274 double arg6 ;
7275 bool arg7 = (bool) True ;
7276 bool result;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 PyObject * obj6 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 if (arg2 == NULL) {
7288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7289 }
7290 if (obj6) {
7291 arg7 = PyInt_AsLong(obj6) ? true : false;
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = PyInt_FromLong((long)result);
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject *resultobj;
7310 wxPyShape *arg1 = (wxPyShape *) 0 ;
7311 wxDC *arg2 = 0 ;
7312 double arg3 ;
7313 double arg4 ;
7314 double arg5 ;
7315 double arg6 ;
7316 bool arg7 = (bool) True ;
7317 PyObject * obj0 = 0 ;
7318 PyObject * obj1 = 0 ;
7319 PyObject * obj6 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7327 if (arg2 == NULL) {
7328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7329 }
7330 if (obj6) {
7331 arg7 = PyInt_AsLong(obj6) ? true : false;
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 Py_INCREF(Py_None); resultobj = Py_None;
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxPyShape *arg1 = (wxPyShape *) 0 ;
7351 bool arg2 ;
7352 double arg3 ;
7353 double arg4 ;
7354 int arg5 = (int) 0 ;
7355 int arg6 = (int) 0 ;
7356 PyObject * obj0 = 0 ;
7357 PyObject * obj1 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7364 arg2 = PyInt_AsLong(obj1) ? true : false;
7365 if (PyErr_Occurred()) SWIG_fail;
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 Py_INCREF(Py_None); resultobj = Py_None;
7374 return resultobj;
7375 fail:
7376 return NULL;
7377 }
7378
7379
7380 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7381 PyObject *resultobj;
7382 wxPyShape *arg1 = (wxPyShape *) 0 ;
7383 double arg2 ;
7384 double arg3 ;
7385 int arg4 = (int) 0 ;
7386 int arg5 = (int) 0 ;
7387 PyObject * obj0 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxPyShape *arg1 = (wxPyShape *) 0 ;
7411 double arg2 ;
7412 double arg3 ;
7413 int arg4 = (int) 0 ;
7414 int arg5 = (int) 0 ;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxPyShape *arg1 = (wxPyShape *) 0 ;
7439 bool arg2 ;
7440 double arg3 ;
7441 double arg4 ;
7442 int arg5 = (int) 0 ;
7443 int arg6 = (int) 0 ;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7452 arg2 = PyInt_AsLong(obj1) ? true : false;
7453 if (PyErr_Occurred()) SWIG_fail;
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxPyShape *arg1 = (wxPyShape *) 0 ;
7471 double arg2 ;
7472 double arg3 ;
7473 int arg4 = (int) 0 ;
7474 int arg5 = (int) 0 ;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
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
7496 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxPyShape *arg1 = (wxPyShape *) 0 ;
7499 double arg2 ;
7500 double arg3 ;
7501 int arg4 = (int) 0 ;
7502 int arg5 = (int) 0 ;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 Py_INCREF(Py_None); resultobj = Py_None;
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxPyShape *arg1 = (wxPyShape *) 0 ;
7527 wxDC *arg2 = 0 ;
7528 double arg3 ;
7529 double arg4 ;
7530 double arg5 ;
7531 double arg6 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 if (arg2 == NULL) {
7542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 Py_INCREF(Py_None); resultobj = Py_None;
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxPyShape *arg1 = (wxPyShape *) 0 ;
7561 wxDC *arg2 = 0 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "dc", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7571 if (arg2 == NULL) {
7572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 (arg1)->base_OnDrawControlPoints(*arg2);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 Py_INCREF(Py_None); resultobj = Py_None;
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxPyShape *arg1 = (wxPyShape *) 0 ;
7591 wxDC *arg2 = 0 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "dc", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 if (arg2 == NULL) {
7602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7603 }
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->base_OnEraseControlPoints(*arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxPyShape *arg1 = (wxPyShape *) 0 ;
7621 wxDC *arg2 = 0 ;
7622 bool arg3 = (bool) True ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 PyObject * obj2 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7633 if (arg2 == NULL) {
7634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7635 }
7636 if (obj2) {
7637 arg3 = PyInt_AsLong(obj2) ? true : false;
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->base_OnMoveLink(*arg2,arg3);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxPyShape *arg1 = (wxPyShape *) 0 ;
7657 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7658 bool arg3 ;
7659 double arg4 ;
7660 double arg5 ;
7661 int arg6 = (int) 0 ;
7662 int arg7 = (int) 0 ;
7663 PyObject * obj0 = 0 ;
7664 PyObject * obj1 = 0 ;
7665 PyObject * obj2 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 arg3 = PyInt_AsLong(obj2) ? true : false;
7674 if (PyErr_Occurred()) SWIG_fail;
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
7682 Py_INCREF(Py_None); resultobj = Py_None;
7683 return resultobj;
7684 fail:
7685 return NULL;
7686 }
7687
7688
7689 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj;
7691 wxPyShape *arg1 = (wxPyShape *) 0 ;
7692 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7693 double arg3 ;
7694 double arg4 ;
7695 int arg5 = (int) 0 ;
7696 int arg6 = (int) 0 ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
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
7720 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxPyShape *arg1 = (wxPyShape *) 0 ;
7723 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7724 double arg3 ;
7725 double arg4 ;
7726 int arg5 = (int) 0 ;
7727 int arg6 = (int) 0 ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxPyShape *arg1 = (wxPyShape *) 0 ;
7754 double arg2 ;
7755 double arg3 ;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "w",(char *) "h", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 (arg1)->base_OnBeginSize(arg2,arg3);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxPyShape *arg1 = (wxPyShape *) 0 ;
7780 double arg2 ;
7781 double arg3 ;
7782 PyObject * obj0 = 0 ;
7783 char *kwnames[] = {
7784 (char *) "self",(char *) "w",(char *) "h", NULL
7785 };
7786
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->base_OnEndSize(arg2,arg3);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
7804 PyObject *obj;
7805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7806 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
7807 Py_INCREF(obj);
7808 return Py_BuildValue((char *)"");
7809 }
7810 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxPseudoMetaFile *result;
7813 char *kwnames[] = {
7814 NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 {
7826 resultobj = wxPyMake_wxObject(result);
7827 }
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
7843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 delete arg1;
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 Py_INCREF(Py_None); resultobj = Py_None;
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7861 wxDC *arg2 = 0 ;
7862 double arg3 ;
7863 double arg4 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
7871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7873 if (arg2 == NULL) {
7874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 (arg1)->Draw(*arg2,arg3,arg4);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7893 PyObject * obj0 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "self", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
7899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 (arg1)->Clear();
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 Py_INCREF(Py_None); resultobj = Py_None;
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7917 wxPseudoMetaFile *arg2 = 0 ;
7918 PyObject * obj0 = 0 ;
7919 PyObject * obj1 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "self",(char *) "copy", NULL
7922 };
7923
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7927 if (arg2 == NULL) {
7928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7929 }
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 (arg1)->Copy(*arg2);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 Py_INCREF(Py_None); resultobj = Py_None;
7938 return resultobj;
7939 fail:
7940 return NULL;
7941 }
7942
7943
7944 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7947 double arg2 ;
7948 double arg3 ;
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self",(char *) "sx",(char *) "sy", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->Scale(arg2,arg3);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7973 double arg2 ;
7974 double arg3 ;
7975 PyObject * obj0 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self",(char *) "w",(char *) "h", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames,&obj0,&arg2,&arg3)) goto fail;
7981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 (arg1)->ScaleTo(arg2,arg3);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7999 double arg2 ;
8000 double arg3 ;
8001 PyObject * obj0 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "x",(char *) "y", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->Translate(arg2,arg3);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8025 double arg2 ;
8026 double arg3 ;
8027 double arg4 ;
8028 PyObject * obj0 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
8034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 (arg1)->Rotate(arg2,arg3,arg4);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 Py_INCREF(Py_None); resultobj = Py_None;
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8052 wxString *arg2 = 0 ;
8053 double *arg3 = (double *) 0 ;
8054 double *arg4 = (double *) 0 ;
8055 bool result;
8056 bool temp2 = False ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj2 = 0 ;
8060 PyObject * obj3 = 0 ;
8061 char *kwnames[] = {
8062 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
8063 };
8064
8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8067 {
8068 arg2 = wxString_in_helper(obj1);
8069 if (arg2 == NULL) SWIG_fail;
8070 temp2 = True;
8071 }
8072 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8073 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = PyInt_FromLong((long)result);
8082 {
8083 if (temp2)
8084 delete arg2;
8085 }
8086 return resultobj;
8087 fail:
8088 {
8089 if (temp2)
8090 delete arg2;
8091 }
8092 return NULL;
8093 }
8094
8095
8096 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8099 double *arg2 = (double *) 0 ;
8100 double *arg3 = (double *) 0 ;
8101 double *arg4 = (double *) 0 ;
8102 double *arg5 = (double *) 0 ;
8103 PyObject * obj0 = 0 ;
8104 PyObject * obj1 = 0 ;
8105 PyObject * obj2 = 0 ;
8106 PyObject * obj3 = 0 ;
8107 PyObject * obj4 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8135 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "shape", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->CalculateSize(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8162 bool arg2 ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "rot", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8171 arg2 = PyInt_AsLong(obj1) ? true : false;
8172 if (PyErr_Occurred()) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->SetRotateable(arg2);
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8190 bool result;
8191 PyObject * obj0 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = (bool)(arg1)->GetRotateable();
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = PyInt_FromLong((long)result);
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8215 double arg2 ;
8216 double arg3 ;
8217 PyObject * obj0 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "w",(char *) "h", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 (arg1)->SetSize(arg2,arg3);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 Py_INCREF(Py_None); resultobj = Py_None;
8232 return resultobj;
8233 fail:
8234 return NULL;
8235 }
8236
8237
8238 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8241 wxBrush *arg2 = (wxBrush *) 0 ;
8242 PyObject * obj0 = 0 ;
8243 PyObject * obj1 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "self",(char *) "brush", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250 {
8251 wxBrush* temp;
8252 if (obj1) {
8253 if (obj1 == Py_None) {
8254 temp = NULL;
8255 }
8256 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8257 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8258 return NULL;
8259 }
8260 }
8261 if (temp)
8262 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8263 else
8264 arg2 = NULL;
8265 }
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->SetFillBrush(arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8283 wxBrush *result;
8284 PyObject * obj0 = 0 ;
8285 char *kwnames[] = {
8286 (char *) "self", NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
8290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = (wxBrush *)(arg1)->GetFillBrush();
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8308 wxPen *arg2 = (wxPen *) 0 ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self",(char *) "pen", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
8316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8317 {
8318 wxPen* temp;
8319 if (obj1) {
8320 if (obj1 == Py_None) {
8321 temp = NULL;
8322 }
8323 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8324 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8325 return NULL;
8326 }
8327 }
8328 if (temp)
8329 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8330 temp->GetWidth(),
8331 temp->GetStyle());
8332 else
8333 arg2 = NULL;
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 (arg1)->SetOutlinePen(arg2);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8352 wxPen *result;
8353 PyObject * obj0 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (wxPen *)(arg1)->GetOutlinePen();
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8377 int arg2 ;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "op", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&arg2)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetOutlineOp(arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8402 int result;
8403 PyObject * obj0 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
8409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (int)(arg1)->GetOutlineOp();
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 resultobj = PyInt_FromLong((long)result);
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8427 bool result;
8428 PyObject * obj0 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
8434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8435 {
8436 PyThreadState* __tstate = wxPyBeginAllowThreads();
8437 result = (bool)(arg1)->IsValid();
8438
8439 wxPyEndAllowThreads(__tstate);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 resultobj = PyInt_FromLong((long)result);
8443 return resultobj;
8444 fail:
8445 return NULL;
8446 }
8447
8448
8449 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj;
8451 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8452 wxPoint *arg2 = 0 ;
8453 wxPoint *arg3 = 0 ;
8454 wxPoint temp2 ;
8455 wxPoint temp3 ;
8456 PyObject * obj0 = 0 ;
8457 PyObject * obj1 = 0 ;
8458 PyObject * obj2 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8465 {
8466 arg2 = &temp2;
8467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8468 }
8469 {
8470 arg3 = &temp3;
8471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 Py_INCREF(Py_None); resultobj = Py_None;
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj;
8489 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8490 wxRect *arg2 = 0 ;
8491 wxRect temp2 ;
8492 PyObject * obj0 = 0 ;
8493 PyObject * obj1 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self",(char *) "rect", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8500 {
8501 arg2 = &temp2;
8502 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8503 }
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->DrawRectangle((wxRect const &)*arg2);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515 }
8516
8517
8518 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj;
8520 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8521 wxRect *arg2 = 0 ;
8522 double arg3 ;
8523 wxRect temp2 ;
8524 PyObject * obj0 = 0 ;
8525 PyObject * obj1 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self",(char *) "rect",(char *) "radius", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
8531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8532 {
8533 arg2 = &temp2;
8534 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8535 }
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 Py_INCREF(Py_None); resultobj = Py_None;
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8553 wxPoint *arg2 = 0 ;
8554 wxPoint *arg3 = 0 ;
8555 wxPoint *arg4 = 0 ;
8556 wxPoint temp2 ;
8557 wxPoint temp3 ;
8558 wxPoint temp4 ;
8559 PyObject * obj0 = 0 ;
8560 PyObject * obj1 = 0 ;
8561 PyObject * obj2 = 0 ;
8562 PyObject * obj3 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 arg2 = &temp2;
8571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8572 }
8573 {
8574 arg3 = &temp3;
8575 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8576 }
8577 {
8578 arg4 = &temp4;
8579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8580 }
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 Py_INCREF(Py_None); resultobj = Py_None;
8589 return resultobj;
8590 fail:
8591 return NULL;
8592 }
8593
8594
8595 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8598 wxRect *arg2 = 0 ;
8599 double arg3 ;
8600 double arg4 ;
8601 wxRect temp2 ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8610 {
8611 arg2 = &temp2;
8612 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8631 wxRect *arg2 = 0 ;
8632 wxRect temp2 ;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self",(char *) "rect", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8641 {
8642 arg2 = &temp2;
8643 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8644 }
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 (arg1)->DrawEllipse((wxRect const &)*arg2);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 Py_INCREF(Py_None); resultobj = Py_None;
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8662 wxPoint *arg2 = 0 ;
8663 wxPoint temp2 ;
8664 PyObject * obj0 = 0 ;
8665 PyObject * obj1 = 0 ;
8666 char *kwnames[] = {
8667 (char *) "self",(char *) "pt", NULL
8668 };
8669
8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
8671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8672 {
8673 arg2 = &temp2;
8674 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8675 }
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->DrawPoint((wxPoint const &)*arg2);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8693 wxString *arg2 = 0 ;
8694 wxPoint *arg3 = 0 ;
8695 bool temp2 = False ;
8696 wxPoint temp3 ;
8697 PyObject * obj0 = 0 ;
8698 PyObject * obj1 = 0 ;
8699 PyObject * obj2 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "text",(char *) "pt", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8706 {
8707 arg2 = wxString_in_helper(obj1);
8708 if (arg2 == NULL) SWIG_fail;
8709 temp2 = True;
8710 }
8711 {
8712 arg3 = &temp3;
8713 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8714 }
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 Py_INCREF(Py_None); resultobj = Py_None;
8723 {
8724 if (temp2)
8725 delete arg2;
8726 }
8727 return resultobj;
8728 fail:
8729 {
8730 if (temp2)
8731 delete arg2;
8732 }
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8740 int arg2 ;
8741 wxPoint *arg3 = (wxPoint *) 0 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj2 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->DrawLines(arg2,arg3);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 Py_INCREF(Py_None); resultobj = Py_None;
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8768 int arg2 ;
8769 wxPoint *arg3 = (wxPoint *) 0 ;
8770 int arg4 = (int) 0 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj2 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
8778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8779 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->DrawPolygon(arg2,arg3,arg4);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8797 int arg2 ;
8798 wxPoint *arg3 = (wxPoint *) 0 ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj2 = 0 ;
8801 char *kwnames[] = {
8802 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8803 };
8804
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
8806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->DrawSpline(arg2,arg3);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 Py_INCREF(Py_None); resultobj = Py_None;
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8825 wxRect *arg2 = 0 ;
8826 wxRect temp2 ;
8827 PyObject * obj0 = 0 ;
8828 PyObject * obj1 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "rect", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8835 {
8836 arg2 = &temp2;
8837 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 (arg1)->SetClippingRect((wxRect const &)*arg2);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 Py_INCREF(Py_None); resultobj = Py_None;
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8856 PyObject * obj0 = 0 ;
8857 char *kwnames[] = {
8858 (char *) "self", NULL
8859 };
8860
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
8862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 (arg1)->DestroyClippingRect();
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 Py_INCREF(Py_None); resultobj = Py_None;
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8880 wxPen *arg2 = (wxPen *) 0 ;
8881 bool arg3 = (bool) FALSE ;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 PyObject * obj2 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 wxPen* temp;
8893 if (obj1) {
8894 if (obj1 == Py_None) {
8895 temp = NULL;
8896 }
8897 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8898 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8899 return NULL;
8900 }
8901 }
8902 if (temp)
8903 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8904 temp->GetWidth(),
8905 temp->GetStyle());
8906 else
8907 arg2 = NULL;
8908 }
8909 if (obj2) {
8910 arg3 = PyInt_AsLong(obj2) ? true : false;
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 (arg1)->SetPen(arg2,arg3);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 Py_INCREF(Py_None); resultobj = Py_None;
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8930 wxBrush *arg2 = (wxBrush *) 0 ;
8931 bool arg3 = (bool) FALSE ;
8932 PyObject * obj0 = 0 ;
8933 PyObject * obj1 = 0 ;
8934 PyObject * obj2 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8941 {
8942 wxBrush* temp;
8943 if (obj1) {
8944 if (obj1 == Py_None) {
8945 temp = NULL;
8946 }
8947 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8948 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8949 return NULL;
8950 }
8951 }
8952 if (temp)
8953 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8954 else
8955 arg2 = NULL;
8956 }
8957 if (obj2) {
8958 arg3 = PyInt_AsLong(obj2) ? true : false;
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetBrush(arg2,arg3);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8978 wxFont *arg2 = (wxFont *) 0 ;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "font", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8987 {
8988 wxFont* temp;
8989 if (obj1) {
8990 if (obj1 == Py_None) {
8991 temp = NULL;
8992 }
8993 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
8994 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
8995 return NULL;
8996 }
8997 }
8998 if (temp)
8999 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
9000 temp->GetFamily(),
9001 temp->GetStyle(),
9002 temp->GetWeight(),
9003 temp->GetUnderlined(),
9004 temp->GetFaceName(),
9005 temp->GetEncoding());
9006 else
9007 arg2 = NULL;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetFont(arg2);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9026 wxColour *arg2 = 0 ;
9027 wxColour temp2 ;
9028 PyObject * obj0 = 0 ;
9029 PyObject * obj1 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "self",(char *) "colour", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
9035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9036 {
9037 arg2 = &temp2;
9038 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9039 }
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->SetTextColour((wxColour const &)*arg2);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 Py_INCREF(Py_None); resultobj = Py_None;
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9057 wxColour *arg2 = 0 ;
9058 wxColour temp2 ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 char *kwnames[] = {
9062 (char *) "self",(char *) "colour", NULL
9063 };
9064
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
9066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9067 {
9068 arg2 = &temp2;
9069 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9088 int arg2 ;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self",(char *) "mode", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
9095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 (arg1)->SetBackgroundMode(arg2);
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 Py_INCREF(Py_None); resultobj = Py_None;
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
9111 PyObject *obj;
9112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
9114 Py_INCREF(obj);
9115 return Py_BuildValue((char *)"");
9116 }
9117 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 double arg1 = (double) 0.0 ;
9120 double arg2 = (double) 0.0 ;
9121 wxPyRectangleShape *result;
9122 char *kwnames[] = {
9123 (char *) "width",(char *) "height", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyRectangleShape",kwnames,&arg1,&arg2)) goto fail;
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9144 PyObject *arg2 = (PyObject *) 0 ;
9145 PyObject *arg3 = (PyObject *) 0 ;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 PyObject * obj2 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self",(char *) "self",(char *) "_class", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9155 arg2 = obj1;
9156 arg3 = obj2;
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 (arg1)->_setCallbackInfo(arg2,arg3);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 Py_INCREF(Py_None); resultobj = Py_None;
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9174 double arg2 ;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "radius", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 (arg1)->SetCornerRadius(arg2);
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 Py_INCREF(Py_None); resultobj = Py_None;
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9199 double result;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (double)(arg1)->GetCornerRadius();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = PyFloat_FromDouble(result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->base_OnDelete();
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 Py_INCREF(Py_None); resultobj = Py_None;
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9248 wxDC *arg2 = 0 ;
9249 PyObject * obj0 = 0 ;
9250 PyObject * obj1 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self",(char *) "dc", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9258 if (arg2 == NULL) {
9259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9260 }
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 (arg1)->base_OnDraw(*arg2);
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 Py_INCREF(Py_None); resultobj = Py_None;
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9278 wxDC *arg2 = 0 ;
9279 PyObject * obj0 = 0 ;
9280 PyObject * obj1 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self",(char *) "dc", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 if (arg2 == NULL) {
9289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9290 }
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 (arg1)->base_OnDrawContents(*arg2);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9308 wxDC *arg2 = 0 ;
9309 bool arg3 = (bool) FALSE ;
9310 PyObject * obj0 = 0 ;
9311 PyObject * obj1 = 0 ;
9312 PyObject * obj2 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self",(char *) "dc",(char *) "erase", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9320 if (arg2 == NULL) {
9321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9322 }
9323 if (obj2) {
9324 arg3 = PyInt_AsLong(obj2) ? true : false;
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 (arg1)->base_OnDrawBranches(*arg2,arg3);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj;
9343 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9344 wxDC *arg2 = 0 ;
9345 PyObject * obj0 = 0 ;
9346 PyObject * obj1 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self",(char *) "dc", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9354 if (arg2 == NULL) {
9355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9356 }
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->base_OnMoveLinks(*arg2);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9374 wxDC *arg2 = 0 ;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self",(char *) "dc", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9384 if (arg2 == NULL) {
9385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9386 }
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 (arg1)->base_OnErase(*arg2);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 Py_INCREF(Py_None); resultobj = Py_None;
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9404 wxDC *arg2 = 0 ;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "dc", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9414 if (arg2 == NULL) {
9415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9416 }
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 (arg1)->base_OnEraseContents(*arg2);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 Py_INCREF(Py_None); resultobj = Py_None;
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9434 wxDC *arg2 = 0 ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self",(char *) "dc", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9444 if (arg2 == NULL) {
9445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9446 }
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 (arg1)->base_OnHighlight(*arg2);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 Py_INCREF(Py_None); resultobj = Py_None;
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9464 double arg2 ;
9465 double arg3 ;
9466 int arg4 = (int) 0 ;
9467 int arg5 = (int) 0 ;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 Py_INCREF(Py_None); resultobj = Py_None;
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9492 double arg2 ;
9493 double arg3 ;
9494 int arg4 = (int) 0 ;
9495 int arg5 = (int) 0 ;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 Py_INCREF(Py_None); resultobj = Py_None;
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9520 double arg2 ;
9521 double arg3 ;
9522 int arg4 = (int) 0 ;
9523 int arg5 = (int) 0 ;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 Py_INCREF(Py_None); resultobj = Py_None;
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9548 double arg2 ;
9549 double arg3 ;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self",(char *) "x",(char *) "y", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 (arg1)->base_OnSize(arg2,arg3);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 Py_INCREF(Py_None); resultobj = Py_None;
9565 return resultobj;
9566 fail:
9567 return NULL;
9568 }
9569
9570
9571 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9574 wxDC *arg2 = 0 ;
9575 double arg3 ;
9576 double arg4 ;
9577 double arg5 ;
9578 double arg6 ;
9579 bool arg7 = (bool) True ;
9580 bool result;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 PyObject * obj6 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 if (arg2 == NULL) {
9592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9593 }
9594 if (obj6) {
9595 arg7 = PyInt_AsLong(obj6) ? true : false;
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = PyInt_FromLong((long)result);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9615 wxDC *arg2 = 0 ;
9616 double arg3 ;
9617 double arg4 ;
9618 double arg5 ;
9619 double arg6 ;
9620 bool arg7 = (bool) True ;
9621 PyObject * obj0 = 0 ;
9622 PyObject * obj1 = 0 ;
9623 PyObject * obj6 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9631 if (arg2 == NULL) {
9632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9633 }
9634 if (obj6) {
9635 arg7 = PyInt_AsLong(obj6) ? true : false;
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 Py_INCREF(Py_None); resultobj = Py_None;
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9655 bool arg2 ;
9656 double arg3 ;
9657 double arg4 ;
9658 int arg5 = (int) 0 ;
9659 int arg6 = (int) 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 arg2 = PyInt_AsLong(obj1) ? true : false;
9669 if (PyErr_Occurred()) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 Py_INCREF(Py_None); resultobj = Py_None;
9678 return resultobj;
9679 fail:
9680 return NULL;
9681 }
9682
9683
9684 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj;
9686 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9687 double arg2 ;
9688 double arg3 ;
9689 int arg4 = (int) 0 ;
9690 int arg5 = (int) 0 ;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 Py_INCREF(Py_None); resultobj = Py_None;
9706 return resultobj;
9707 fail:
9708 return NULL;
9709 }
9710
9711
9712 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9715 double arg2 ;
9716 double arg3 ;
9717 int arg4 = (int) 0 ;
9718 int arg5 = (int) 0 ;
9719 PyObject * obj0 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 return resultobj;
9735 fail:
9736 return NULL;
9737 }
9738
9739
9740 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9743 bool arg2 ;
9744 double arg3 ;
9745 double arg4 ;
9746 int arg5 = (int) 0 ;
9747 int arg6 = (int) 0 ;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj1 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9756 arg2 = PyInt_AsLong(obj1) ? true : false;
9757 if (PyErr_Occurred()) SWIG_fail;
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
9761
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 Py_INCREF(Py_None); resultobj = Py_None;
9766 return resultobj;
9767 fail:
9768 return NULL;
9769 }
9770
9771
9772 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj;
9774 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9775 double arg2 ;
9776 double arg3 ;
9777 int arg4 = (int) 0 ;
9778 int arg5 = (int) 0 ;
9779 PyObject * obj0 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 Py_INCREF(Py_None); resultobj = Py_None;
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9803 double arg2 ;
9804 double arg3 ;
9805 int arg4 = (int) 0 ;
9806 int arg5 = (int) 0 ;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9831 wxDC *arg2 = 0 ;
9832 double arg3 ;
9833 double arg4 ;
9834 double arg5 ;
9835 double arg6 ;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 if (arg2 == NULL) {
9846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 Py_INCREF(Py_None); resultobj = Py_None;
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9865 wxDC *arg2 = 0 ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "dc", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9875 if (arg2 == NULL) {
9876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9877 }
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 (arg1)->base_OnDrawControlPoints(*arg2);
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 Py_INCREF(Py_None); resultobj = Py_None;
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9895 wxDC *arg2 = 0 ;
9896 PyObject * obj0 = 0 ;
9897 PyObject * obj1 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self",(char *) "dc", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
9903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 if (arg2 == NULL) {
9906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9907 }
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 (arg1)->base_OnEraseControlPoints(*arg2);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 Py_INCREF(Py_None); resultobj = Py_None;
9916 return resultobj;
9917 fail:
9918 return NULL;
9919 }
9920
9921
9922 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9923 PyObject *resultobj;
9924 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9925 wxDC *arg2 = 0 ;
9926 bool arg3 = (bool) True ;
9927 PyObject * obj0 = 0 ;
9928 PyObject * obj1 = 0 ;
9929 PyObject * obj2 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
9935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9937 if (arg2 == NULL) {
9938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9939 }
9940 if (obj2) {
9941 arg3 = PyInt_AsLong(obj2) ? true : false;
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 (arg1)->base_OnMoveLink(*arg2,arg3);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 Py_INCREF(Py_None); resultobj = Py_None;
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9961 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9962 bool arg3 ;
9963 double arg4 ;
9964 double arg5 ;
9965 int arg6 = (int) 0 ;
9966 int arg7 = (int) 0 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 PyObject * obj2 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
9975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9977 arg3 = PyInt_AsLong(obj2) ? true : false;
9978 if (PyErr_Occurred()) SWIG_fail;
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 Py_INCREF(Py_None); resultobj = Py_None;
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9996 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9997 double arg3 ;
9998 double arg4 ;
9999 int arg5 = (int) 0 ;
10000 int arg6 = (int) 0 ;
10001 PyObject * obj0 = 0 ;
10002 PyObject * obj1 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 Py_INCREF(Py_None); resultobj = Py_None;
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10027 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10028 double arg3 ;
10029 double arg4 ;
10030 int arg5 = (int) 0 ;
10031 int arg6 = (int) 0 ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 Py_INCREF(Py_None); resultobj = Py_None;
10049 return resultobj;
10050 fail:
10051 return NULL;
10052 }
10053
10054
10055 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10058 double arg2 ;
10059 double arg3 ;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self",(char *) "w",(char *) "h", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->base_OnBeginSize(arg2,arg3);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10084 double arg2 ;
10085 double arg3 ;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "w",(char *) "h", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
10095 (arg1)->base_OnEndSize(arg2,arg3);
10096
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 Py_INCREF(Py_None); resultobj = Py_None;
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
10108 PyObject *obj;
10109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10110 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
10111 Py_INCREF(obj);
10112 return Py_BuildValue((char *)"");
10113 }
10114 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
10117 wxPyShape *arg2 = (wxPyShape *) NULL ;
10118 double arg3 = (double) 0.0 ;
10119 double arg4 = (double) 0.0 ;
10120 double arg5 = (double) 0.0 ;
10121 int arg6 = (int) 0 ;
10122 wxPyControlPoint *result;
10123 PyObject * obj0 = 0 ;
10124 PyObject * obj1 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOdddi:new_PyControlPoint",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10130 if (obj0) {
10131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10132 }
10133 if (obj1) {
10134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10153 PyObject *arg2 = (PyObject *) 0 ;
10154 PyObject *arg3 = (PyObject *) 0 ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 PyObject * obj2 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self",(char *) "self",(char *) "_class", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164 arg2 = obj1;
10165 arg3 = obj2;
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->_setCallbackInfo(arg2,arg3);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 Py_INCREF(Py_None); resultobj = Py_None;
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10183 double arg2 ;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "radius", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetCornerRadius(arg2);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->base_OnDelete();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10232 wxDC *arg2 = 0 ;
10233 PyObject * obj0 = 0 ;
10234 PyObject * obj1 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "dc", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 if (arg2 == NULL) {
10243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10244 }
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->base_OnDraw(*arg2);
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 Py_INCREF(Py_None); resultobj = Py_None;
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10262 wxDC *arg2 = 0 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "dc", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10272 if (arg2 == NULL) {
10273 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 (arg1)->base_OnDrawContents(*arg2);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 Py_INCREF(Py_None); resultobj = Py_None;
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10292 wxDC *arg2 = 0 ;
10293 bool arg3 = (bool) FALSE ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 PyObject * obj2 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self",(char *) "dc",(char *) "erase", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10304 if (arg2 == NULL) {
10305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10306 }
10307 if (obj2) {
10308 arg3 = PyInt_AsLong(obj2) ? true : false;
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->base_OnDrawBranches(*arg2,arg3);
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 Py_INCREF(Py_None); resultobj = Py_None;
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10328 wxDC *arg2 = 0 ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "dc", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10337 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10338 if (arg2 == NULL) {
10339 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10340 }
10341 {
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 (arg1)->base_OnMoveLinks(*arg2);
10344
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 Py_INCREF(Py_None); resultobj = Py_None;
10349 return resultobj;
10350 fail:
10351 return NULL;
10352 }
10353
10354
10355 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10358 wxDC *arg2 = 0 ;
10359 PyObject * obj0 = 0 ;
10360 PyObject * obj1 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self",(char *) "dc", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 if (arg2 == NULL) {
10369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->base_OnErase(*arg2);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 Py_INCREF(Py_None); resultobj = Py_None;
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10388 wxDC *arg2 = 0 ;
10389 PyObject * obj0 = 0 ;
10390 PyObject * obj1 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self",(char *) "dc", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10398 if (arg2 == NULL) {
10399 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10400 }
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 (arg1)->base_OnEraseContents(*arg2);
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 Py_INCREF(Py_None); resultobj = Py_None;
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10418 wxDC *arg2 = 0 ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 char *kwnames[] = {
10422 (char *) "self",(char *) "dc", NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10428 if (arg2 == NULL) {
10429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10430 }
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->base_OnHighlight(*arg2);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10448 double arg2 ;
10449 double arg3 ;
10450 int arg4 = (int) 0 ;
10451 int arg5 = (int) 0 ;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 Py_INCREF(Py_None); resultobj = Py_None;
10467 return resultobj;
10468 fail:
10469 return NULL;
10470 }
10471
10472
10473 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10476 double arg2 ;
10477 double arg3 ;
10478 int arg4 = (int) 0 ;
10479 int arg5 = (int) 0 ;
10480 PyObject * obj0 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10504 double arg2 ;
10505 double arg3 ;
10506 int arg4 = (int) 0 ;
10507 int arg5 = (int) 0 ;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 Py_INCREF(Py_None); resultobj = Py_None;
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10532 double arg2 ;
10533 double arg3 ;
10534 PyObject * obj0 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "x",(char *) "y", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 (arg1)->base_OnSize(arg2,arg3);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 Py_INCREF(Py_None); resultobj = Py_None;
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10558 wxDC *arg2 = 0 ;
10559 double arg3 ;
10560 double arg4 ;
10561 double arg5 ;
10562 double arg6 ;
10563 bool arg7 = (bool) True ;
10564 bool result;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 PyObject * obj6 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 if (arg2 == NULL) {
10576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10577 }
10578 if (obj6) {
10579 arg7 = PyInt_AsLong(obj6) ? true : false;
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 resultobj = PyInt_FromLong((long)result);
10590 return resultobj;
10591 fail:
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10599 wxDC *arg2 = 0 ;
10600 double arg3 ;
10601 double arg4 ;
10602 double arg5 ;
10603 double arg6 ;
10604 bool arg7 = (bool) True ;
10605 PyObject * obj0 = 0 ;
10606 PyObject * obj1 = 0 ;
10607 PyObject * obj6 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10615 if (arg2 == NULL) {
10616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10617 }
10618 if (obj6) {
10619 arg7 = PyInt_AsLong(obj6) ? true : false;
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 Py_INCREF(Py_None); resultobj = Py_None;
10630 return resultobj;
10631 fail:
10632 return NULL;
10633 }
10634
10635
10636 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10639 bool arg2 ;
10640 double arg3 ;
10641 double arg4 ;
10642 int arg5 = (int) 0 ;
10643 int arg6 = (int) 0 ;
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10652 arg2 = PyInt_AsLong(obj1) ? true : false;
10653 if (PyErr_Occurred()) SWIG_fail;
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 Py_INCREF(Py_None); resultobj = Py_None;
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10671 double arg2 ;
10672 double arg3 ;
10673 int arg4 = (int) 0 ;
10674 int arg5 = (int) 0 ;
10675 PyObject * obj0 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10699 double arg2 ;
10700 double arg3 ;
10701 int arg4 = (int) 0 ;
10702 int arg5 = (int) 0 ;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj;
10726 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10727 bool arg2 ;
10728 double arg3 ;
10729 double arg4 ;
10730 int arg5 = (int) 0 ;
10731 int arg6 = (int) 0 ;
10732 PyObject * obj0 = 0 ;
10733 PyObject * obj1 = 0 ;
10734 char *kwnames[] = {
10735 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10736 };
10737
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10740 arg2 = PyInt_AsLong(obj1) ? true : false;
10741 if (PyErr_Occurred()) SWIG_fail;
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 Py_INCREF(Py_None); resultobj = Py_None;
10750 return resultobj;
10751 fail:
10752 return NULL;
10753 }
10754
10755
10756 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10759 double arg2 ;
10760 double arg3 ;
10761 int arg4 = (int) 0 ;
10762 int arg5 = (int) 0 ;
10763 PyObject * obj0 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 Py_INCREF(Py_None); resultobj = Py_None;
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10787 double arg2 ;
10788 double arg3 ;
10789 int arg4 = (int) 0 ;
10790 int arg5 = (int) 0 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 Py_INCREF(Py_None); resultobj = Py_None;
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10815 wxDC *arg2 = 0 ;
10816 double arg3 ;
10817 double arg4 ;
10818 double arg5 ;
10819 double arg6 ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 if (arg2 == NULL) {
10830 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10849 wxDC *arg2 = 0 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "dc", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10859 if (arg2 == NULL) {
10860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 (arg1)->base_OnDrawControlPoints(*arg2);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 return resultobj;
10871 fail:
10872 return NULL;
10873 }
10874
10875
10876 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject *resultobj;
10878 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10879 wxDC *arg2 = 0 ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "self",(char *) "dc", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
10887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 if (arg2 == NULL) {
10890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10891 }
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 (arg1)->base_OnEraseControlPoints(*arg2);
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 Py_INCREF(Py_None); resultobj = Py_None;
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10909 wxDC *arg2 = 0 ;
10910 bool arg3 = (bool) True ;
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
10913 PyObject * obj2 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
10919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10921 if (arg2 == NULL) {
10922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10923 }
10924 if (obj2) {
10925 arg3 = PyInt_AsLong(obj2) ? true : false;
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->base_OnMoveLink(*arg2,arg3);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939 }
10940
10941
10942 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10945 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10946 bool arg3 ;
10947 double arg4 ;
10948 double arg5 ;
10949 int arg6 = (int) 0 ;
10950 int arg7 = (int) 0 ;
10951 PyObject * obj0 = 0 ;
10952 PyObject * obj1 = 0 ;
10953 PyObject * obj2 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10961 arg3 = PyInt_AsLong(obj2) ? true : false;
10962 if (PyErr_Occurred()) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 Py_INCREF(Py_None); resultobj = Py_None;
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10980 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10981 double arg3 ;
10982 double arg4 ;
10983 int arg5 = (int) 0 ;
10984 int arg6 = (int) 0 ;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj;
11010 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11011 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11012 double arg3 ;
11013 double arg4 ;
11014 int arg5 = (int) 0 ;
11015 int arg6 = (int) 0 ;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11042 double arg2 ;
11043 double arg3 ;
11044 PyObject * obj0 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self",(char *) "w",(char *) "h", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 (arg1)->base_OnBeginSize(arg2,arg3);
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 Py_INCREF(Py_None); resultobj = Py_None;
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
11068 double arg2 ;
11069 double arg3 ;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "w",(char *) "h", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->base_OnEndSize(arg2,arg3);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088 }
11089
11090
11091 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
11092 PyObject *obj;
11093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11094 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
11095 Py_INCREF(obj);
11096 return Py_BuildValue((char *)"");
11097 }
11098 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxPyBitmapShape *result;
11101 char *kwnames[] = {
11102 NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (wxPyBitmapShape *)new wxPyBitmapShape();
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11123 PyObject *arg2 = (PyObject *) 0 ;
11124 PyObject *arg3 = (PyObject *) 0 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 PyObject * obj2 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self",(char *) "self",(char *) "_class", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11134 arg2 = obj1;
11135 arg3 = obj2;
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->_setCallbackInfo(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
11150 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11153 wxBitmap *result;
11154 PyObject * obj0 = 0 ;
11155 char *kwnames[] = {
11156 (char *) "self", NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
11160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 {
11164 wxBitmap &_result_ref = (arg1)->GetBitmap();
11165 result = (wxBitmap *) &_result_ref;
11166 }
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
11172 return resultobj;
11173 fail:
11174 return NULL;
11175 }
11176
11177
11178 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11179 PyObject *resultobj;
11180 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11181 wxString result;
11182 PyObject * obj0 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
11188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 result = (arg1)->GetFilename();
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 {
11197 #if wxUSE_UNICODE
11198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11199 #else
11200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11201 #endif
11202 }
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11212 wxBitmap *arg2 = 0 ;
11213 PyObject * obj0 = 0 ;
11214 PyObject * obj1 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "self",(char *) "bitmap", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 if (arg2 == NULL) {
11223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11224 }
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 Py_INCREF(Py_None); resultobj = Py_None;
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11242 wxString *arg2 = 0 ;
11243 bool temp2 = False ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "filename", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 {
11253 arg2 = wxString_in_helper(obj1);
11254 if (arg2 == NULL) SWIG_fail;
11255 temp2 = True;
11256 }
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 (arg1)->SetFilename((wxString const &)*arg2);
11260
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 Py_INCREF(Py_None); resultobj = Py_None;
11265 {
11266 if (temp2)
11267 delete arg2;
11268 }
11269 return resultobj;
11270 fail:
11271 {
11272 if (temp2)
11273 delete arg2;
11274 }
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 (arg1)->base_OnDelete();
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11306 wxDC *arg2 = 0 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self",(char *) "dc", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
11314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11316 if (arg2 == NULL) {
11317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11318 }
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 (arg1)->base_OnDraw(*arg2);
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 Py_INCREF(Py_None); resultobj = Py_None;
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11336 wxDC *arg2 = 0 ;
11337 PyObject * obj0 = 0 ;
11338 PyObject * obj1 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "dc", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 if (arg2 == NULL) {
11347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->base_OnDrawContents(*arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11366 wxDC *arg2 = 0 ;
11367 bool arg3 = (bool) FALSE ;
11368 PyObject * obj0 = 0 ;
11369 PyObject * obj1 = 0 ;
11370 PyObject * obj2 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self",(char *) "dc",(char *) "erase", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
11376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11378 if (arg2 == NULL) {
11379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11380 }
11381 if (obj2) {
11382 arg3 = PyInt_AsLong(obj2) ? true : false;
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->base_OnDrawBranches(*arg2,arg3);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11402 wxDC *arg2 = 0 ;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "dc", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11412 if (arg2 == NULL) {
11413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11414 }
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 (arg1)->base_OnMoveLinks(*arg2);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 Py_INCREF(Py_None); resultobj = Py_None;
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11432 wxDC *arg2 = 0 ;
11433 PyObject * obj0 = 0 ;
11434 PyObject * obj1 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self",(char *) "dc", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
11440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11442 if (arg2 == NULL) {
11443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11444 }
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 (arg1)->base_OnErase(*arg2);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 Py_INCREF(Py_None); resultobj = Py_None;
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11462 wxDC *arg2 = 0 ;
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self",(char *) "dc", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11472 if (arg2 == NULL) {
11473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11474 }
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 (arg1)->base_OnEraseContents(*arg2);
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 Py_INCREF(Py_None); resultobj = Py_None;
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11492 wxDC *arg2 = 0 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "dc", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11502 if (arg2 == NULL) {
11503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->base_OnHighlight(*arg2);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 return resultobj;
11514 fail:
11515 return NULL;
11516 }
11517
11518
11519 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11522 double arg2 ;
11523 double arg3 ;
11524 int arg4 = (int) 0 ;
11525 int arg5 = (int) 0 ;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11550 double arg2 ;
11551 double arg3 ;
11552 int arg4 = (int) 0 ;
11553 int arg5 = (int) 0 ;
11554 PyObject * obj0 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 Py_INCREF(Py_None); resultobj = Py_None;
11569 return resultobj;
11570 fail:
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11578 double arg2 ;
11579 double arg3 ;
11580 int arg4 = (int) 0 ;
11581 int arg5 = (int) 0 ;
11582 PyObject * obj0 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 Py_INCREF(Py_None); resultobj = Py_None;
11597 return resultobj;
11598 fail:
11599 return NULL;
11600 }
11601
11602
11603 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11606 double arg2 ;
11607 double arg3 ;
11608 PyObject * obj0 = 0 ;
11609 char *kwnames[] = {
11610 (char *) "self",(char *) "x",(char *) "y", NULL
11611 };
11612
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->base_OnSize(arg2,arg3);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11632 wxDC *arg2 = 0 ;
11633 double arg3 ;
11634 double arg4 ;
11635 double arg5 ;
11636 double arg6 ;
11637 bool arg7 = (bool) True ;
11638 bool result;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
11641 PyObject * obj6 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11649 if (arg2 == NULL) {
11650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11651 }
11652 if (obj6) {
11653 arg7 = PyInt_AsLong(obj6) ? true : false;
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = PyInt_FromLong((long)result);
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11673 wxDC *arg2 = 0 ;
11674 double arg3 ;
11675 double arg4 ;
11676 double arg5 ;
11677 double arg6 ;
11678 bool arg7 = (bool) True ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 PyObject * obj6 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11689 if (arg2 == NULL) {
11690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11691 }
11692 if (obj6) {
11693 arg7 = PyInt_AsLong(obj6) ? true : false;
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 Py_INCREF(Py_None); resultobj = Py_None;
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj;
11712 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11713 bool arg2 ;
11714 double arg3 ;
11715 double arg4 ;
11716 int arg5 = (int) 0 ;
11717 int arg6 = (int) 0 ;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11726 arg2 = PyInt_AsLong(obj1) ? true : false;
11727 if (PyErr_Occurred()) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 Py_INCREF(Py_None); resultobj = Py_None;
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11745 double arg2 ;
11746 double arg3 ;
11747 int arg4 = (int) 0 ;
11748 int arg5 = (int) 0 ;
11749 PyObject * obj0 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 Py_INCREF(Py_None); resultobj = Py_None;
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11773 double arg2 ;
11774 double arg3 ;
11775 int arg4 = (int) 0 ;
11776 int arg5 = (int) 0 ;
11777 PyObject * obj0 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 Py_INCREF(Py_None); resultobj = Py_None;
11792 return resultobj;
11793 fail:
11794 return NULL;
11795 }
11796
11797
11798 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj;
11800 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11801 bool arg2 ;
11802 double arg3 ;
11803 double arg4 ;
11804 int arg5 = (int) 0 ;
11805 int arg6 = (int) 0 ;
11806 PyObject * obj0 = 0 ;
11807 PyObject * obj1 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11814 arg2 = PyInt_AsLong(obj1) ? true : false;
11815 if (PyErr_Occurred()) SWIG_fail;
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11819
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 }
11823 Py_INCREF(Py_None); resultobj = Py_None;
11824 return resultobj;
11825 fail:
11826 return NULL;
11827 }
11828
11829
11830 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11833 double arg2 ;
11834 double arg3 ;
11835 int arg4 = (int) 0 ;
11836 int arg5 = (int) 0 ;
11837 PyObject * obj0 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 Py_INCREF(Py_None); resultobj = Py_None;
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11861 double arg2 ;
11862 double arg3 ;
11863 int arg4 = (int) 0 ;
11864 int arg5 = (int) 0 ;
11865 PyObject * obj0 = 0 ;
11866 char *kwnames[] = {
11867 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11868 };
11869
11870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 Py_INCREF(Py_None); resultobj = Py_None;
11880 return resultobj;
11881 fail:
11882 return NULL;
11883 }
11884
11885
11886 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11889 wxDC *arg2 = 0 ;
11890 double arg3 ;
11891 double arg4 ;
11892 double arg5 ;
11893 double arg6 ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
11896 char *kwnames[] = {
11897 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11898 };
11899
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11903 if (arg2 == NULL) {
11904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11905 }
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 Py_INCREF(Py_None); resultobj = Py_None;
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj;
11922 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11923 wxDC *arg2 = 0 ;
11924 PyObject * obj0 = 0 ;
11925 PyObject * obj1 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self",(char *) "dc", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11933 if (arg2 == NULL) {
11934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11935 }
11936 {
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 (arg1)->base_OnDrawControlPoints(*arg2);
11939
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 Py_INCREF(Py_None); resultobj = Py_None;
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11951 PyObject *resultobj;
11952 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11953 wxDC *arg2 = 0 ;
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 char *kwnames[] = {
11957 (char *) "self",(char *) "dc", NULL
11958 };
11959
11960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11963 if (arg2 == NULL) {
11964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 (arg1)->base_OnEraseControlPoints(*arg2);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 Py_INCREF(Py_None); resultobj = Py_None;
11974 return resultobj;
11975 fail:
11976 return NULL;
11977 }
11978
11979
11980 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj;
11982 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11983 wxDC *arg2 = 0 ;
11984 bool arg3 = (bool) True ;
11985 PyObject * obj0 = 0 ;
11986 PyObject * obj1 = 0 ;
11987 PyObject * obj2 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11995 if (arg2 == NULL) {
11996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11997 }
11998 if (obj2) {
11999 arg3 = PyInt_AsLong(obj2) ? true : false;
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 (arg1)->base_OnMoveLink(*arg2,arg3);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 Py_INCREF(Py_None); resultobj = Py_None;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013 }
12014
12015
12016 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12019 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12020 bool arg3 ;
12021 double arg4 ;
12022 double arg5 ;
12023 int arg6 = (int) 0 ;
12024 int arg7 = (int) 0 ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 PyObject * obj2 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
12033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12035 arg3 = PyInt_AsLong(obj2) ? true : false;
12036 if (PyErr_Occurred()) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 Py_INCREF(Py_None); resultobj = Py_None;
12045 return resultobj;
12046 fail:
12047 return NULL;
12048 }
12049
12050
12051 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12054 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12055 double arg3 ;
12056 double arg4 ;
12057 int arg5 = (int) 0 ;
12058 int arg6 = (int) 0 ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 Py_INCREF(Py_None); resultobj = Py_None;
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12085 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
12086 double arg3 ;
12087 double arg4 ;
12088 int arg5 = (int) 0 ;
12089 int arg6 = (int) 0 ;
12090 PyObject * obj0 = 0 ;
12091 PyObject * obj1 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
12097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 Py_INCREF(Py_None); resultobj = Py_None;
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12116 double arg2 ;
12117 double arg3 ;
12118 PyObject * obj0 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "w",(char *) "h", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 (arg1)->base_OnBeginSize(arg2,arg3);
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 Py_INCREF(Py_None); resultobj = Py_None;
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj;
12141 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
12142 double arg2 ;
12143 double arg3 ;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "w",(char *) "h", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->base_OnEndSize(arg2,arg3);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
12166 PyObject *obj;
12167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12168 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
12169 Py_INCREF(obj);
12170 return Py_BuildValue((char *)"");
12171 }
12172 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxPyDrawnShape *result;
12175 char *kwnames[] = {
12176 NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (wxPyDrawnShape *)new wxPyDrawnShape();
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12197 PyObject *arg2 = (PyObject *) 0 ;
12198 PyObject *arg3 = (PyObject *) 0 ;
12199 PyObject * obj0 = 0 ;
12200 PyObject * obj1 = 0 ;
12201 PyObject * obj2 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self",(char *) "self",(char *) "_class", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12208 arg2 = obj1;
12209 arg3 = obj2;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 (arg1)->_setCallbackInfo(arg2,arg3);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 Py_INCREF(Py_None); resultobj = Py_None;
12218 return resultobj;
12219 fail:
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12227 PyObject * obj0 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
12233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 (arg1)->CalculateSize();
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 Py_INCREF(Py_None); resultobj = Py_None;
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj;
12250 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12251 PyObject * obj0 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "self", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
12257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 (arg1)->DestroyClippingRect();
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 Py_INCREF(Py_None); resultobj = Py_None;
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12275 wxPoint *arg2 = 0 ;
12276 wxPoint *arg3 = 0 ;
12277 wxPoint *arg4 = 0 ;
12278 wxPoint temp2 ;
12279 wxPoint temp3 ;
12280 wxPoint temp4 ;
12281 PyObject * obj0 = 0 ;
12282 PyObject * obj1 = 0 ;
12283 PyObject * obj2 = 0 ;
12284 PyObject * obj3 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12291 {
12292 arg2 = &temp2;
12293 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12294 }
12295 {
12296 arg3 = &temp3;
12297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12298 }
12299 {
12300 arg4 = &temp4;
12301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12302 }
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 Py_INCREF(Py_None); resultobj = Py_None;
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12320 int arg2 ;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "angle", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&arg2)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->DrawAtAngle(arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12345 wxRect *arg2 = 0 ;
12346 double arg3 ;
12347 double arg4 ;
12348 wxRect temp2 ;
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12357 {
12358 arg2 = &temp2;
12359 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12360 }
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 Py_INCREF(Py_None); resultobj = Py_None;
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj;
12377 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12378 wxPoint *arg2 = 0 ;
12379 wxPoint *arg3 = 0 ;
12380 wxPoint temp2 ;
12381 wxPoint temp3 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 PyObject * obj2 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "self",(char *) "point1",(char *) "point2", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12391 {
12392 arg2 = &temp2;
12393 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12394 }
12395 {
12396 arg3 = &temp3;
12397 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12398 }
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 Py_INCREF(Py_None); resultobj = Py_None;
12407 return resultobj;
12408 fail:
12409 return NULL;
12410 }
12411
12412
12413 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12416 int arg2 ;
12417 wxPoint *arg3 = (wxPoint *) 0 ;
12418 PyObject * obj0 = 0 ;
12419 PyObject * obj2 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 (arg1)->DrawLines(arg2,arg3);
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 Py_INCREF(Py_None); resultobj = Py_None;
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj;
12443 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12444 wxPoint *arg2 = 0 ;
12445 wxPoint temp2 ;
12446 PyObject * obj0 = 0 ;
12447 PyObject * obj1 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self",(char *) "point", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 {
12455 arg2 = &temp2;
12456 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->DrawPoint((wxPoint const &)*arg2);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12473 PyObject *resultobj;
12474 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12475 int arg2 ;
12476 wxPoint *arg3 = (wxPoint *) 0 ;
12477 int arg4 = (int) 0 ;
12478 PyObject * obj0 = 0 ;
12479 PyObject * obj2 = 0 ;
12480 char *kwnames[] = {
12481 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12482 };
12483
12484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
12485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12486 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 (arg1)->DrawPolygon(arg2,arg3,arg4);
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 Py_INCREF(Py_None); resultobj = Py_None;
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12502 PyObject *resultobj;
12503 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12504 wxRect *arg2 = 0 ;
12505 wxRect temp2 ;
12506 PyObject * obj0 = 0 ;
12507 PyObject * obj1 = 0 ;
12508 char *kwnames[] = {
12509 (char *) "self",(char *) "rect", NULL
12510 };
12511
12512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
12513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12514 {
12515 arg2 = &temp2;
12516 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12517 }
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 (arg1)->DrawRectangle((wxRect const &)*arg2);
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 Py_INCREF(Py_None); resultobj = Py_None;
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12535 wxRect *arg2 = 0 ;
12536 double arg3 ;
12537 wxRect temp2 ;
12538 PyObject * obj0 = 0 ;
12539 PyObject * obj1 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "rect",(char *) "radius", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
12545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12546 {
12547 arg2 = &temp2;
12548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12549 }
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 Py_INCREF(Py_None); resultobj = Py_None;
12558 return resultobj;
12559 fail:
12560 return NULL;
12561 }
12562
12563
12564 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12567 int arg2 ;
12568 wxPoint *arg3 = (wxPoint *) 0 ;
12569 PyObject * obj0 = 0 ;
12570 PyObject * obj2 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12577 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 (arg1)->DrawSpline(arg2,arg3);
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 Py_INCREF(Py_None); resultobj = Py_None;
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12595 wxString *arg2 = 0 ;
12596 wxPoint *arg3 = 0 ;
12597 bool temp2 = False ;
12598 wxPoint temp3 ;
12599 PyObject * obj0 = 0 ;
12600 PyObject * obj1 = 0 ;
12601 PyObject * obj2 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self",(char *) "text",(char *) "point", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12608 {
12609 arg2 = wxString_in_helper(obj1);
12610 if (arg2 == NULL) SWIG_fail;
12611 temp2 = True;
12612 }
12613 {
12614 arg3 = &temp3;
12615 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12616 }
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 Py_INCREF(Py_None); resultobj = Py_None;
12625 {
12626 if (temp2)
12627 delete arg2;
12628 }
12629 return resultobj;
12630 fail:
12631 {
12632 if (temp2)
12633 delete arg2;
12634 }
12635 return NULL;
12636 }
12637
12638
12639 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj;
12641 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12642 int result;
12643 PyObject * obj0 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (int)(arg1)->GetAngle();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 resultobj = PyInt_FromLong((long)result);
12658 return resultobj;
12659 fail:
12660 return NULL;
12661 }
12662
12663
12664 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12667 wxPseudoMetaFile *result;
12668 PyObject * obj0 = 0 ;
12669 char *kwnames[] = {
12670 (char *) "self", NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
12674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 {
12678 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
12679 result = (wxPseudoMetaFile *) &_result_ref;
12680 }
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12695 double result;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (double)(arg1)->GetRotation();
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 resultobj = PyFloat_FromDouble(result);
12711 return resultobj;
12712 fail:
12713 return NULL;
12714 }
12715
12716
12717 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12720 wxString *arg2 = 0 ;
12721 bool result;
12722 bool temp2 = False ;
12723 PyObject * obj0 = 0 ;
12724 PyObject * obj1 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self",(char *) "filename", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
12730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12731 {
12732 arg2 = wxString_in_helper(obj1);
12733 if (arg2 == NULL) SWIG_fail;
12734 temp2 = True;
12735 }
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = PyInt_FromLong((long)result);
12744 {
12745 if (temp2)
12746 delete arg2;
12747 }
12748 return resultobj;
12749 fail:
12750 {
12751 if (temp2)
12752 delete arg2;
12753 }
12754 return NULL;
12755 }
12756
12757
12758 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
12759 PyObject *resultobj;
12760 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12761 double arg2 ;
12762 double arg3 ;
12763 double arg4 ;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyDrawnShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
12770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 (arg1)->Rotate(arg2,arg3,arg4);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 Py_INCREF(Py_None); resultobj = Py_None;
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12788 wxRect *arg2 = 0 ;
12789 wxRect temp2 ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self",(char *) "rect", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12798 {
12799 arg2 = &temp2;
12800 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12801 }
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 (arg1)->SetClippingRect((wxRect const &)*arg2);
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 Py_INCREF(Py_None); resultobj = Py_None;
12810 return resultobj;
12811 fail:
12812 return NULL;
12813 }
12814
12815
12816 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj;
12818 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12819 wxColour *arg2 = 0 ;
12820 wxColour temp2 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "colour", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12829 {
12830 arg2 = &temp2;
12831 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12832 }
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 Py_INCREF(Py_None); resultobj = Py_None;
12841 return resultobj;
12842 fail:
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12850 int arg2 ;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self",(char *) "mode", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
12857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->SetDrawnBackgroundMode(arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12875 wxBrush *arg2 = (wxBrush *) 0 ;
12876 bool arg3 = (bool) FALSE ;
12877 PyObject * obj0 = 0 ;
12878 PyObject * obj1 = 0 ;
12879 PyObject * obj2 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
12885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12886 {
12887 wxBrush* temp;
12888 if (obj1) {
12889 if (obj1 == Py_None) {
12890 temp = NULL;
12891 }
12892 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
12893 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
12894 return NULL;
12895 }
12896 }
12897 if (temp)
12898 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
12899 else
12900 arg2 = NULL;
12901 }
12902 if (obj2) {
12903 arg3 = PyInt_AsLong(obj2) ? true : false;
12904 if (PyErr_Occurred()) SWIG_fail;
12905 }
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 (arg1)->SetDrawnBrush(arg2,arg3);
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 Py_INCREF(Py_None); resultobj = Py_None;
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12923 wxFont *arg2 = (wxFont *) 0 ;
12924 PyObject * obj0 = 0 ;
12925 PyObject * obj1 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self",(char *) "font", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12932 {
12933 wxFont* temp;
12934 if (obj1) {
12935 if (obj1 == Py_None) {
12936 temp = NULL;
12937 }
12938 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
12939 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
12940 return NULL;
12941 }
12942 }
12943 if (temp)
12944 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
12945 temp->GetFamily(),
12946 temp->GetStyle(),
12947 temp->GetWeight(),
12948 temp->GetUnderlined(),
12949 temp->GetFaceName(),
12950 temp->GetEncoding());
12951 else
12952 arg2 = NULL;
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 (arg1)->SetDrawnFont(arg2);
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 Py_INCREF(Py_None); resultobj = Py_None;
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12971 wxPen *arg2 = (wxPen *) 0 ;
12972 bool arg3 = (bool) FALSE ;
12973 PyObject * obj0 = 0 ;
12974 PyObject * obj1 = 0 ;
12975 PyObject * obj2 = 0 ;
12976 char *kwnames[] = {
12977 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
12981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12982 {
12983 wxPen* temp;
12984 if (obj1) {
12985 if (obj1 == Py_None) {
12986 temp = NULL;
12987 }
12988 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
12989 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
12990 return NULL;
12991 }
12992 }
12993 if (temp)
12994 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
12995 temp->GetWidth(),
12996 temp->GetStyle());
12997 else
12998 arg2 = NULL;
12999 }
13000 if (obj2) {
13001 arg3 = PyInt_AsLong(obj2) ? true : false;
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 (arg1)->SetDrawnPen(arg2,arg3);
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 Py_INCREF(Py_None); resultobj = Py_None;
13012 return resultobj;
13013 fail:
13014 return NULL;
13015 }
13016
13017
13018 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13021 wxColour *arg2 = 0 ;
13022 wxColour temp2 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "colour", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031 {
13032 arg2 = &temp2;
13033 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13034 }
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13052 double arg2 ;
13053 double arg3 ;
13054 PyObject * obj0 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "sx",(char *) "sy", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 (arg1)->Scale(arg2,arg3);
13064
13065 wxPyEndAllowThreads(__tstate);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 Py_INCREF(Py_None); resultobj = Py_None;
13069 return resultobj;
13070 fail:
13071 return NULL;
13072 }
13073
13074
13075 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj;
13077 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13078 bool arg2 ;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self",(char *) "save", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 arg2 = PyInt_AsLong(obj1) ? true : false;
13088 if (PyErr_Occurred()) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 (arg1)->SetSaveToFile(arg2);
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 Py_INCREF(Py_None); resultobj = Py_None;
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13106 double arg2 ;
13107 double arg3 ;
13108 PyObject * obj0 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "self",(char *) "x",(char *) "y", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
13114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 (arg1)->Translate(arg2,arg3);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 Py_INCREF(Py_None); resultobj = Py_None;
13123 return resultobj;
13124 fail:
13125 return NULL;
13126 }
13127
13128
13129 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13132 PyObject * obj0 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 (arg1)->base_OnDelete();
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 Py_INCREF(Py_None); resultobj = Py_None;
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj;
13155 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13156 wxDC *arg2 = 0 ;
13157 PyObject * obj0 = 0 ;
13158 PyObject * obj1 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "self",(char *) "dc", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13166 if (arg2 == NULL) {
13167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13168 }
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 (arg1)->base_OnDraw(*arg2);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 Py_INCREF(Py_None); resultobj = Py_None;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13186 wxDC *arg2 = 0 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "dc", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13196 if (arg2 == NULL) {
13197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13198 }
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 (arg1)->base_OnDrawContents(*arg2);
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 Py_INCREF(Py_None); resultobj = Py_None;
13207 return resultobj;
13208 fail:
13209 return NULL;
13210 }
13211
13212
13213 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj;
13215 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13216 wxDC *arg2 = 0 ;
13217 bool arg3 = (bool) FALSE ;
13218 PyObject * obj0 = 0 ;
13219 PyObject * obj1 = 0 ;
13220 PyObject * obj2 = 0 ;
13221 char *kwnames[] = {
13222 (char *) "self",(char *) "dc",(char *) "erase", NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13228 if (arg2 == NULL) {
13229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13230 }
13231 if (obj2) {
13232 arg3 = PyInt_AsLong(obj2) ? true : false;
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 (arg1)->base_OnDrawBranches(*arg2,arg3);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 Py_INCREF(Py_None); resultobj = Py_None;
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13252 wxDC *arg2 = 0 ;
13253 PyObject * obj0 = 0 ;
13254 PyObject * obj1 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self",(char *) "dc", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13262 if (arg2 == NULL) {
13263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13264 }
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 (arg1)->base_OnMoveLinks(*arg2);
13268
13269 wxPyEndAllowThreads(__tstate);
13270 if (PyErr_Occurred()) SWIG_fail;
13271 }
13272 Py_INCREF(Py_None); resultobj = Py_None;
13273 return resultobj;
13274 fail:
13275 return NULL;
13276 }
13277
13278
13279 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13282 wxDC *arg2 = 0 ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 char *kwnames[] = {
13286 (char *) "self",(char *) "dc", NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13292 if (arg2 == NULL) {
13293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13294 }
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 (arg1)->base_OnErase(*arg2);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 Py_INCREF(Py_None); resultobj = Py_None;
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13312 wxDC *arg2 = 0 ;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "dc", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 if (arg2 == NULL) {
13323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13324 }
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 (arg1)->base_OnEraseContents(*arg2);
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 Py_INCREF(Py_None); resultobj = Py_None;
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13342 wxDC *arg2 = 0 ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "dc", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13352 if (arg2 == NULL) {
13353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13354 }
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 (arg1)->base_OnHighlight(*arg2);
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 Py_INCREF(Py_None); resultobj = Py_None;
13363 return resultobj;
13364 fail:
13365 return NULL;
13366 }
13367
13368
13369 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj;
13371 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13372 double arg2 ;
13373 double arg3 ;
13374 int arg4 = (int) 0 ;
13375 int arg5 = (int) 0 ;
13376 PyObject * obj0 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 Py_INCREF(Py_None); resultobj = Py_None;
13391 return resultobj;
13392 fail:
13393 return NULL;
13394 }
13395
13396
13397 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13398 PyObject *resultobj;
13399 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13400 double arg2 ;
13401 double arg3 ;
13402 int arg4 = (int) 0 ;
13403 int arg5 = (int) 0 ;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13428 double arg2 ;
13429 double arg3 ;
13430 int arg4 = (int) 0 ;
13431 int arg5 = (int) 0 ;
13432 PyObject * obj0 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13442
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 Py_INCREF(Py_None); resultobj = Py_None;
13447 return resultobj;
13448 fail:
13449 return NULL;
13450 }
13451
13452
13453 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13456 double arg2 ;
13457 double arg3 ;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "x",(char *) "y", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 (arg1)->base_OnSize(arg2,arg3);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 Py_INCREF(Py_None); resultobj = Py_None;
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13482 wxDC *arg2 = 0 ;
13483 double arg3 ;
13484 double arg4 ;
13485 double arg5 ;
13486 double arg6 ;
13487 bool arg7 = (bool) True ;
13488 bool result;
13489 PyObject * obj0 = 0 ;
13490 PyObject * obj1 = 0 ;
13491 PyObject * obj6 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 if (arg2 == NULL) {
13500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13501 }
13502 if (obj6) {
13503 arg7 = PyInt_AsLong(obj6) ? true : false;
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = PyInt_FromLong((long)result);
13514 return resultobj;
13515 fail:
13516 return NULL;
13517 }
13518
13519
13520 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13523 wxDC *arg2 = 0 ;
13524 double arg3 ;
13525 double arg4 ;
13526 double arg5 ;
13527 double arg6 ;
13528 bool arg7 = (bool) True ;
13529 PyObject * obj0 = 0 ;
13530 PyObject * obj1 = 0 ;
13531 PyObject * obj6 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13539 if (arg2 == NULL) {
13540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13541 }
13542 if (obj6) {
13543 arg7 = PyInt_AsLong(obj6) ? true : false;
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 Py_INCREF(Py_None); resultobj = Py_None;
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13563 bool arg2 ;
13564 double arg3 ;
13565 double arg4 ;
13566 int arg5 = (int) 0 ;
13567 int arg6 = (int) 0 ;
13568 PyObject * obj0 = 0 ;
13569 PyObject * obj1 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13576 arg2 = PyInt_AsLong(obj1) ? true : false;
13577 if (PyErr_Occurred()) SWIG_fail;
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13581
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 Py_INCREF(Py_None); resultobj = Py_None;
13586 return resultobj;
13587 fail:
13588 return NULL;
13589 }
13590
13591
13592 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj;
13594 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13595 double arg2 ;
13596 double arg3 ;
13597 int arg4 = (int) 0 ;
13598 int arg5 = (int) 0 ;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 Py_INCREF(Py_None); resultobj = Py_None;
13614 return resultobj;
13615 fail:
13616 return NULL;
13617 }
13618
13619
13620 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13621 PyObject *resultobj;
13622 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13623 double arg2 ;
13624 double arg3 ;
13625 int arg4 = (int) 0 ;
13626 int arg5 = (int) 0 ;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 Py_INCREF(Py_None); resultobj = Py_None;
13642 return resultobj;
13643 fail:
13644 return NULL;
13645 }
13646
13647
13648 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13651 bool arg2 ;
13652 double arg3 ;
13653 double arg4 ;
13654 int arg5 = (int) 0 ;
13655 int arg6 = (int) 0 ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13664 arg2 = PyInt_AsLong(obj1) ? true : false;
13665 if (PyErr_Occurred()) SWIG_fail;
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677 }
13678
13679
13680 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13683 double arg2 ;
13684 double arg3 ;
13685 int arg4 = (int) 0 ;
13686 int arg5 = (int) 0 ;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
13697
13698 wxPyEndAllowThreads(__tstate);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 Py_INCREF(Py_None); resultobj = Py_None;
13702 return resultobj;
13703 fail:
13704 return NULL;
13705 }
13706
13707
13708 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13709 PyObject *resultobj;
13710 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13711 double arg2 ;
13712 double arg3 ;
13713 int arg4 = (int) 0 ;
13714 int arg5 = (int) 0 ;
13715 PyObject * obj0 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 Py_INCREF(Py_None); resultobj = Py_None;
13730 return resultobj;
13731 fail:
13732 return NULL;
13733 }
13734
13735
13736 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13737 PyObject *resultobj;
13738 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13739 wxDC *arg2 = 0 ;
13740 double arg3 ;
13741 double arg4 ;
13742 double arg5 ;
13743 double arg6 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13753 if (arg2 == NULL) {
13754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13755 }
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13759
13760 wxPyEndAllowThreads(__tstate);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 Py_INCREF(Py_None); resultobj = Py_None;
13764 return resultobj;
13765 fail:
13766 return NULL;
13767 }
13768
13769
13770 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj;
13772 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13773 wxDC *arg2 = 0 ;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "dc", NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13783 if (arg2 == NULL) {
13784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13785 }
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 (arg1)->base_OnDrawControlPoints(*arg2);
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 Py_INCREF(Py_None); resultobj = Py_None;
13794 return resultobj;
13795 fail:
13796 return NULL;
13797 }
13798
13799
13800 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13803 wxDC *arg2 = 0 ;
13804 PyObject * obj0 = 0 ;
13805 PyObject * obj1 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self",(char *) "dc", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13813 if (arg2 == NULL) {
13814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13815 }
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 (arg1)->base_OnEraseControlPoints(*arg2);
13819
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 Py_INCREF(Py_None); resultobj = Py_None;
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13833 wxDC *arg2 = 0 ;
13834 bool arg3 = (bool) True ;
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 PyObject * obj2 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 if (arg2 == NULL) {
13846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13847 }
13848 if (obj2) {
13849 arg3 = PyInt_AsLong(obj2) ? true : false;
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 (arg1)->base_OnMoveLink(*arg2,arg3);
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 Py_INCREF(Py_None); resultobj = Py_None;
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13869 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13870 bool arg3 ;
13871 double arg4 ;
13872 double arg5 ;
13873 int arg6 = (int) 0 ;
13874 int arg7 = (int) 0 ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 PyObject * obj2 = 0 ;
13878 char *kwnames[] = {
13879 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13880 };
13881
13882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
13883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13885 arg3 = PyInt_AsLong(obj2) ? true : false;
13886 if (PyErr_Occurred()) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 Py_INCREF(Py_None); resultobj = Py_None;
13895 return resultobj;
13896 fail:
13897 return NULL;
13898 }
13899
13900
13901 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13904 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13905 double arg3 ;
13906 double arg4 ;
13907 int arg5 = (int) 0 ;
13908 int arg6 = (int) 0 ;
13909 PyObject * obj0 = 0 ;
13910 PyObject * obj1 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13935 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13936 double arg3 ;
13937 double arg4 ;
13938 int arg5 = (int) 0 ;
13939 int arg6 = (int) 0 ;
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 Py_INCREF(Py_None); resultobj = Py_None;
13957 return resultobj;
13958 fail:
13959 return NULL;
13960 }
13961
13962
13963 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13966 double arg2 ;
13967 double arg3 ;
13968 PyObject * obj0 = 0 ;
13969 char *kwnames[] = {
13970 (char *) "self",(char *) "w",(char *) "h", NULL
13971 };
13972
13973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 (arg1)->base_OnBeginSize(arg2,arg3);
13978
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 Py_INCREF(Py_None); resultobj = Py_None;
13983 return resultobj;
13984 fail:
13985 return NULL;
13986 }
13987
13988
13989 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13990 PyObject *resultobj;
13991 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13992 double arg2 ;
13993 double arg3 ;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "w",(char *) "h", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->base_OnEndSize(arg2,arg3);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
14016 PyObject *obj;
14017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14018 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
14019 Py_INCREF(obj);
14020 return Py_BuildValue((char *)"");
14021 }
14022 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 int arg1 ;
14025 wxPyShape *arg2 = (wxPyShape *) 0 ;
14026 PyObject *arg3 = (PyObject *) 0 ;
14027 wxOGLConstraint *result;
14028 PyObject * obj1 = 0 ;
14029 PyObject * obj2 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOO:new_OGLConstraint",kwnames,&arg1,&obj1,&obj2)) goto fail;
14035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 arg3 = obj2;
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 {
14045 resultobj = wxPyMake_wxObject(result);
14046 }
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14056 bool result;
14057 PyObject * obj0 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (bool)(arg1)->Evaluate();
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 resultobj = PyInt_FromLong((long)result);
14072 return resultobj;
14073 fail:
14074 return NULL;
14075 }
14076
14077
14078 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj;
14080 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14081 double arg2 ;
14082 double arg3 ;
14083 PyObject * obj0 = 0 ;
14084 char *kwnames[] = {
14085 (char *) "self",(char *) "x",(char *) "y", NULL
14086 };
14087
14088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_SetSpacing",kwnames,&obj0,&arg2,&arg3)) goto fail;
14089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 (arg1)->SetSpacing(arg2,arg3);
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 Py_INCREF(Py_None); resultobj = Py_None;
14098 return resultobj;
14099 fail:
14100 return NULL;
14101 }
14102
14103
14104 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
14107 double arg2 ;
14108 double arg3 ;
14109 bool result;
14110 PyObject * obj0 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "self",(char *) "a",(char *) "b", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_Equals",kwnames,&obj0,&arg2,&arg3)) goto fail;
14116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (bool)(arg1)->Equals(arg2,arg3);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = PyInt_FromLong((long)result);
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
14132 PyObject *obj;
14133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14134 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
14135 Py_INCREF(obj);
14136 return Py_BuildValue((char *)"");
14137 }
14138 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxPyCompositeShape *result;
14141 char *kwnames[] = {
14142 NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (wxPyCompositeShape *)new wxPyCompositeShape();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14163 PyObject *arg2 = (PyObject *) 0 ;
14164 PyObject *arg3 = (PyObject *) 0 ;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self",(char *) "self",(char *) "_class", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14174 arg2 = obj1;
14175 arg3 = obj2;
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->_setCallbackInfo(arg2,arg3);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 Py_INCREF(Py_None); resultobj = Py_None;
14184 return resultobj;
14185 fail:
14186 return NULL;
14187 }
14188
14189
14190 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14193 wxPyShape *arg2 = (wxPyShape *) 0 ;
14194 wxPyShape *arg3 = (wxPyShape *) NULL ;
14195 PyObject * obj0 = 0 ;
14196 PyObject * obj1 = 0 ;
14197 PyObject * obj2 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self",(char *) "child",(char *) "addAfter", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14205 if (obj2) {
14206 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14207 }
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 (arg1)->AddChild(arg2,arg3);
14211
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 Py_INCREF(Py_None); resultobj = Py_None;
14216 return resultobj;
14217 fail:
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14225 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14226 wxOGLConstraint *result;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self",(char *) "constraint", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 {
14244 resultobj = wxPyMake_wxObject(result);
14245 }
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14255 int arg2 ;
14256 wxPyShape *arg3 = (wxPyShape *) 0 ;
14257 PyObject *arg4 = (PyObject *) 0 ;
14258 wxOGLConstraint *result;
14259 PyObject * obj0 = 0 ;
14260 PyObject * obj2 = 0 ;
14261 PyObject * obj3 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14268 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 arg4 = obj3;
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 {
14278 resultobj = wxPyMake_wxObject(result);
14279 }
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14289 int arg2 ;
14290 wxPyShape *arg3 = (wxPyShape *) 0 ;
14291 wxPyShape *arg4 = (wxPyShape *) 0 ;
14292 wxOGLConstraint *result;
14293 PyObject * obj0 = 0 ;
14294 PyObject * obj2 = 0 ;
14295 PyObject * obj3 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14303 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 {
14312 resultobj = wxPyMake_wxObject(result);
14313 }
14314 return resultobj;
14315 fail:
14316 return NULL;
14317 }
14318
14319
14320 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj;
14322 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 (arg1)->CalculateSize();
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 Py_INCREF(Py_None); resultobj = Py_None;
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14347 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
14348 bool result;
14349 PyObject * obj0 = 0 ;
14350 PyObject * obj1 = 0 ;
14351 char *kwnames[] = {
14352 (char *) "self",(char *) "division", NULL
14353 };
14354
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
14356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (bool)(arg1)->ContainsDivision(arg2);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = PyInt_FromLong((long)result);
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14375 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14376 PyObject * obj0 = 0 ;
14377 PyObject * obj1 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "constraint", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 (arg1)->DeleteConstraint(arg2);
14388
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 Py_INCREF(Py_None); resultobj = Py_None;
14393 return resultobj;
14394 fail:
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14402 wxPyShape *arg2 = (wxPyShape *) 0 ;
14403 PyObject * obj0 = 0 ;
14404 PyObject * obj1 = 0 ;
14405 char *kwnames[] = {
14406 (char *) "self",(char *) "child", NULL
14407 };
14408
14409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
14410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 (arg1)->DeleteConstraintsInvolvingChild(arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 Py_INCREF(Py_None); resultobj = Py_None;
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14429 wxPyShape *result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxPyShape *)(arg1)->FindContainerImage();
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 resultobj = wxPyMake_wxShapeEvtHandler(result);
14446 }
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14456 PyObject *result;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "self", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
14463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 resultobj = result;
14472 return resultobj;
14473 fail:
14474 return NULL;
14475 }
14476
14477
14478 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
14479 PyObject *resultobj;
14480 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14481 PyObject *result;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 resultobj = result;
14497 return resultobj;
14498 fail:
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 (arg1)->MakeContainer();
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 Py_INCREF(Py_None); resultobj = Py_None;
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14530 bool result;
14531 PyObject * obj0 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
14537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 result = (bool)(arg1)->Recompute();
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 resultobj = PyInt_FromLong((long)result);
14546 return resultobj;
14547 fail:
14548 return NULL;
14549 }
14550
14551
14552 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14555 wxPyShape *arg2 = (wxPyShape *) 0 ;
14556 PyObject * obj0 = 0 ;
14557 PyObject * obj1 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self",(char *) "child", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 (arg1)->RemoveChild(arg2);
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 Py_INCREF(Py_None); resultobj = Py_None;
14573 return resultobj;
14574 fail:
14575 return NULL;
14576 }
14577
14578
14579 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14582 PyObject * obj0 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->base_OnDelete();
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 Py_INCREF(Py_None); resultobj = Py_None;
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14606 wxDC *arg2 = 0 ;
14607 PyObject * obj0 = 0 ;
14608 PyObject * obj1 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "self",(char *) "dc", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
14614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14616 if (arg2 == NULL) {
14617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14618 }
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->base_OnDraw(*arg2);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14636 wxDC *arg2 = 0 ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "self",(char *) "dc", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14646 if (arg2 == NULL) {
14647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14648 }
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 (arg1)->base_OnDrawContents(*arg2);
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 Py_INCREF(Py_None); resultobj = Py_None;
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14666 wxDC *arg2 = 0 ;
14667 bool arg3 = (bool) FALSE ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 PyObject * obj2 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self",(char *) "dc",(char *) "erase", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14678 if (arg2 == NULL) {
14679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14680 }
14681 if (obj2) {
14682 arg3 = PyInt_AsLong(obj2) ? true : false;
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 (arg1)->base_OnDrawBranches(*arg2,arg3);
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 Py_INCREF(Py_None); resultobj = Py_None;
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14702 wxDC *arg2 = 0 ;
14703 PyObject * obj0 = 0 ;
14704 PyObject * obj1 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "dc", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14712 if (arg2 == NULL) {
14713 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14714 }
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->base_OnMoveLinks(*arg2);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14732 wxDC *arg2 = 0 ;
14733 PyObject * obj0 = 0 ;
14734 PyObject * obj1 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "self",(char *) "dc", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
14740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 if (arg2 == NULL) {
14743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14744 }
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 (arg1)->base_OnErase(*arg2);
14748
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 Py_INCREF(Py_None); resultobj = Py_None;
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14762 wxDC *arg2 = 0 ;
14763 PyObject * obj0 = 0 ;
14764 PyObject * obj1 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self",(char *) "dc", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
14770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14772 if (arg2 == NULL) {
14773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14774 }
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 (arg1)->base_OnEraseContents(*arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14792 wxDC *arg2 = 0 ;
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self",(char *) "dc", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 if (arg2 == NULL) {
14803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 (arg1)->base_OnHighlight(*arg2);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 Py_INCREF(Py_None); resultobj = Py_None;
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj;
14821 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14822 double arg2 ;
14823 double arg3 ;
14824 int arg4 = (int) 0 ;
14825 int arg5 = (int) 0 ;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 Py_INCREF(Py_None); resultobj = Py_None;
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14850 double arg2 ;
14851 double arg3 ;
14852 int arg4 = (int) 0 ;
14853 int arg5 = (int) 0 ;
14854 PyObject * obj0 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 Py_INCREF(Py_None); resultobj = Py_None;
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14878 double arg2 ;
14879 double arg3 ;
14880 int arg4 = (int) 0 ;
14881 int arg5 = (int) 0 ;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 Py_INCREF(Py_None); resultobj = Py_None;
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14906 double arg2 ;
14907 double arg3 ;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self",(char *) "x",(char *) "y", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->base_OnSize(arg2,arg3);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 Py_INCREF(Py_None); resultobj = Py_None;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14932 wxDC *arg2 = 0 ;
14933 double arg3 ;
14934 double arg4 ;
14935 double arg5 ;
14936 double arg6 ;
14937 bool arg7 = (bool) True ;
14938 bool result;
14939 PyObject * obj0 = 0 ;
14940 PyObject * obj1 = 0 ;
14941 PyObject * obj6 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14949 if (arg2 == NULL) {
14950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14951 }
14952 if (obj6) {
14953 arg7 = PyInt_AsLong(obj6) ? true : false;
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 resultobj = PyInt_FromLong((long)result);
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14973 wxDC *arg2 = 0 ;
14974 double arg3 ;
14975 double arg4 ;
14976 double arg5 ;
14977 double arg6 ;
14978 bool arg7 = (bool) True ;
14979 PyObject * obj0 = 0 ;
14980 PyObject * obj1 = 0 ;
14981 PyObject * obj6 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14989 if (arg2 == NULL) {
14990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14991 }
14992 if (obj6) {
14993 arg7 = PyInt_AsLong(obj6) ? true : false;
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 Py_INCREF(Py_None); resultobj = Py_None;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15013 bool arg2 ;
15014 double arg3 ;
15015 double arg4 ;
15016 int arg5 = (int) 0 ;
15017 int arg6 = (int) 0 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15026 arg2 = PyInt_AsLong(obj1) ? true : false;
15027 if (PyErr_Occurred()) SWIG_fail;
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 Py_INCREF(Py_None); resultobj = Py_None;
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15045 double arg2 ;
15046 double arg3 ;
15047 int arg4 = (int) 0 ;
15048 int arg5 = (int) 0 ;
15049 PyObject * obj0 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 Py_INCREF(Py_None); resultobj = Py_None;
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15073 double arg2 ;
15074 double arg3 ;
15075 int arg4 = (int) 0 ;
15076 int arg5 = (int) 0 ;
15077 PyObject * obj0 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15101 bool arg2 ;
15102 double arg3 ;
15103 double arg4 ;
15104 int arg5 = (int) 0 ;
15105 int arg6 = (int) 0 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15114 arg2 = PyInt_AsLong(obj1) ? true : false;
15115 if (PyErr_Occurred()) SWIG_fail;
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 Py_INCREF(Py_None); resultobj = Py_None;
15124 return resultobj;
15125 fail:
15126 return NULL;
15127 }
15128
15129
15130 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15133 double arg2 ;
15134 double arg3 ;
15135 int arg4 = (int) 0 ;
15136 int arg5 = (int) 0 ;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15161 double arg2 ;
15162 double arg3 ;
15163 int arg4 = (int) 0 ;
15164 int arg5 = (int) 0 ;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 Py_INCREF(Py_None); resultobj = Py_None;
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj;
15188 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15189 wxDC *arg2 = 0 ;
15190 double arg3 ;
15191 double arg4 ;
15192 double arg5 ;
15193 double arg6 ;
15194 PyObject * obj0 = 0 ;
15195 PyObject * obj1 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15203 if (arg2 == NULL) {
15204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15205 }
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 Py_INCREF(Py_None); resultobj = Py_None;
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15223 wxDC *arg2 = 0 ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self",(char *) "dc", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
15231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15233 if (arg2 == NULL) {
15234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15235 }
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 (arg1)->base_OnDrawControlPoints(*arg2);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 Py_INCREF(Py_None); resultobj = Py_None;
15244 return resultobj;
15245 fail:
15246 return NULL;
15247 }
15248
15249
15250 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15253 wxDC *arg2 = 0 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self",(char *) "dc", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15263 if (arg2 == NULL) {
15264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15265 }
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 (arg1)->base_OnEraseControlPoints(*arg2);
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 Py_INCREF(Py_None); resultobj = Py_None;
15274 return resultobj;
15275 fail:
15276 return NULL;
15277 }
15278
15279
15280 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15283 wxDC *arg2 = 0 ;
15284 bool arg3 = (bool) True ;
15285 PyObject * obj0 = 0 ;
15286 PyObject * obj1 = 0 ;
15287 PyObject * obj2 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
15293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15295 if (arg2 == NULL) {
15296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15297 }
15298 if (obj2) {
15299 arg3 = PyInt_AsLong(obj2) ? true : false;
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 (arg1)->base_OnMoveLink(*arg2,arg3);
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 Py_INCREF(Py_None); resultobj = Py_None;
15310 return resultobj;
15311 fail:
15312 return NULL;
15313 }
15314
15315
15316 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj;
15318 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15319 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15320 bool arg3 ;
15321 double arg4 ;
15322 double arg5 ;
15323 int arg6 = (int) 0 ;
15324 int arg7 = (int) 0 ;
15325 PyObject * obj0 = 0 ;
15326 PyObject * obj1 = 0 ;
15327 PyObject * obj2 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15335 arg3 = PyInt_AsLong(obj2) ? true : false;
15336 if (PyErr_Occurred()) SWIG_fail;
15337 {
15338 PyThreadState* __tstate = wxPyBeginAllowThreads();
15339 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15340
15341 wxPyEndAllowThreads(__tstate);
15342 if (PyErr_Occurred()) SWIG_fail;
15343 }
15344 Py_INCREF(Py_None); resultobj = Py_None;
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15354 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15355 double arg3 ;
15356 double arg4 ;
15357 int arg5 = (int) 0 ;
15358 int arg6 = (int) 0 ;
15359 PyObject * obj0 = 0 ;
15360 PyObject * obj1 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 return resultobj;
15377 fail:
15378 return NULL;
15379 }
15380
15381
15382 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15383 PyObject *resultobj;
15384 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15385 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15386 double arg3 ;
15387 double arg4 ;
15388 int arg5 = (int) 0 ;
15389 int arg6 = (int) 0 ;
15390 PyObject * obj0 = 0 ;
15391 PyObject * obj1 = 0 ;
15392 char *kwnames[] = {
15393 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15394 };
15395
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15402
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 Py_INCREF(Py_None); resultobj = Py_None;
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15416 double arg2 ;
15417 double arg3 ;
15418 PyObject * obj0 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "self",(char *) "w",(char *) "h", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 (arg1)->base_OnBeginSize(arg2,arg3);
15428
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 Py_INCREF(Py_None); resultobj = Py_None;
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj;
15441 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15442 double arg2 ;
15443 double arg3 ;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self",(char *) "w",(char *) "h", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 (arg1)->base_OnEndSize(arg2,arg3);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 Py_INCREF(Py_None); resultobj = Py_None;
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
15466 PyObject *obj;
15467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
15469 Py_INCREF(obj);
15470 return Py_BuildValue((char *)"");
15471 }
15472 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 double arg1 = (double) 0.0 ;
15475 double arg2 = (double) 0.0 ;
15476 wxPyDividedShape *result;
15477 char *kwnames[] = {
15478 (char *) "width",(char *) "height", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyDividedShape",kwnames,&arg1,&arg2)) goto fail;
15482 {
15483 PyThreadState* __tstate = wxPyBeginAllowThreads();
15484 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
15485
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
15490 return resultobj;
15491 fail:
15492 return NULL;
15493 }
15494
15495
15496 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj;
15498 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15499 PyObject *arg2 = (PyObject *) 0 ;
15500 PyObject *arg3 = (PyObject *) 0 ;
15501 PyObject * obj0 = 0 ;
15502 PyObject * obj1 = 0 ;
15503 PyObject * obj2 = 0 ;
15504 char *kwnames[] = {
15505 (char *) "self",(char *) "self",(char *) "_class", NULL
15506 };
15507
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15510 arg2 = obj1;
15511 arg3 = obj2;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->_setCallbackInfo(arg2,arg3);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
15535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 (arg1)->EditRegions();
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 Py_INCREF(Py_None); resultobj = Py_None;
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15553 PyObject * obj0 = 0 ;
15554 char *kwnames[] = {
15555 (char *) "self", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
15559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetRegionSizes();
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15577 PyObject * obj0 = 0 ;
15578 char *kwnames[] = {
15579 (char *) "self", NULL
15580 };
15581
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
15583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 (arg1)->base_OnDelete();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 Py_INCREF(Py_None); resultobj = Py_None;
15592 return resultobj;
15593 fail:
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15601 wxDC *arg2 = 0 ;
15602 PyObject * obj0 = 0 ;
15603 PyObject * obj1 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self",(char *) "dc", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15611 if (arg2 == NULL) {
15612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15613 }
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->base_OnDraw(*arg2);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15631 wxDC *arg2 = 0 ;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "dc", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15641 if (arg2 == NULL) {
15642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 (arg1)->base_OnDrawContents(*arg2);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 Py_INCREF(Py_None); resultobj = Py_None;
15652 return resultobj;
15653 fail:
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15661 wxDC *arg2 = 0 ;
15662 bool arg3 = (bool) FALSE ;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 PyObject * obj2 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "dc",(char *) "erase", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 if (arg2 == NULL) {
15674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15675 }
15676 if (obj2) {
15677 arg3 = PyInt_AsLong(obj2) ? true : false;
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->base_OnDrawBranches(*arg2,arg3);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 Py_INCREF(Py_None); resultobj = Py_None;
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15697 wxDC *arg2 = 0 ;
15698 PyObject * obj0 = 0 ;
15699 PyObject * obj1 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self",(char *) "dc", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15707 if (arg2 == NULL) {
15708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15709 }
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 (arg1)->base_OnMoveLinks(*arg2);
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 Py_INCREF(Py_None); resultobj = Py_None;
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15727 wxDC *arg2 = 0 ;
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self",(char *) "dc", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15737 if (arg2 == NULL) {
15738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15739 }
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 (arg1)->base_OnErase(*arg2);
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 Py_INCREF(Py_None); resultobj = Py_None;
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15757 wxDC *arg2 = 0 ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self",(char *) "dc", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15767 if (arg2 == NULL) {
15768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15769 }
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 (arg1)->base_OnEraseContents(*arg2);
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 Py_INCREF(Py_None); resultobj = Py_None;
15778 return resultobj;
15779 fail:
15780 return NULL;
15781 }
15782
15783
15784 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj;
15786 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15787 wxDC *arg2 = 0 ;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj1 = 0 ;
15790 char *kwnames[] = {
15791 (char *) "self",(char *) "dc", NULL
15792 };
15793
15794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15797 if (arg2 == NULL) {
15798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->base_OnHighlight(*arg2);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15817 double arg2 ;
15818 double arg3 ;
15819 int arg4 = (int) 0 ;
15820 int arg5 = (int) 0 ;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 Py_INCREF(Py_None); resultobj = Py_None;
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15845 double arg2 ;
15846 double arg3 ;
15847 int arg4 = (int) 0 ;
15848 int arg5 = (int) 0 ;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 Py_INCREF(Py_None); resultobj = Py_None;
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15873 double arg2 ;
15874 double arg3 ;
15875 int arg4 = (int) 0 ;
15876 int arg5 = (int) 0 ;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 Py_INCREF(Py_None); resultobj = Py_None;
15892 return resultobj;
15893 fail:
15894 return NULL;
15895 }
15896
15897
15898 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj;
15900 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15901 double arg2 ;
15902 double arg3 ;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "x",(char *) "y", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 (arg1)->base_OnSize(arg2,arg3);
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 Py_INCREF(Py_None); resultobj = Py_None;
15918 return resultobj;
15919 fail:
15920 return NULL;
15921 }
15922
15923
15924 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15927 wxDC *arg2 = 0 ;
15928 double arg3 ;
15929 double arg4 ;
15930 double arg5 ;
15931 double arg6 ;
15932 bool arg7 = (bool) True ;
15933 bool result;
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 PyObject * obj6 = 0 ;
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15939 };
15940
15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15944 if (arg2 == NULL) {
15945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15946 }
15947 if (obj6) {
15948 arg7 = PyInt_AsLong(obj6) ? true : false;
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = PyInt_FromLong((long)result);
15959 return resultobj;
15960 fail:
15961 return NULL;
15962 }
15963
15964
15965 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15968 wxDC *arg2 = 0 ;
15969 double arg3 ;
15970 double arg4 ;
15971 double arg5 ;
15972 double arg6 ;
15973 bool arg7 = (bool) True ;
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
15976 PyObject * obj6 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15984 if (arg2 == NULL) {
15985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15986 }
15987 if (obj6) {
15988 arg7 = PyInt_AsLong(obj6) ? true : false;
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 Py_INCREF(Py_None); resultobj = Py_None;
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16008 bool arg2 ;
16009 double arg3 ;
16010 double arg4 ;
16011 int arg5 = (int) 0 ;
16012 int arg6 = (int) 0 ;
16013 PyObject * obj0 = 0 ;
16014 PyObject * obj1 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16021 arg2 = PyInt_AsLong(obj1) ? true : false;
16022 if (PyErr_Occurred()) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 Py_INCREF(Py_None); resultobj = Py_None;
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16040 double arg2 ;
16041 double arg3 ;
16042 int arg4 = (int) 0 ;
16043 int arg5 = (int) 0 ;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16047 };
16048
16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 Py_INCREF(Py_None); resultobj = Py_None;
16059 return resultobj;
16060 fail:
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16068 double arg2 ;
16069 double arg3 ;
16070 int arg4 = (int) 0 ;
16071 int arg5 = (int) 0 ;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16082
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 Py_INCREF(Py_None); resultobj = Py_None;
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16096 bool arg2 ;
16097 double arg3 ;
16098 double arg4 ;
16099 int arg5 = (int) 0 ;
16100 int arg6 = (int) 0 ;
16101 PyObject * obj0 = 0 ;
16102 PyObject * obj1 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16109 arg2 = PyInt_AsLong(obj1) ? true : false;
16110 if (PyErr_Occurred()) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16128 double arg2 ;
16129 double arg3 ;
16130 int arg4 = (int) 0 ;
16131 int arg5 = (int) 0 ;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 Py_INCREF(Py_None); resultobj = Py_None;
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16156 double arg2 ;
16157 double arg3 ;
16158 int arg4 = (int) 0 ;
16159 int arg5 = (int) 0 ;
16160 PyObject * obj0 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 Py_INCREF(Py_None); resultobj = Py_None;
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16184 wxDC *arg2 = 0 ;
16185 double arg3 ;
16186 double arg4 ;
16187 double arg5 ;
16188 double arg6 ;
16189 PyObject * obj0 = 0 ;
16190 PyObject * obj1 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16198 if (arg2 == NULL) {
16199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16200 }
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 Py_INCREF(Py_None); resultobj = Py_None;
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16218 wxDC *arg2 = 0 ;
16219 PyObject * obj0 = 0 ;
16220 PyObject * obj1 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self",(char *) "dc", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16228 if (arg2 == NULL) {
16229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16230 }
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 (arg1)->base_OnDrawControlPoints(*arg2);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16248 wxDC *arg2 = 0 ;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "dc", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 if (arg2 == NULL) {
16259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16260 }
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 (arg1)->base_OnEraseControlPoints(*arg2);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 Py_INCREF(Py_None); resultobj = Py_None;
16269 return resultobj;
16270 fail:
16271 return NULL;
16272 }
16273
16274
16275 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj;
16277 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16278 wxDC *arg2 = 0 ;
16279 bool arg3 = (bool) True ;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 PyObject * obj2 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16290 if (arg2 == NULL) {
16291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16292 }
16293 if (obj2) {
16294 arg3 = PyInt_AsLong(obj2) ? true : false;
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 (arg1)->base_OnMoveLink(*arg2,arg3);
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 Py_INCREF(Py_None); resultobj = Py_None;
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16314 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16315 bool arg3 ;
16316 double arg4 ;
16317 double arg5 ;
16318 int arg6 = (int) 0 ;
16319 int arg7 = (int) 0 ;
16320 PyObject * obj0 = 0 ;
16321 PyObject * obj1 = 0 ;
16322 PyObject * obj2 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
16328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 arg3 = PyInt_AsLong(obj2) ? true : false;
16331 if (PyErr_Occurred()) SWIG_fail;
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16335
16336 wxPyEndAllowThreads(__tstate);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 }
16339 Py_INCREF(Py_None); resultobj = Py_None;
16340 return resultobj;
16341 fail:
16342 return NULL;
16343 }
16344
16345
16346 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16347 PyObject *resultobj;
16348 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16349 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16350 double arg3 ;
16351 double arg4 ;
16352 int arg5 = (int) 0 ;
16353 int arg6 = (int) 0 ;
16354 PyObject * obj0 = 0 ;
16355 PyObject * obj1 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16380 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16381 double arg3 ;
16382 double arg4 ;
16383 int arg5 = (int) 0 ;
16384 int arg6 = (int) 0 ;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16411 double arg2 ;
16412 double arg3 ;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "w",(char *) "h", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 (arg1)->base_OnBeginSize(arg2,arg3);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 Py_INCREF(Py_None); resultobj = Py_None;
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16437 double arg2 ;
16438 double arg3 ;
16439 PyObject * obj0 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "w",(char *) "h", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 (arg1)->base_OnEndSize(arg2,arg3);
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 Py_INCREF(Py_None); resultobj = Py_None;
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
16461 PyObject *obj;
16462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16463 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
16464 Py_INCREF(obj);
16465 return Py_BuildValue((char *)"");
16466 }
16467 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxPyDivisionShape *result;
16470 char *kwnames[] = {
16471 NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (wxPyDivisionShape *)new wxPyDivisionShape();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483 resultobj = wxPyMake_wxShapeEvtHandler(result);
16484 }
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16494 PyObject *arg2 = (PyObject *) 0 ;
16495 PyObject *arg3 = (PyObject *) 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 PyObject * obj2 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "self",(char *) "_class", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16505 arg2 = obj1;
16506 arg3 = obj2;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 (arg1)->_setCallbackInfo(arg2,arg3);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16524 double arg2 ;
16525 bool arg3 ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj2 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self",(char *) "bottom",(char *) "test", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&arg2,&obj2)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16534 arg3 = PyInt_AsLong(obj2) ? true : false;
16535 if (PyErr_Occurred()) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 (arg1)->AdjustBottom(arg2,arg3);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 Py_INCREF(Py_None); resultobj = Py_None;
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj;
16552 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16553 double arg2 ;
16554 bool arg3 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj2 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "left",(char *) "test", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&arg2,&obj2)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16563 arg3 = PyInt_AsLong(obj2) ? true : false;
16564 if (PyErr_Occurred()) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 (arg1)->AdjustLeft(arg2,arg3);
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 Py_INCREF(Py_None); resultobj = Py_None;
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16582 double arg2 ;
16583 bool arg3 ;
16584 PyObject * obj0 = 0 ;
16585 PyObject * obj2 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self",(char *) "right",(char *) "test", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames,&obj0,&arg2,&obj2)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16592 arg3 = PyInt_AsLong(obj2) ? true : false;
16593 if (PyErr_Occurred()) SWIG_fail;
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 (arg1)->AdjustRight(arg2,arg3);
16597
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 Py_INCREF(Py_None); resultobj = Py_None;
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16611 double arg2 ;
16612 bool arg3 ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "top",(char *) "test", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames,&obj0,&arg2,&obj2)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16621 arg3 = PyInt_AsLong(obj2) ? true : false;
16622 if (PyErr_Occurred()) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 (arg1)->AdjustTop(arg2,arg3);
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 Py_INCREF(Py_None); resultobj = Py_None;
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16640 int arg2 ;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self",(char *) "direction", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_Divide",kwnames,&obj0,&arg2)) goto fail;
16647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 (arg1)->Divide(arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16665 int arg2 ;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self",(char *) "side", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_EditEdge",kwnames,&obj0,&arg2)) goto fail;
16672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 (arg1)->EditEdge(arg2);
16676
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 Py_INCREF(Py_None); resultobj = Py_None;
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16690 wxPyDivisionShape *result;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 resultobj = wxPyMake_wxShapeEvtHandler(result);
16707 }
16708 return resultobj;
16709 fail:
16710 return NULL;
16711 }
16712
16713
16714 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16715 PyObject *resultobj;
16716 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16717 int result;
16718 PyObject * obj0 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
16724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16725 {
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 result = (int)(arg1)->GetHandleSide();
16728
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 resultobj = PyInt_FromLong((long)result);
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16740 PyObject *resultobj;
16741 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16742 wxPyDivisionShape *result;
16743 PyObject * obj0 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "self", NULL
16746 };
16747
16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
16749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 {
16758 resultobj = wxPyMake_wxShapeEvtHandler(result);
16759 }
16760 return resultobj;
16761 fail:
16762 return NULL;
16763 }
16764
16765
16766 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16769 wxString result;
16770 PyObject * obj0 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 result = (arg1)->GetLeftSideColour();
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 {
16785 #if wxUSE_UNICODE
16786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16787 #else
16788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16789 #endif
16790 }
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16800 wxPen *result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (wxPen *)(arg1)->GetLeftSidePen();
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16816 return resultobj;
16817 fail:
16818 return NULL;
16819 }
16820
16821
16822 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16823 PyObject *resultobj;
16824 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16825 wxPyDivisionShape *result;
16826 PyObject * obj0 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
16832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 {
16841 resultobj = wxPyMake_wxShapeEvtHandler(result);
16842 }
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16852 wxPyDivisionShape *result;
16853 PyObject * obj0 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 {
16868 resultobj = wxPyMake_wxShapeEvtHandler(result);
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16879 wxPen *result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (wxPen *)(arg1)->GetTopSidePen();
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16904 int arg2 ;
16905 double arg3 ;
16906 bool arg4 ;
16907 PyObject * obj0 = 0 ;
16908 PyObject * obj3 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 arg4 = PyInt_AsLong(obj3) ? true : false;
16916 if (PyErr_Occurred()) SWIG_fail;
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 return resultobj;
16926 fail:
16927 return NULL;
16928 }
16929
16930
16931 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16934 double arg2 ;
16935 double arg3 ;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self",(char *) "x",(char *) "y", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames,&obj0,&arg2,&arg3)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 (arg1)->PopupMenu(arg2,arg3);
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 return resultobj;
16952 fail:
16953 return NULL;
16954 }
16955
16956
16957 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16960 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16961 PyObject * obj0 = 0 ;
16962 PyObject * obj1 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self",(char *) "shape", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
16968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 (arg1)->SetBottomSide(arg2);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 Py_INCREF(Py_None); resultobj = Py_None;
16978 return resultobj;
16979 fail:
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16987 int arg2 ;
16988 PyObject * obj0 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self",(char *) "side", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames,&obj0,&arg2)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 (arg1)->SetHandleSide(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
17009 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj;
17011 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17012 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self",(char *) "shape", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->SetLeftSide(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17039 wxString *arg2 = 0 ;
17040 bool temp2 = False ;
17041 PyObject * obj0 = 0 ;
17042 PyObject * obj1 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self",(char *) "colour", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17049 {
17050 arg2 = wxString_in_helper(obj1);
17051 if (arg2 == NULL) SWIG_fail;
17052 temp2 = True;
17053 }
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 (arg1)->SetLeftSideColour((wxString const &)*arg2);
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 Py_INCREF(Py_None); resultobj = Py_None;
17062 {
17063 if (temp2)
17064 delete arg2;
17065 }
17066 return resultobj;
17067 fail:
17068 {
17069 if (temp2)
17070 delete arg2;
17071 }
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17079 wxPen *arg2 = (wxPen *) 0 ;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self",(char *) "pen", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17088 {
17089 wxPen* temp;
17090 if (obj1) {
17091 if (obj1 == Py_None) {
17092 temp = NULL;
17093 }
17094 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
17095 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
17096 return NULL;
17097 }
17098 }
17099 if (temp)
17100 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17101 temp->GetWidth(),
17102 temp->GetStyle());
17103 else
17104 arg2 = NULL;
17105 }
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 (arg1)->SetLeftSidePen(arg2);
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 Py_INCREF(Py_None); resultobj = Py_None;
17114 return resultobj;
17115 fail:
17116 return NULL;
17117 }
17118
17119
17120 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17123 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17124 PyObject * obj0 = 0 ;
17125 PyObject * obj1 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self",(char *) "shape", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17133 {
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 (arg1)->SetRightSide(arg2);
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 Py_INCREF(Py_None); resultobj = Py_None;
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17150 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17151 PyObject * obj0 = 0 ;
17152 PyObject * obj1 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self",(char *) "shape", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 (arg1)->SetTopSide(arg2);
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17177 wxString *arg2 = 0 ;
17178 bool temp2 = False ;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "colour", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 {
17188 arg2 = wxString_in_helper(obj1);
17189 if (arg2 == NULL) SWIG_fail;
17190 temp2 = True;
17191 }
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 (arg1)->SetTopSideColour((wxString const &)*arg2);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 Py_INCREF(Py_None); resultobj = Py_None;
17200 {
17201 if (temp2)
17202 delete arg2;
17203 }
17204 return resultobj;
17205 fail:
17206 {
17207 if (temp2)
17208 delete arg2;
17209 }
17210 return NULL;
17211 }
17212
17213
17214 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
17215 PyObject *resultobj;
17216 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17217 wxPen *arg2 = (wxPen *) 0 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "pen", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17226 {
17227 wxPen* temp;
17228 if (obj1) {
17229 if (obj1 == Py_None) {
17230 temp = NULL;
17231 }
17232 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
17233 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
17234 return NULL;
17235 }
17236 }
17237 if (temp)
17238 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17239 temp->GetWidth(),
17240 temp->GetStyle());
17241 else
17242 arg2 = NULL;
17243 }
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 (arg1)->SetTopSidePen(arg2);
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 Py_INCREF(Py_None); resultobj = Py_None;
17252 return resultobj;
17253 fail:
17254 return NULL;
17255 }
17256
17257
17258 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17261 PyObject * obj0 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 (arg1)->base_OnDelete();
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 Py_INCREF(Py_None); resultobj = Py_None;
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17285 wxDC *arg2 = 0 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "dc", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17295 if (arg2 == NULL) {
17296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17297 }
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 (arg1)->base_OnDraw(*arg2);
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 Py_INCREF(Py_None); resultobj = Py_None;
17306 return resultobj;
17307 fail:
17308 return NULL;
17309 }
17310
17311
17312 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17315 wxDC *arg2 = 0 ;
17316 PyObject * obj0 = 0 ;
17317 PyObject * obj1 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self",(char *) "dc", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 if (arg2 == NULL) {
17326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17327 }
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 (arg1)->base_OnDrawContents(*arg2);
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 Py_INCREF(Py_None); resultobj = Py_None;
17336 return resultobj;
17337 fail:
17338 return NULL;
17339 }
17340
17341
17342 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17345 wxDC *arg2 = 0 ;
17346 bool arg3 = (bool) FALSE ;
17347 PyObject * obj0 = 0 ;
17348 PyObject * obj1 = 0 ;
17349 PyObject * obj2 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self",(char *) "dc",(char *) "erase", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 if (arg2 == NULL) {
17358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17359 }
17360 if (obj2) {
17361 arg3 = PyInt_AsLong(obj2) ? true : false;
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 (arg1)->base_OnDrawBranches(*arg2,arg3);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 Py_INCREF(Py_None); resultobj = Py_None;
17372 return resultobj;
17373 fail:
17374 return NULL;
17375 }
17376
17377
17378 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17381 wxDC *arg2 = 0 ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self",(char *) "dc", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17391 if (arg2 == NULL) {
17392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17393 }
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 (arg1)->base_OnMoveLinks(*arg2);
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 Py_INCREF(Py_None); resultobj = Py_None;
17402 return resultobj;
17403 fail:
17404 return NULL;
17405 }
17406
17407
17408 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17411 wxDC *arg2 = 0 ;
17412 PyObject * obj0 = 0 ;
17413 PyObject * obj1 = 0 ;
17414 char *kwnames[] = {
17415 (char *) "self",(char *) "dc", NULL
17416 };
17417
17418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17421 if (arg2 == NULL) {
17422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17423 }
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 (arg1)->base_OnErase(*arg2);
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 Py_INCREF(Py_None); resultobj = Py_None;
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj;
17440 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17441 wxDC *arg2 = 0 ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 char *kwnames[] = {
17445 (char *) "self",(char *) "dc", NULL
17446 };
17447
17448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17451 if (arg2 == NULL) {
17452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17453 }
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 (arg1)->base_OnEraseContents(*arg2);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 Py_INCREF(Py_None); resultobj = Py_None;
17462 return resultobj;
17463 fail:
17464 return NULL;
17465 }
17466
17467
17468 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17471 wxDC *arg2 = 0 ;
17472 PyObject * obj0 = 0 ;
17473 PyObject * obj1 = 0 ;
17474 char *kwnames[] = {
17475 (char *) "self",(char *) "dc", NULL
17476 };
17477
17478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 if (arg2 == NULL) {
17482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17483 }
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 (arg1)->base_OnHighlight(*arg2);
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 Py_INCREF(Py_None); resultobj = Py_None;
17492 return resultobj;
17493 fail:
17494 return NULL;
17495 }
17496
17497
17498 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17501 double arg2 ;
17502 double arg3 ;
17503 int arg4 = (int) 0 ;
17504 int arg5 = (int) 0 ;
17505 PyObject * obj0 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17512 {
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17515
17516 wxPyEndAllowThreads(__tstate);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 Py_INCREF(Py_None); resultobj = Py_None;
17520 return resultobj;
17521 fail:
17522 return NULL;
17523 }
17524
17525
17526 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17529 double arg2 ;
17530 double arg3 ;
17531 int arg4 = (int) 0 ;
17532 int arg5 = (int) 0 ;
17533 PyObject * obj0 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17543
17544 wxPyEndAllowThreads(__tstate);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 Py_INCREF(Py_None); resultobj = Py_None;
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17557 double arg2 ;
17558 double arg3 ;
17559 int arg4 = (int) 0 ;
17560 int arg5 = (int) 0 ;
17561 PyObject * obj0 = 0 ;
17562 char *kwnames[] = {
17563 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17564 };
17565
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 Py_INCREF(Py_None); resultobj = Py_None;
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17583 PyObject *resultobj;
17584 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17585 double arg2 ;
17586 double arg3 ;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self",(char *) "x",(char *) "y", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 (arg1)->base_OnSize(arg2,arg3);
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 Py_INCREF(Py_None); resultobj = Py_None;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj;
17610 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17611 wxDC *arg2 = 0 ;
17612 double arg3 ;
17613 double arg4 ;
17614 double arg5 ;
17615 double arg6 ;
17616 bool arg7 = (bool) True ;
17617 bool result;
17618 PyObject * obj0 = 0 ;
17619 PyObject * obj1 = 0 ;
17620 PyObject * obj6 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17628 if (arg2 == NULL) {
17629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17630 }
17631 if (obj6) {
17632 arg7 = PyInt_AsLong(obj6) ? true : false;
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 resultobj = PyInt_FromLong((long)result);
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17652 wxDC *arg2 = 0 ;
17653 double arg3 ;
17654 double arg4 ;
17655 double arg5 ;
17656 double arg6 ;
17657 bool arg7 = (bool) True ;
17658 PyObject * obj0 = 0 ;
17659 PyObject * obj1 = 0 ;
17660 PyObject * obj6 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 if (arg2 == NULL) {
17669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17670 }
17671 if (obj6) {
17672 arg7 = PyInt_AsLong(obj6) ? true : false;
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 Py_INCREF(Py_None); resultobj = Py_None;
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17692 bool arg2 ;
17693 double arg3 ;
17694 double arg4 ;
17695 int arg5 = (int) 0 ;
17696 int arg6 = (int) 0 ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17705 arg2 = PyInt_AsLong(obj1) ? true : false;
17706 if (PyErr_Occurred()) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17722 PyObject *resultobj;
17723 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17724 double arg2 ;
17725 double arg3 ;
17726 int arg4 = (int) 0 ;
17727 int arg5 = (int) 0 ;
17728 PyObject * obj0 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 Py_INCREF(Py_None); resultobj = Py_None;
17743 return resultobj;
17744 fail:
17745 return NULL;
17746 }
17747
17748
17749 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj;
17751 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17752 double arg2 ;
17753 double arg3 ;
17754 int arg4 = (int) 0 ;
17755 int arg5 = (int) 0 ;
17756 PyObject * obj0 = 0 ;
17757 char *kwnames[] = {
17758 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17759 };
17760
17761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 Py_INCREF(Py_None); resultobj = Py_None;
17771 return resultobj;
17772 fail:
17773 return NULL;
17774 }
17775
17776
17777 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj;
17779 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17780 bool arg2 ;
17781 double arg3 ;
17782 double arg4 ;
17783 int arg5 = (int) 0 ;
17784 int arg6 = (int) 0 ;
17785 PyObject * obj0 = 0 ;
17786 PyObject * obj1 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17793 arg2 = PyInt_AsLong(obj1) ? true : false;
17794 if (PyErr_Occurred()) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 Py_INCREF(Py_None); resultobj = Py_None;
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17812 double arg2 ;
17813 double arg3 ;
17814 int arg4 = (int) 0 ;
17815 int arg5 = (int) 0 ;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17840 double arg2 ;
17841 double arg3 ;
17842 int arg4 = (int) 0 ;
17843 int arg5 = (int) 0 ;
17844 PyObject * obj0 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
17854
17855 wxPyEndAllowThreads(__tstate);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 Py_INCREF(Py_None); resultobj = Py_None;
17859 return resultobj;
17860 fail:
17861 return NULL;
17862 }
17863
17864
17865 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
17866 PyObject *resultobj;
17867 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17868 wxDC *arg2 = 0 ;
17869 double arg3 ;
17870 double arg4 ;
17871 double arg5 ;
17872 double arg6 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 if (arg2 == NULL) {
17883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17884 }
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 Py_INCREF(Py_None); resultobj = Py_None;
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17902 wxDC *arg2 = 0 ;
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "dc", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 if (arg2 == NULL) {
17913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17914 }
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 (arg1)->base_OnDrawControlPoints(*arg2);
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 Py_INCREF(Py_None); resultobj = Py_None;
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17932 wxDC *arg2 = 0 ;
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self",(char *) "dc", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 if (arg2 == NULL) {
17943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17944 }
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 (arg1)->base_OnEraseControlPoints(*arg2);
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 Py_INCREF(Py_None); resultobj = Py_None;
17953 return resultobj;
17954 fail:
17955 return NULL;
17956 }
17957
17958
17959 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
17960 PyObject *resultobj;
17961 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17962 wxDC *arg2 = 0 ;
17963 bool arg3 = (bool) True ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 PyObject * obj2 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17974 if (arg2 == NULL) {
17975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17976 }
17977 if (obj2) {
17978 arg3 = PyInt_AsLong(obj2) ? true : false;
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->base_OnMoveLink(*arg2,arg3);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17998 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17999 bool arg3 ;
18000 double arg4 ;
18001 double arg5 ;
18002 int arg6 = (int) 0 ;
18003 int arg7 = (int) 0 ;
18004 PyObject * obj0 = 0 ;
18005 PyObject * obj1 = 0 ;
18006 PyObject * obj2 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18014 arg3 = PyInt_AsLong(obj2) ? true : false;
18015 if (PyErr_Occurred()) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18033 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18034 double arg3 ;
18035 double arg4 ;
18036 int arg5 = (int) 0 ;
18037 int arg6 = (int) 0 ;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 Py_INCREF(Py_None); resultobj = Py_None;
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18064 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18065 double arg3 ;
18066 double arg4 ;
18067 int arg5 = (int) 0 ;
18068 int arg6 = (int) 0 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 Py_INCREF(Py_None); resultobj = Py_None;
18086 return resultobj;
18087 fail:
18088 return NULL;
18089 }
18090
18091
18092 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18095 double arg2 ;
18096 double arg3 ;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "w",(char *) "h", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 (arg1)->base_OnBeginSize(arg2,arg3);
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 Py_INCREF(Py_None); resultobj = Py_None;
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
18121 double arg2 ;
18122 double arg3 ;
18123 PyObject * obj0 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self",(char *) "w",(char *) "h", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 (arg1)->base_OnEndSize(arg2,arg3);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 Py_INCREF(Py_None); resultobj = Py_None;
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
18145 PyObject *obj;
18146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
18148 Py_INCREF(obj);
18149 return Py_BuildValue((char *)"");
18150 }
18151 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 double arg1 = (double) 0.0 ;
18154 double arg2 = (double) 0.0 ;
18155 wxPyEllipseShape *result;
18156 char *kwnames[] = {
18157 (char *) "width",(char *) "height", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyEllipseShape",kwnames,&arg1,&arg2)) goto fail;
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18178 PyObject *arg2 = (PyObject *) 0 ;
18179 PyObject *arg3 = (PyObject *) 0 ;
18180 PyObject * obj0 = 0 ;
18181 PyObject * obj1 = 0 ;
18182 PyObject * obj2 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self",(char *) "self",(char *) "_class", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18189 arg2 = obj1;
18190 arg3 = obj2;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 (arg1)->_setCallbackInfo(arg2,arg3);
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 Py_INCREF(Py_None); resultobj = Py_None;
18199 return resultobj;
18200 fail:
18201 return NULL;
18202 }
18203
18204
18205 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18208 wxDC *arg2 = 0 ;
18209 PyObject * obj0 = 0 ;
18210 PyObject * obj1 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self",(char *) "dc", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if (arg2 == NULL) {
18219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18220 }
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 (arg1)->base_OnDraw(*arg2);
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 Py_INCREF(Py_None); resultobj = Py_None;
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18238 wxDC *arg2 = 0 ;
18239 PyObject * obj0 = 0 ;
18240 PyObject * obj1 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self",(char *) "dc", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18248 if (arg2 == NULL) {
18249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18250 }
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 (arg1)->base_OnDrawContents(*arg2);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 Py_INCREF(Py_None); resultobj = Py_None;
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18268 wxDC *arg2 = 0 ;
18269 bool arg3 = (bool) FALSE ;
18270 PyObject * obj0 = 0 ;
18271 PyObject * obj1 = 0 ;
18272 PyObject * obj2 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self",(char *) "dc",(char *) "erase", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 if (arg2 == NULL) {
18281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18282 }
18283 if (obj2) {
18284 arg3 = PyInt_AsLong(obj2) ? true : false;
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->base_OnDrawBranches(*arg2,arg3);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 Py_INCREF(Py_None); resultobj = Py_None;
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18304 wxDC *arg2 = 0 ;
18305 PyObject * obj0 = 0 ;
18306 PyObject * obj1 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "dc", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18314 if (arg2 == NULL) {
18315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 (arg1)->base_OnMoveLinks(*arg2);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 Py_INCREF(Py_None); resultobj = Py_None;
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18334 wxDC *arg2 = 0 ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self",(char *) "dc", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18344 if (arg2 == NULL) {
18345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18346 }
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 (arg1)->base_OnErase(*arg2);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 Py_INCREF(Py_None); resultobj = Py_None;
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18364 wxDC *arg2 = 0 ;
18365 PyObject * obj0 = 0 ;
18366 PyObject * obj1 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self",(char *) "dc", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18374 if (arg2 == NULL) {
18375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18376 }
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 (arg1)->base_OnEraseContents(*arg2);
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 Py_INCREF(Py_None); resultobj = Py_None;
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18394 wxDC *arg2 = 0 ;
18395 PyObject * obj0 = 0 ;
18396 PyObject * obj1 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self",(char *) "dc", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18404 if (arg2 == NULL) {
18405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18406 }
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 (arg1)->base_OnHighlight(*arg2);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18424 double arg2 ;
18425 double arg3 ;
18426 int arg4 = (int) 0 ;
18427 int arg5 = (int) 0 ;
18428 PyObject * obj0 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 Py_INCREF(Py_None); resultobj = Py_None;
18443 return resultobj;
18444 fail:
18445 return NULL;
18446 }
18447
18448
18449 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18450 PyObject *resultobj;
18451 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18452 double arg2 ;
18453 double arg3 ;
18454 int arg4 = (int) 0 ;
18455 int arg5 = (int) 0 ;
18456 PyObject * obj0 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 Py_INCREF(Py_None); resultobj = Py_None;
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18480 double arg2 ;
18481 double arg3 ;
18482 int arg4 = (int) 0 ;
18483 int arg5 = (int) 0 ;
18484 PyObject * obj0 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18487 };
18488
18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 Py_INCREF(Py_None); resultobj = Py_None;
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18508 double arg2 ;
18509 double arg3 ;
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self",(char *) "x",(char *) "y", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 (arg1)->base_OnSize(arg2,arg3);
18520
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 Py_INCREF(Py_None); resultobj = Py_None;
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18534 wxDC *arg2 = 0 ;
18535 double arg3 ;
18536 double arg4 ;
18537 double arg5 ;
18538 double arg6 ;
18539 bool arg7 = (bool) True ;
18540 bool result;
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 PyObject * obj6 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18551 if (arg2 == NULL) {
18552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18553 }
18554 if (obj6) {
18555 arg7 = PyInt_AsLong(obj6) ? true : false;
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = PyInt_FromLong((long)result);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18575 wxDC *arg2 = 0 ;
18576 double arg3 ;
18577 double arg4 ;
18578 double arg5 ;
18579 double arg6 ;
18580 bool arg7 = (bool) True ;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 PyObject * obj6 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18591 if (arg2 == NULL) {
18592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18593 }
18594 if (obj6) {
18595 arg7 = PyInt_AsLong(obj6) ? true : false;
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 Py_INCREF(Py_None); resultobj = Py_None;
18606 return resultobj;
18607 fail:
18608 return NULL;
18609 }
18610
18611
18612 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18613 PyObject *resultobj;
18614 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18615 bool arg2 ;
18616 double arg3 ;
18617 double arg4 ;
18618 int arg5 = (int) 0 ;
18619 int arg6 = (int) 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 arg2 = PyInt_AsLong(obj1) ? true : false;
18629 if (PyErr_Occurred()) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18647 double arg2 ;
18648 double arg3 ;
18649 int arg4 = (int) 0 ;
18650 int arg5 = (int) 0 ;
18651 PyObject * obj0 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 Py_INCREF(Py_None); resultobj = Py_None;
18666 return resultobj;
18667 fail:
18668 return NULL;
18669 }
18670
18671
18672 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj;
18674 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18675 double arg2 ;
18676 double arg3 ;
18677 int arg4 = (int) 0 ;
18678 int arg5 = (int) 0 ;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 Py_INCREF(Py_None); resultobj = Py_None;
18694 return resultobj;
18695 fail:
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18703 bool arg2 ;
18704 double arg3 ;
18705 double arg4 ;
18706 int arg5 = (int) 0 ;
18707 int arg6 = (int) 0 ;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 arg2 = PyInt_AsLong(obj1) ? true : false;
18717 if (PyErr_Occurred()) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 Py_INCREF(Py_None); resultobj = Py_None;
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18735 double arg2 ;
18736 double arg3 ;
18737 int arg4 = (int) 0 ;
18738 int arg5 = (int) 0 ;
18739 PyObject * obj0 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 Py_INCREF(Py_None); resultobj = Py_None;
18754 return resultobj;
18755 fail:
18756 return NULL;
18757 }
18758
18759
18760 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18763 double arg2 ;
18764 double arg3 ;
18765 int arg4 = (int) 0 ;
18766 int arg5 = (int) 0 ;
18767 PyObject * obj0 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 Py_INCREF(Py_None); resultobj = Py_None;
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18791 wxDC *arg2 = 0 ;
18792 double arg3 ;
18793 double arg4 ;
18794 double arg5 ;
18795 double arg6 ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj1 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18805 if (arg2 == NULL) {
18806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18807 }
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 Py_INCREF(Py_None); resultobj = Py_None;
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18825 wxDC *arg2 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "dc", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18835 if (arg2 == NULL) {
18836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18837 }
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 (arg1)->base_OnDrawControlPoints(*arg2);
18841
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 Py_INCREF(Py_None); resultobj = Py_None;
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18855 wxDC *arg2 = 0 ;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "dc", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 if (arg2 == NULL) {
18866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18867 }
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 (arg1)->base_OnEraseControlPoints(*arg2);
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 Py_INCREF(Py_None); resultobj = Py_None;
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18885 wxDC *arg2 = 0 ;
18886 bool arg3 = (bool) True ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 PyObject * obj2 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18897 if (arg2 == NULL) {
18898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18899 }
18900 if (obj2) {
18901 arg3 = PyInt_AsLong(obj2) ? true : false;
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 (arg1)->base_OnMoveLink(*arg2,arg3);
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 Py_INCREF(Py_None); resultobj = Py_None;
18912 return resultobj;
18913 fail:
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18921 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18922 bool arg3 ;
18923 double arg4 ;
18924 double arg5 ;
18925 int arg6 = (int) 0 ;
18926 int arg7 = (int) 0 ;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 PyObject * obj2 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18937 arg3 = PyInt_AsLong(obj2) ? true : false;
18938 if (PyErr_Occurred()) SWIG_fail;
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18942
18943 wxPyEndAllowThreads(__tstate);
18944 if (PyErr_Occurred()) SWIG_fail;
18945 }
18946 Py_INCREF(Py_None); resultobj = Py_None;
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18956 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18957 double arg3 ;
18958 double arg4 ;
18959 int arg5 = (int) 0 ;
18960 int arg6 = (int) 0 ;
18961 PyObject * obj0 = 0 ;
18962 PyObject * obj1 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 return resultobj;
18979 fail:
18980 return NULL;
18981 }
18982
18983
18984 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18987 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18988 double arg3 ;
18989 double arg4 ;
18990 int arg5 = (int) 0 ;
18991 int arg6 = (int) 0 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19018 double arg2 ;
19019 double arg3 ;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "w",(char *) "h", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 (arg1)->base_OnBeginSize(arg2,arg3);
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 Py_INCREF(Py_None); resultobj = Py_None;
19035 return resultobj;
19036 fail:
19037 return NULL;
19038 }
19039
19040
19041 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
19044 double arg2 ;
19045 double arg3 ;
19046 PyObject * obj0 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "w",(char *) "h", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 (arg1)->base_OnEndSize(arg2,arg3);
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 Py_INCREF(Py_None); resultobj = Py_None;
19061 return resultobj;
19062 fail:
19063 return NULL;
19064 }
19065
19066
19067 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
19068 PyObject *obj;
19069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19070 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
19071 Py_INCREF(obj);
19072 return Py_BuildValue((char *)"");
19073 }
19074 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 double arg1 = (double) 0.0 ;
19077 wxPyCircleShape *result;
19078 char *kwnames[] = {
19079 (char *) "width", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|d:new_PyCircleShape",kwnames,&arg1)) goto fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19100 PyObject *arg2 = (PyObject *) 0 ;
19101 PyObject *arg3 = (PyObject *) 0 ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 PyObject * obj2 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "self",(char *) "_class", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19111 arg2 = obj1;
19112 arg3 = obj2;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 (arg1)->_setCallbackInfo(arg2,arg3);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 Py_INCREF(Py_None); resultobj = Py_None;
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19130 wxDC *arg2 = 0 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "dc", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19140 if (arg2 == NULL) {
19141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19142 }
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->base_OnDraw(*arg2);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19160 wxDC *arg2 = 0 ;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj1 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self",(char *) "dc", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 if (arg2 == NULL) {
19171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19172 }
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 (arg1)->base_OnDrawContents(*arg2);
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 Py_INCREF(Py_None); resultobj = Py_None;
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj;
19189 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19190 wxDC *arg2 = 0 ;
19191 bool arg3 = (bool) FALSE ;
19192 PyObject * obj0 = 0 ;
19193 PyObject * obj1 = 0 ;
19194 PyObject * obj2 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self",(char *) "dc",(char *) "erase", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 if (arg2 == NULL) {
19203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19204 }
19205 if (obj2) {
19206 arg3 = PyInt_AsLong(obj2) ? true : false;
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->base_OnDrawBranches(*arg2,arg3);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 Py_INCREF(Py_None); resultobj = Py_None;
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19226 wxDC *arg2 = 0 ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "dc", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19236 if (arg2 == NULL) {
19237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19238 }
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->base_OnMoveLinks(*arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19256 wxDC *arg2 = 0 ;
19257 PyObject * obj0 = 0 ;
19258 PyObject * obj1 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self",(char *) "dc", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19266 if (arg2 == NULL) {
19267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19268 }
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->base_OnErase(*arg2);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19286 wxDC *arg2 = 0 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self",(char *) "dc", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19296 if (arg2 == NULL) {
19297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19298 }
19299 {
19300 PyThreadState* __tstate = wxPyBeginAllowThreads();
19301 (arg1)->base_OnEraseContents(*arg2);
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 Py_INCREF(Py_None); resultobj = Py_None;
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19316 wxDC *arg2 = 0 ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self",(char *) "dc", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19326 if (arg2 == NULL) {
19327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19328 }
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 (arg1)->base_OnHighlight(*arg2);
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 Py_INCREF(Py_None); resultobj = Py_None;
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19346 double arg2 ;
19347 double arg3 ;
19348 int arg4 = (int) 0 ;
19349 int arg5 = (int) 0 ;
19350 PyObject * obj0 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19357 {
19358 PyThreadState* __tstate = wxPyBeginAllowThreads();
19359 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 Py_INCREF(Py_None); resultobj = Py_None;
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19374 double arg2 ;
19375 double arg3 ;
19376 int arg4 = (int) 0 ;
19377 int arg5 = (int) 0 ;
19378 PyObject * obj0 = 0 ;
19379 char *kwnames[] = {
19380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19388
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 Py_INCREF(Py_None); resultobj = Py_None;
19393 return resultobj;
19394 fail:
19395 return NULL;
19396 }
19397
19398
19399 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj;
19401 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19402 double arg2 ;
19403 double arg3 ;
19404 int arg4 = (int) 0 ;
19405 int arg5 = (int) 0 ;
19406 PyObject * obj0 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 return resultobj;
19422 fail:
19423 return NULL;
19424 }
19425
19426
19427 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19428 PyObject *resultobj;
19429 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19430 double arg2 ;
19431 double arg3 ;
19432 PyObject * obj0 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self",(char *) "x",(char *) "y", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 (arg1)->base_OnSize(arg2,arg3);
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 Py_INCREF(Py_None); resultobj = Py_None;
19447 return resultobj;
19448 fail:
19449 return NULL;
19450 }
19451
19452
19453 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19454 PyObject *resultobj;
19455 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19456 wxDC *arg2 = 0 ;
19457 double arg3 ;
19458 double arg4 ;
19459 double arg5 ;
19460 double arg6 ;
19461 bool arg7 = (bool) True ;
19462 bool result;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 PyObject * obj6 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19473 if (arg2 == NULL) {
19474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19475 }
19476 if (obj6) {
19477 arg7 = PyInt_AsLong(obj6) ? true : false;
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 resultobj = PyInt_FromLong((long)result);
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19497 wxDC *arg2 = 0 ;
19498 double arg3 ;
19499 double arg4 ;
19500 double arg5 ;
19501 double arg6 ;
19502 bool arg7 = (bool) True ;
19503 PyObject * obj0 = 0 ;
19504 PyObject * obj1 = 0 ;
19505 PyObject * obj6 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19513 if (arg2 == NULL) {
19514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19515 }
19516 if (obj6) {
19517 arg7 = PyInt_AsLong(obj6) ? true : false;
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 return resultobj;
19529 fail:
19530 return NULL;
19531 }
19532
19533
19534 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19537 bool arg2 ;
19538 double arg3 ;
19539 double arg4 ;
19540 int arg5 = (int) 0 ;
19541 int arg6 = (int) 0 ;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 arg2 = PyInt_AsLong(obj1) ? true : false;
19551 if (PyErr_Occurred()) SWIG_fail;
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19569 double arg2 ;
19570 double arg3 ;
19571 int arg4 = (int) 0 ;
19572 int arg5 = (int) 0 ;
19573 PyObject * obj0 = 0 ;
19574 char *kwnames[] = {
19575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19576 };
19577
19578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19597 double arg2 ;
19598 double arg3 ;
19599 int arg4 = (int) 0 ;
19600 int arg5 = (int) 0 ;
19601 PyObject * obj0 = 0 ;
19602 char *kwnames[] = {
19603 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19604 };
19605
19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 Py_INCREF(Py_None); resultobj = Py_None;
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj;
19624 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19625 bool arg2 ;
19626 double arg3 ;
19627 double arg4 ;
19628 int arg5 = (int) 0 ;
19629 int arg6 = (int) 0 ;
19630 PyObject * obj0 = 0 ;
19631 PyObject * obj1 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 arg2 = PyInt_AsLong(obj1) ? true : false;
19639 if (PyErr_Occurred()) SWIG_fail;
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 Py_INCREF(Py_None); resultobj = Py_None;
19648 return resultobj;
19649 fail:
19650 return NULL;
19651 }
19652
19653
19654 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj;
19656 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19657 double arg2 ;
19658 double arg3 ;
19659 int arg4 = (int) 0 ;
19660 int arg5 = (int) 0 ;
19661 PyObject * obj0 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19685 double arg2 ;
19686 double arg3 ;
19687 int arg4 = (int) 0 ;
19688 int arg5 = (int) 0 ;
19689 PyObject * obj0 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19699
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 Py_INCREF(Py_None); resultobj = Py_None;
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19713 wxDC *arg2 = 0 ;
19714 double arg3 ;
19715 double arg4 ;
19716 double arg5 ;
19717 double arg6 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19727 if (arg2 == NULL) {
19728 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19747 wxDC *arg2 = 0 ;
19748 PyObject * obj0 = 0 ;
19749 PyObject * obj1 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "dc", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 if (arg2 == NULL) {
19758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19759 }
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 (arg1)->base_OnDrawControlPoints(*arg2);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 Py_INCREF(Py_None); resultobj = Py_None;
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19777 wxDC *arg2 = 0 ;
19778 PyObject * obj0 = 0 ;
19779 PyObject * obj1 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self",(char *) "dc", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19787 if (arg2 == NULL) {
19788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19789 }
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 (arg1)->base_OnEraseControlPoints(*arg2);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 Py_INCREF(Py_None); resultobj = Py_None;
19798 return resultobj;
19799 fail:
19800 return NULL;
19801 }
19802
19803
19804 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19807 wxDC *arg2 = 0 ;
19808 bool arg3 = (bool) True ;
19809 PyObject * obj0 = 0 ;
19810 PyObject * obj1 = 0 ;
19811 PyObject * obj2 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19819 if (arg2 == NULL) {
19820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19821 }
19822 if (obj2) {
19823 arg3 = PyInt_AsLong(obj2) ? true : false;
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 (arg1)->base_OnMoveLink(*arg2,arg3);
19829
19830 wxPyEndAllowThreads(__tstate);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 Py_INCREF(Py_None); resultobj = Py_None;
19834 return resultobj;
19835 fail:
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19843 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19844 bool arg3 ;
19845 double arg4 ;
19846 double arg5 ;
19847 int arg6 = (int) 0 ;
19848 int arg7 = (int) 0 ;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 PyObject * obj2 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19859 arg3 = PyInt_AsLong(obj2) ? true : false;
19860 if (PyErr_Occurred()) SWIG_fail;
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 Py_INCREF(Py_None); resultobj = Py_None;
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19878 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19879 double arg3 ;
19880 double arg4 ;
19881 int arg5 = (int) 0 ;
19882 int arg6 = (int) 0 ;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 Py_INCREF(Py_None); resultobj = Py_None;
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19909 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19910 double arg3 ;
19911 double arg4 ;
19912 int arg5 = (int) 0 ;
19913 int arg6 = (int) 0 ;
19914 PyObject * obj0 = 0 ;
19915 PyObject * obj1 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 Py_INCREF(Py_None); resultobj = Py_None;
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19940 double arg2 ;
19941 double arg3 ;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self",(char *) "w",(char *) "h", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 (arg1)->base_OnBeginSize(arg2,arg3);
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 Py_INCREF(Py_None); resultobj = Py_None;
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19966 double arg2 ;
19967 double arg3 ;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self",(char *) "w",(char *) "h", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->base_OnEndSize(arg2,arg3);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 Py_INCREF(Py_None); resultobj = Py_None;
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
19990 PyObject *obj;
19991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19992 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
19993 Py_INCREF(obj);
19994 return Py_BuildValue((char *)"");
19995 }
19996 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 int arg1 = (int) 0 ;
19999 int arg2 = (int) 0 ;
20000 double arg3 = (double) 0.0 ;
20001 double arg4 = (double) 0.0 ;
20002 wxString const &arg5_defvalue = wxPyEmptyString ;
20003 wxString *arg5 = (wxString *) &arg5_defvalue ;
20004 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
20005 long arg7 = (long) -1 ;
20006 wxArrowHead *result;
20007 bool temp5 = False ;
20008 PyObject * obj4 = 0 ;
20009 PyObject * obj5 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiddOOl:new_ArrowHead",kwnames,&arg1,&arg2,&arg3,&arg4,&obj4,&obj5,&arg7)) goto fail;
20015 if (obj4) {
20016 {
20017 arg5 = wxString_in_helper(obj4);
20018 if (arg5 == NULL) SWIG_fail;
20019 temp5 = True;
20020 }
20021 }
20022 if (obj5) {
20023 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20024 }
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 {
20033 resultobj = wxPyMake_wxObject(result);
20034 }
20035 {
20036 if (temp5)
20037 delete arg5;
20038 }
20039 return resultobj;
20040 fail:
20041 {
20042 if (temp5)
20043 delete arg5;
20044 }
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20052 PyObject * obj0 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 delete arg1;
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 Py_INCREF(Py_None); resultobj = Py_None;
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20076 int result;
20077 PyObject * obj0 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (int)(arg1)->_GetType();
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 resultobj = PyInt_FromLong((long)result);
20092 return resultobj;
20093 fail:
20094 return NULL;
20095 }
20096
20097
20098 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20101 int result;
20102 PyObject * obj0 = 0 ;
20103 char *kwnames[] = {
20104 (char *) "self", NULL
20105 };
20106
20107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
20108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (int)(arg1)->GetPosition();
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 resultobj = PyInt_FromLong((long)result);
20117 return resultobj;
20118 fail:
20119 return NULL;
20120 }
20121
20122
20123 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20124 PyObject *resultobj;
20125 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20126 int arg2 ;
20127 PyObject * obj0 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "pos", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ArrowHead_SetPosition",kwnames,&obj0,&arg2)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetPosition(arg2);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20151 double result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (double)(arg1)->GetXOffset();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 resultobj = PyFloat_FromDouble(result);
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20176 double result;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (double)(arg1)->GetYOffset();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = PyFloat_FromDouble(result);
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20201 double result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
20208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (double)(arg1)->GetSpacing();
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = PyFloat_FromDouble(result);
20217 return resultobj;
20218 fail:
20219 return NULL;
20220 }
20221
20222
20223 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20226 double result;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
20233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (double)(arg1)->GetSize();
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = PyFloat_FromDouble(result);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20251 wxString result;
20252 PyObject * obj0 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
20258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 result = (arg1)->GetName();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 {
20267 #if wxUSE_UNICODE
20268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20269 #else
20270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20271 #endif
20272 }
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20282 double arg2 ;
20283 PyObject * obj0 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self",(char *) "x", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 (arg1)->SetXOffset(arg2);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 Py_INCREF(Py_None); resultobj = Py_None;
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20307 double arg2 ;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "y", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetYOffset",kwnames,&obj0,&arg2)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 (arg1)->SetYOffset(arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 Py_INCREF(Py_None); resultobj = Py_None;
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20332 wxPseudoMetaFile *result;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
20339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 {
20348 resultobj = wxPyMake_wxObject(result);
20349 }
20350 return resultobj;
20351 fail:
20352 return NULL;
20353 }
20354
20355
20356 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20359 long result;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (long)(arg1)->GetId();
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 resultobj = PyInt_FromLong((long)result);
20375 return resultobj;
20376 fail:
20377 return NULL;
20378 }
20379
20380
20381 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20384 int result;
20385 PyObject * obj0 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (int)(arg1)->GetArrowEnd();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = PyInt_FromLong((long)result);
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20409 double result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = (double)(arg1)->GetArrowSize();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 resultobj = PyFloat_FromDouble(result);
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj;
20433 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20434 double arg2 ;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self",(char *) "size", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSize",kwnames,&obj0,&arg2)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->SetSize(arg2);
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453 }
20454
20455
20456 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj;
20458 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20459 double arg2 ;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self",(char *) "sp", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSpacing",kwnames,&obj0,&arg2)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 (arg1)->SetSpacing(arg2);
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 Py_INCREF(Py_None); resultobj = Py_None;
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
20482 PyObject *obj;
20483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20484 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
20485 Py_INCREF(obj);
20486 return Py_BuildValue((char *)"");
20487 }
20488 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPyLineShape *result;
20491 char *kwnames[] = {
20492 NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 result = (wxPyLineShape *)new wxPyLineShape();
20499
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20513 PyObject *arg2 = (PyObject *) 0 ;
20514 PyObject *arg3 = (PyObject *) 0 ;
20515 PyObject * obj0 = 0 ;
20516 PyObject * obj1 = 0 ;
20517 PyObject * obj2 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "self",(char *) "_class", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20524 arg2 = obj1;
20525 arg3 = obj2;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->_setCallbackInfo(arg2,arg3);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20543 int arg2 ;
20544 int arg3 = (int) ARROW_POSITION_END ;
20545 double arg4 = (double) 10.0 ;
20546 double arg5 = (double) 0.0 ;
20547 wxString const &arg6_defvalue = wxPyEmptyString ;
20548 wxString *arg6 = (wxString *) &arg6_defvalue ;
20549 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
20550 long arg8 = (long) -1 ;
20551 bool temp6 = False ;
20552 PyObject * obj0 = 0 ;
20553 PyObject * obj5 = 0 ;
20554 PyObject * obj6 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20561 if (obj5) {
20562 {
20563 arg6 = wxString_in_helper(obj5);
20564 if (arg6 == NULL) SWIG_fail;
20565 temp6 = True;
20566 }
20567 }
20568 if (obj6) {
20569 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20570 }
20571 {
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 Py_INCREF(Py_None); resultobj = Py_None;
20579 {
20580 if (temp6)
20581 delete arg6;
20582 }
20583 return resultobj;
20584 fail:
20585 {
20586 if (temp6)
20587 delete arg6;
20588 }
20589 return NULL;
20590 }
20591
20592
20593 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
20594 PyObject *resultobj;
20595 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20596 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
20597 PyObject *arg3 = (PyObject *) 0 ;
20598 int arg4 ;
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj1 = 0 ;
20601 PyObject * obj2 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20609 arg3 = obj2;
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20627 wxString *arg2 = 0 ;
20628 bool result;
20629 bool temp2 = False ;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632 char *kwnames[] = {
20633 (char *) "self",(char *) "name", NULL
20634 };
20635
20636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
20637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20638 {
20639 arg2 = wxString_in_helper(obj1);
20640 if (arg2 == NULL) SWIG_fail;
20641 temp2 = True;
20642 }
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 resultobj = PyInt_FromLong((long)result);
20651 {
20652 if (temp2)
20653 delete arg2;
20654 }
20655 return resultobj;
20656 fail:
20657 {
20658 if (temp2)
20659 delete arg2;
20660 }
20661 return NULL;
20662 }
20663
20664
20665 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20666 PyObject *resultobj;
20667 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20668 int arg2 = (int) -1 ;
20669 PyObject * obj0 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "position", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&arg2)) goto fail;
20675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->ClearArrowsAtPosition(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20693 wxDC *arg2 = 0 ;
20694 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
20695 double arg4 ;
20696 bool arg5 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 PyObject * obj2 = 0 ;
20700 PyObject * obj4 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 if (arg2 == NULL) {
20709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20710 }
20711 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20712 arg5 = PyInt_AsLong(obj4) ? true : false;
20713 if (PyErr_Occurred()) SWIG_fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 Py_INCREF(Py_None); resultobj = Py_None;
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20731 long arg2 ;
20732 bool result;
20733 PyObject * obj0 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "arrowId", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (bool)(arg1)->DeleteArrowHead(arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 resultobj = PyInt_FromLong((long)result);
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20757 int arg2 ;
20758 wxString *arg3 = 0 ;
20759 bool result;
20760 bool temp3 = False ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj2 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "position",(char *) "name", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20769 {
20770 arg3 = wxString_in_helper(obj2);
20771 if (arg3 == NULL) SWIG_fail;
20772 temp3 = True;
20773 }
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 resultobj = PyInt_FromLong((long)result);
20782 {
20783 if (temp3)
20784 delete arg3;
20785 }
20786 return resultobj;
20787 fail:
20788 {
20789 if (temp3)
20790 delete arg3;
20791 }
20792 return NULL;
20793 }
20794
20795
20796 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20799 bool result;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (bool)(arg1)->DeleteLineControlPoint();
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 resultobj = PyInt_FromLong((long)result);
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20824 wxDC *arg2 = 0 ;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "dc", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20834 if (arg2 == NULL) {
20835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20836 }
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 (arg1)->DrawArrows(*arg2);
20840
20841 wxPyEndAllowThreads(__tstate);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 Py_INCREF(Py_None); resultobj = Py_None;
20845 return resultobj;
20846 fail:
20847 return NULL;
20848 }
20849
20850
20851 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20852 PyObject *resultobj;
20853 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20854 wxDC *arg2 = 0 ;
20855 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20856 double arg4 ;
20857 double arg5 ;
20858 PyObject * obj0 = 0 ;
20859 PyObject * obj1 = 0 ;
20860 PyObject * obj2 = 0 ;
20861 char *kwnames[] = {
20862 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 if (arg2 == NULL) {
20869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20870 }
20871 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 Py_INCREF(Py_None); resultobj = Py_None;
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20889 wxDC *arg2 = 0 ;
20890 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20891 double arg4 ;
20892 double arg5 ;
20893 PyObject * obj0 = 0 ;
20894 PyObject * obj1 = 0 ;
20895 PyObject * obj2 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 if (arg2 == NULL) {
20904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20905 }
20906 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 Py_INCREF(Py_None); resultobj = Py_None;
20915 return resultobj;
20916 fail:
20917 return NULL;
20918 }
20919
20920
20921 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20924 long arg2 ;
20925 wxArrowHead *result;
20926 PyObject * obj0 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "arrowId", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941 resultobj = wxPyMake_wxObject(result);
20942 }
20943 return resultobj;
20944 fail:
20945 return NULL;
20946 }
20947
20948
20949 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20952 int arg2 ;
20953 wxString *arg3 = 0 ;
20954 wxArrowHead *result;
20955 bool temp3 = False ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj2 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self",(char *) "position",(char *) "name", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_FindArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20964 {
20965 arg3 = wxString_in_helper(obj2);
20966 if (arg3 == NULL) SWIG_fail;
20967 temp3 = True;
20968 }
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 resultobj = wxPyMake_wxObject(result);
20978 }
20979 {
20980 if (temp3)
20981 delete arg3;
20982 }
20983 return resultobj;
20984 fail:
20985 {
20986 if (temp3)
20987 delete arg3;
20988 }
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20996 double *arg2 = (double *) 0 ;
20997 double *arg3 = (double *) 0 ;
20998 double *arg4 = (double *) 0 ;
20999 double *arg5 = (double *) 0 ;
21000 double temp2 ;
21001 double temp3 ;
21002 double temp4 ;
21003 double temp5 ;
21004 PyObject * obj0 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self", NULL
21007 };
21008
21009 arg2 = &temp2;
21010 arg3 = &temp3;
21011 arg4 = &temp4;
21012 arg5 = &temp5;
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 Py_INCREF(Py_None); resultobj = Py_None;
21023 {
21024 PyObject *o = PyFloat_FromDouble((double) (*arg2));
21025 resultobj = t_output_helper(resultobj,o);
21026 }
21027 {
21028 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21029 resultobj = t_output_helper(resultobj,o);
21030 }
21031 {
21032 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21033 resultobj = t_output_helper(resultobj,o);
21034 }
21035 {
21036 PyObject *o = PyFloat_FromDouble((double) (*arg5));
21037 resultobj = t_output_helper(resultobj,o);
21038 }
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj;
21047 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21048 double arg2 ;
21049 double arg3 ;
21050 int result;
21051 PyObject * obj0 = 0 ;
21052 char *kwnames[] = {
21053 (char *) "self",(char *) "x",(char *) "y", NULL
21054 };
21055
21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_FindLinePosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
21057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21058 {
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = (int)(arg1)->FindLinePosition(arg2,arg3);
21061
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
21065 resultobj = PyInt_FromLong((long)result);
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21075 double result;
21076 PyObject * obj0 = 0 ;
21077 char *kwnames[] = {
21078 (char *) "self", NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
21082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21083 {
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 result = (double)(arg1)->FindMinimumWidth();
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 resultobj = PyFloat_FromDouble(result);
21091 return resultobj;
21092 fail:
21093 return NULL;
21094 }
21095
21096
21097 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21100 wxPyShape *arg2 = (wxPyShape *) 0 ;
21101 int *arg3 = (int *) 0 ;
21102 int *arg4 = (int *) 0 ;
21103 bool arg5 ;
21104 int temp3 ;
21105 int temp4 ;
21106 PyObject * obj0 = 0 ;
21107 PyObject * obj1 = 0 ;
21108 PyObject * obj2 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "image",(char *) "incoming", NULL
21111 };
21112
21113 arg3 = &temp3;
21114 arg4 = &temp4;
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 arg5 = PyInt_AsLong(obj2) ? true : false;
21119 if (PyErr_Occurred()) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->FindNth(arg2,arg3,arg4,arg5);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 {
21129 PyObject *o = PyInt_FromLong((long) (*arg3));
21130 resultobj = t_output_helper(resultobj,o);
21131 }
21132 {
21133 PyObject *o = PyInt_FromLong((long) (*arg4));
21134 resultobj = t_output_helper(resultobj,o);
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21145 int result;
21146 PyObject * obj0 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
21152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 result = (int)(arg1)->GetAttachmentFrom();
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 resultobj = PyInt_FromLong((long)result);
21161 return resultobj;
21162 fail:
21163 return NULL;
21164 }
21165
21166
21167 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21168 PyObject *resultobj;
21169 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21170 int result;
21171 PyObject * obj0 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
21177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 result = (int)(arg1)->GetAttachmentTo();
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 resultobj = PyInt_FromLong((long)result);
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21195 double *arg2 = (double *) 0 ;
21196 double *arg3 = (double *) 0 ;
21197 double *arg4 = (double *) 0 ;
21198 double *arg5 = (double *) 0 ;
21199 double temp2 ;
21200 double temp3 ;
21201 double temp4 ;
21202 double temp5 ;
21203 PyObject * obj0 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self", NULL
21206 };
21207
21208 arg2 = &temp2;
21209 arg3 = &temp3;
21210 arg4 = &temp4;
21211 arg5 = &temp5;
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
21213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 Py_INCREF(Py_None); resultobj = Py_None;
21222 {
21223 PyObject *o = PyFloat_FromDouble((double) (*arg2));
21224 resultobj = t_output_helper(resultobj,o);
21225 }
21226 {
21227 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21228 resultobj = t_output_helper(resultobj,o);
21229 }
21230 {
21231 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21232 resultobj = t_output_helper(resultobj,o);
21233 }
21234 {
21235 PyObject *o = PyFloat_FromDouble((double) (*arg5));
21236 resultobj = t_output_helper(resultobj,o);
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21247 wxPyShape *result;
21248 PyObject * obj0 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 result = (wxPyShape *)(arg1)->GetFrom();
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 {
21263 resultobj = wxPyMake_wxShapeEvtHandler(result);
21264 }
21265 return resultobj;
21266 fail:
21267 return NULL;
21268 }
21269
21270
21271 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21274 int arg2 ;
21275 double *arg3 = (double *) 0 ;
21276 double *arg4 = (double *) 0 ;
21277 double temp3 ;
21278 double temp4 ;
21279 PyObject * obj0 = 0 ;
21280 char *kwnames[] = {
21281 (char *) "self",(char *) "position", NULL
21282 };
21283
21284 arg3 = &temp3;
21285 arg4 = &temp4;
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames,&obj0,&arg2)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 (arg1)->GetLabelPosition(arg2,arg3,arg4);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 Py_INCREF(Py_None); resultobj = Py_None;
21296 {
21297 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21298 resultobj = t_output_helper(resultobj,o);
21299 }
21300 {
21301 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21302 resultobj = t_output_helper(resultobj,o);
21303 }
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21313 wxPyShape *arg2 = (wxPyShape *) 0 ;
21314 wxRealPoint *result;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "shape", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21341 wxPyShape *result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (wxPyShape *)(arg1)->GetTo();
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 {
21357 resultobj = wxPyMake_wxShapeEvtHandler(result);
21358 }
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21368 PyObject * obj0 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 (arg1)->Initialise();
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 Py_INCREF(Py_None); resultobj = Py_None;
21383 return resultobj;
21384 fail:
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21392 wxDC *arg2 = (wxDC *) 0 ;
21393 PyObject * obj0 = 0 ;
21394 PyObject * obj1 = 0 ;
21395 char *kwnames[] = {
21396 (char *) "self",(char *) "dc", NULL
21397 };
21398
21399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
21400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 (arg1)->InsertLineControlPoint(arg2);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 Py_INCREF(Py_None); resultobj = Py_None;
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21419 wxPyShape *arg2 = (wxPyShape *) 0 ;
21420 bool result;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "shape", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (bool)(arg1)->IsEnd(arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 resultobj = PyInt_FromLong((long)result);
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21447 bool result;
21448 PyObject * obj0 = 0 ;
21449 char *kwnames[] = {
21450 (char *) "self", NULL
21451 };
21452
21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
21454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 result = (bool)(arg1)->IsSpline();
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = PyInt_FromLong((long)result);
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21472 int arg2 ;
21473 PyObject * obj0 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "n", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&arg2)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 (arg1)->MakeLineControlPoints(arg2);
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 Py_INCREF(Py_None); resultobj = Py_None;
21488 return resultobj;
21489 fail:
21490 return NULL;
21491 }
21492
21493
21494 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21495 PyObject *resultobj;
21496 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21497 PyObject *result;
21498 PyObject * obj0 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 resultobj = result;
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21522 int arg2 ;
21523 PyObject * obj0 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "fromAttach", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&arg2)) goto fail;
21529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 (arg1)->SetAttachmentFrom(arg2);
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 Py_INCREF(Py_None); resultobj = Py_None;
21538 return resultobj;
21539 fail:
21540 return NULL;
21541 }
21542
21543
21544 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21547 int arg2 ;
21548 int arg3 ;
21549 PyObject * obj0 = 0 ;
21550 char *kwnames[] = {
21551 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21552 };
21553
21554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyLineShape_SetAttachments",kwnames,&obj0,&arg2,&arg3)) goto fail;
21555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 (arg1)->SetAttachments(arg2,arg3);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 Py_INCREF(Py_None); resultobj = Py_None;
21564 return resultobj;
21565 fail:
21566 return NULL;
21567 }
21568
21569
21570 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21573 int arg2 ;
21574 PyObject * obj0 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self",(char *) "toAttach", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames,&obj0,&arg2)) goto fail;
21580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 (arg1)->SetAttachmentTo(arg2);
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 Py_INCREF(Py_None); resultobj = Py_None;
21589 return resultobj;
21590 fail:
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21598 double arg2 ;
21599 double arg3 ;
21600 double arg4 ;
21601 double arg5 ;
21602 PyObject * obj0 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyLineShape_SetEnds",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 Py_INCREF(Py_None); resultobj = Py_None;
21617 return resultobj;
21618 fail:
21619 return NULL;
21620 }
21621
21622
21623 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21626 wxPyShape *arg2 = (wxPyShape *) 0 ;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self",(char *) "object", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 (arg1)->SetFrom(arg2);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 Py_INCREF(Py_None); resultobj = Py_None;
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21653 bool arg2 ;
21654 PyObject * obj0 = 0 ;
21655 PyObject * obj1 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "ignore", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 arg2 = PyInt_AsLong(obj1) ? true : false;
21663 if (PyErr_Occurred()) SWIG_fail;
21664 {
21665 PyThreadState* __tstate = wxPyBeginAllowThreads();
21666 (arg1)->SetIgnoreOffsets(arg2);
21667
21668 wxPyEndAllowThreads(__tstate);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 Py_INCREF(Py_None); resultobj = Py_None;
21672 return resultobj;
21673 fail:
21674 return NULL;
21675 }
21676
21677
21678 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21679 PyObject *resultobj;
21680 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21681 bool arg2 ;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "spline", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21690 arg2 = PyInt_AsLong(obj1) ? true : false;
21691 if (PyErr_Occurred()) SWIG_fail;
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 (arg1)->SetSpline(arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 Py_INCREF(Py_None); resultobj = Py_None;
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21709 wxPyShape *arg2 = (wxPyShape *) 0 ;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self",(char *) "object", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 (arg1)->SetTo(arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 Py_INCREF(Py_None); resultobj = Py_None;
21727 return resultobj;
21728 fail:
21729 return NULL;
21730 }
21731
21732
21733 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
21734 PyObject *resultobj;
21735 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21736 wxDC *arg2 = (wxDC *) NULL ;
21737 PyObject * obj0 = 0 ;
21738 PyObject * obj1 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self",(char *) "dc", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21745 if (obj1) {
21746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 }
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 (arg1)->Straighten(arg2);
21751
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 Py_INCREF(Py_None); resultobj = Py_None;
21756 return resultobj;
21757 fail:
21758 return NULL;
21759 }
21760
21761
21762 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21765 PyObject * obj0 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
21771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21772 {
21773 PyThreadState* __tstate = wxPyBeginAllowThreads();
21774 (arg1)->Unlink();
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 Py_INCREF(Py_None); resultobj = Py_None;
21780 return resultobj;
21781 fail:
21782 return NULL;
21783 }
21784
21785
21786 static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21789 bool arg2 ;
21790 bool arg3 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 PyObject * obj2 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21800 arg2 = PyInt_AsLong(obj1) ? true : false;
21801 if (PyErr_Occurred()) SWIG_fail;
21802 arg3 = PyInt_AsLong(obj2) ? true : false;
21803 if (PyErr_Occurred()) SWIG_fail;
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->SetAlignmentOrientation(arg2,arg3);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21821 bool arg2 ;
21822 int arg3 ;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&arg3)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21831 arg2 = PyInt_AsLong(obj1) ? true : false;
21832 if (PyErr_Occurred()) SWIG_fail;
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 (arg1)->SetAlignmentType(arg2,arg3);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 Py_INCREF(Py_None); resultobj = Py_None;
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21850 bool arg2 ;
21851 bool result;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "isEnd", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21860 arg2 = PyInt_AsLong(obj1) ? true : false;
21861 if (PyErr_Occurred()) SWIG_fail;
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = PyInt_FromLong((long)result);
21870 return resultobj;
21871 fail:
21872 return NULL;
21873 }
21874
21875
21876 static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
21877 PyObject *resultobj;
21878 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21879 bool arg2 ;
21880 int result;
21881 PyObject * obj0 = 0 ;
21882 PyObject * obj1 = 0 ;
21883 char *kwnames[] = {
21884 (char *) "self",(char *) "isEnd", NULL
21885 };
21886
21887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
21888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21889 arg2 = PyInt_AsLong(obj1) ? true : false;
21890 if (PyErr_Occurred()) SWIG_fail;
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (int)(arg1)->GetAlignmentType(arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = PyInt_FromLong((long)result);
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21908 int result;
21909 PyObject * obj0 = 0 ;
21910 char *kwnames[] = {
21911 (char *) "self", NULL
21912 };
21913
21914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
21915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 resultobj = PyInt_FromLong((long)result);
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj;
21932 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21933 int result;
21934 PyObject * obj0 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
21940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 resultobj = PyInt_FromLong((long)result);
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj;
21957 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21958 wxDC *arg2 = 0 ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "dc", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21968 if (arg2 == NULL) {
21969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21970 }
21971 {
21972 PyThreadState* __tstate = wxPyBeginAllowThreads();
21973 (arg1)->base_OnDraw(*arg2);
21974
21975 wxPyEndAllowThreads(__tstate);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 Py_INCREF(Py_None); resultobj = Py_None;
21979 return resultobj;
21980 fail:
21981 return NULL;
21982 }
21983
21984
21985 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21988 wxDC *arg2 = 0 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "self",(char *) "dc", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21998 if (arg2 == NULL) {
21999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22000 }
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 (arg1)->base_OnDrawContents(*arg2);
22004
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 Py_INCREF(Py_None); resultobj = Py_None;
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22016 PyObject *resultobj;
22017 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22018 wxDC *arg2 = 0 ;
22019 bool arg3 = (bool) FALSE ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "dc",(char *) "erase", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22030 if (arg2 == NULL) {
22031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22032 }
22033 if (obj2) {
22034 arg3 = PyInt_AsLong(obj2) ? true : false;
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 (arg1)->base_OnDrawBranches(*arg2,arg3);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 Py_INCREF(Py_None); resultobj = Py_None;
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22054 wxDC *arg2 = 0 ;
22055 PyObject * obj0 = 0 ;
22056 PyObject * obj1 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self",(char *) "dc", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22064 if (arg2 == NULL) {
22065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22066 }
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 (arg1)->base_OnMoveLinks(*arg2);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 Py_INCREF(Py_None); resultobj = Py_None;
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22084 wxDC *arg2 = 0 ;
22085 PyObject * obj0 = 0 ;
22086 PyObject * obj1 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "dc", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22094 if (arg2 == NULL) {
22095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22096 }
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 (arg1)->base_OnErase(*arg2);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 Py_INCREF(Py_None); resultobj = Py_None;
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22114 wxDC *arg2 = 0 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "dc", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22124 if (arg2 == NULL) {
22125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22126 }
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 (arg1)->base_OnEraseContents(*arg2);
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 Py_INCREF(Py_None); resultobj = Py_None;
22135 return resultobj;
22136 fail:
22137 return NULL;
22138 }
22139
22140
22141 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22142 PyObject *resultobj;
22143 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22144 wxDC *arg2 = 0 ;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "dc", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 if (arg2 == NULL) {
22155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22156 }
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 (arg1)->base_OnHighlight(*arg2);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 Py_INCREF(Py_None); resultobj = Py_None;
22165 return resultobj;
22166 fail:
22167 return NULL;
22168 }
22169
22170
22171 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj;
22173 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22174 double arg2 ;
22175 double arg3 ;
22176 int arg4 = (int) 0 ;
22177 int arg5 = (int) 0 ;
22178 PyObject * obj0 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 Py_INCREF(Py_None); resultobj = Py_None;
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22202 double arg2 ;
22203 double arg3 ;
22204 int arg4 = (int) 0 ;
22205 int arg5 = (int) 0 ;
22206 PyObject * obj0 = 0 ;
22207 char *kwnames[] = {
22208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22209 };
22210
22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 Py_INCREF(Py_None); resultobj = Py_None;
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22228 PyObject *resultobj;
22229 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22230 double arg2 ;
22231 double arg3 ;
22232 int arg4 = (int) 0 ;
22233 int arg5 = (int) 0 ;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22258 double arg2 ;
22259 double arg3 ;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self",(char *) "x",(char *) "y", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 (arg1)->base_OnSize(arg2,arg3);
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 Py_INCREF(Py_None); resultobj = Py_None;
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22284 wxDC *arg2 = 0 ;
22285 double arg3 ;
22286 double arg4 ;
22287 double arg5 ;
22288 double arg6 ;
22289 bool arg7 = (bool) True ;
22290 bool result;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 PyObject * obj6 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22301 if (arg2 == NULL) {
22302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22303 }
22304 if (obj6) {
22305 arg7 = PyInt_AsLong(obj6) ? true : false;
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 resultobj = PyInt_FromLong((long)result);
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22325 wxDC *arg2 = 0 ;
22326 double arg3 ;
22327 double arg4 ;
22328 double arg5 ;
22329 double arg6 ;
22330 bool arg7 = (bool) True ;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 PyObject * obj6 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22341 if (arg2 == NULL) {
22342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22343 }
22344 if (obj6) {
22345 arg7 = PyInt_AsLong(obj6) ? true : false;
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 Py_INCREF(Py_None); resultobj = Py_None;
22356 return resultobj;
22357 fail:
22358 return NULL;
22359 }
22360
22361
22362 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22363 PyObject *resultobj;
22364 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22365 bool arg2 ;
22366 double arg3 ;
22367 double arg4 ;
22368 int arg5 = (int) 0 ;
22369 int arg6 = (int) 0 ;
22370 PyObject * obj0 = 0 ;
22371 PyObject * obj1 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22378 arg2 = PyInt_AsLong(obj1) ? true : false;
22379 if (PyErr_Occurred()) SWIG_fail;
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 Py_INCREF(Py_None); resultobj = Py_None;
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22397 double arg2 ;
22398 double arg3 ;
22399 int arg4 = (int) 0 ;
22400 int arg5 = (int) 0 ;
22401 PyObject * obj0 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 Py_INCREF(Py_None); resultobj = Py_None;
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22425 double arg2 ;
22426 double arg3 ;
22427 int arg4 = (int) 0 ;
22428 int arg5 = (int) 0 ;
22429 PyObject * obj0 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 Py_INCREF(Py_None); resultobj = Py_None;
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22453 bool arg2 ;
22454 double arg3 ;
22455 double arg4 ;
22456 int arg5 = (int) 0 ;
22457 int arg6 = (int) 0 ;
22458 PyObject * obj0 = 0 ;
22459 PyObject * obj1 = 0 ;
22460 char *kwnames[] = {
22461 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22462 };
22463
22464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22466 arg2 = PyInt_AsLong(obj1) ? true : false;
22467 if (PyErr_Occurred()) SWIG_fail;
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 Py_INCREF(Py_None); resultobj = Py_None;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22485 double arg2 ;
22486 double arg3 ;
22487 int arg4 = (int) 0 ;
22488 int arg5 = (int) 0 ;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 Py_INCREF(Py_None); resultobj = Py_None;
22504 return resultobj;
22505 fail:
22506 return NULL;
22507 }
22508
22509
22510 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22513 double arg2 ;
22514 double arg3 ;
22515 int arg4 = (int) 0 ;
22516 int arg5 = (int) 0 ;
22517 PyObject * obj0 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 Py_INCREF(Py_None); resultobj = Py_None;
22532 return resultobj;
22533 fail:
22534 return NULL;
22535 }
22536
22537
22538 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22541 wxDC *arg2 = 0 ;
22542 double arg3 ;
22543 double arg4 ;
22544 double arg5 ;
22545 double arg6 ;
22546 PyObject * obj0 = 0 ;
22547 PyObject * obj1 = 0 ;
22548 char *kwnames[] = {
22549 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22550 };
22551
22552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22555 if (arg2 == NULL) {
22556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22557 }
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22575 wxDC *arg2 = 0 ;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "dc", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 if (arg2 == NULL) {
22586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22587 }
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->base_OnDrawControlPoints(*arg2);
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 Py_INCREF(Py_None); resultobj = Py_None;
22596 return resultobj;
22597 fail:
22598 return NULL;
22599 }
22600
22601
22602 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22605 wxDC *arg2 = 0 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self",(char *) "dc", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22615 if (arg2 == NULL) {
22616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22617 }
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 (arg1)->base_OnEraseControlPoints(*arg2);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22635 wxDC *arg2 = 0 ;
22636 bool arg3 = (bool) True ;
22637 PyObject * obj0 = 0 ;
22638 PyObject * obj1 = 0 ;
22639 PyObject * obj2 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22647 if (arg2 == NULL) {
22648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22649 }
22650 if (obj2) {
22651 arg3 = PyInt_AsLong(obj2) ? true : false;
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 (arg1)->base_OnMoveLink(*arg2,arg3);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 Py_INCREF(Py_None); resultobj = Py_None;
22662 return resultobj;
22663 fail:
22664 return NULL;
22665 }
22666
22667
22668 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22671 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22672 bool arg3 ;
22673 double arg4 ;
22674 double arg5 ;
22675 int arg6 = (int) 0 ;
22676 int arg7 = (int) 0 ;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 PyObject * obj2 = 0 ;
22680 char *kwnames[] = {
22681 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22682 };
22683
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22687 arg3 = PyInt_AsLong(obj2) ? true : false;
22688 if (PyErr_Occurred()) SWIG_fail;
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
22696 Py_INCREF(Py_None); resultobj = Py_None;
22697 return resultobj;
22698 fail:
22699 return NULL;
22700 }
22701
22702
22703 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22706 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22707 double arg3 ;
22708 double arg4 ;
22709 int arg5 = (int) 0 ;
22710 int arg6 = (int) 0 ;
22711 PyObject * obj0 = 0 ;
22712 PyObject * obj1 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22723
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 Py_INCREF(Py_None); resultobj = Py_None;
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22737 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22738 double arg3 ;
22739 double arg4 ;
22740 int arg5 = (int) 0 ;
22741 int arg6 = (int) 0 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
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
22765 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22768 double arg2 ;
22769 double arg3 ;
22770 PyObject * obj0 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self",(char *) "w",(char *) "h", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 (arg1)->base_OnBeginSize(arg2,arg3);
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 Py_INCREF(Py_None); resultobj = Py_None;
22785 return resultobj;
22786 fail:
22787 return NULL;
22788 }
22789
22790
22791 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22794 double arg2 ;
22795 double arg3 ;
22796 PyObject * obj0 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self",(char *) "w",(char *) "h", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 (arg1)->base_OnEndSize(arg2,arg3);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 Py_INCREF(Py_None); resultobj = Py_None;
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
22818 PyObject *obj;
22819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22820 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
22821 Py_INCREF(obj);
22822 return Py_BuildValue((char *)"");
22823 }
22824 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22825 PyObject *resultobj;
22826 wxPyPolygonShape *result;
22827 char *kwnames[] = {
22828 NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 result = (wxPyPolygonShape *)new wxPyPolygonShape();
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22849 PyObject *arg2 = (PyObject *) 0 ;
22850 PyObject *arg3 = (PyObject *) 0 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 PyObject * obj2 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self",(char *) "self",(char *) "_class", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22860 arg2 = obj1;
22861 arg3 = obj2;
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 (arg1)->_setCallbackInfo(arg2,arg3);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 Py_INCREF(Py_None); resultobj = Py_None;
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22879 PyObject *arg2 = (PyObject *) 0 ;
22880 PyObject *result;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self",(char *) "points", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22889 arg2 = obj1;
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 resultobj = result;
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22907 int arg2 = (int) 0 ;
22908 PyObject * obj0 = 0 ;
22909 char *kwnames[] = {
22910 (char *) "self",(char *) "pos", NULL
22911 };
22912
22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 (arg1)->AddPolygonPoint(arg2);
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 Py_INCREF(Py_None); resultobj = Py_None;
22923 return resultobj;
22924 fail:
22925 return NULL;
22926 }
22927
22928
22929 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
22930 PyObject *resultobj;
22931 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22932 PyObject * obj0 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
22938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->CalculatePolygonCentre();
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 Py_INCREF(Py_None); resultobj = Py_None;
22947 return resultobj;
22948 fail:
22949 return NULL;
22950 }
22951
22952
22953 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22956 int arg2 = (int) 0 ;
22957 PyObject * obj0 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "pos", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 (arg1)->DeletePolygonPoint(arg2);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 Py_INCREF(Py_None); resultobj = Py_None;
22972 return resultobj;
22973 fail:
22974 return NULL;
22975 }
22976
22977
22978 static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22981 PyObject *result;
22982 PyObject * obj0 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
22988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 {
22990 PyThreadState* __tstate = wxPyBeginAllowThreads();
22991 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
22992
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 resultobj = result;
22997 return resultobj;
22998 fail:
22999 return NULL;
23000 }
23001
23002
23003 static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj;
23005 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23006 PyObject *result;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
23013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = result;
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23031 double result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
23038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = PyFloat_FromDouble(result);
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23056 double result;
23057 PyObject * obj0 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = PyFloat_FromDouble(result);
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23081 double arg2 ;
23082 PyObject * obj0 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self",(char *) "w", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&arg2)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 (arg1)->SetOriginalWidth(arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 Py_INCREF(Py_None); resultobj = Py_None;
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23106 double arg2 ;
23107 PyObject * obj0 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self",(char *) "h", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&arg2)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 (arg1)->SetOriginalHeight(arg2);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 Py_INCREF(Py_None); resultobj = Py_None;
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->UpdateOriginalPoints();
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23155 wxDC *arg2 = 0 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "dc", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23165 if (arg2 == NULL) {
23166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->base_OnDraw(*arg2);
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 Py_INCREF(Py_None); resultobj = Py_None;
23176 return resultobj;
23177 fail:
23178 return NULL;
23179 }
23180
23181
23182 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23185 wxDC *arg2 = 0 ;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "dc", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23195 if (arg2 == NULL) {
23196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23197 }
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->base_OnDrawContents(*arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209 }
23210
23211
23212 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23215 wxDC *arg2 = 0 ;
23216 bool arg3 = (bool) FALSE ;
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 PyObject * obj2 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self",(char *) "dc",(char *) "erase", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23227 if (arg2 == NULL) {
23228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23229 }
23230 if (obj2) {
23231 arg3 = PyInt_AsLong(obj2) ? true : false;
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 (arg1)->base_OnDrawBranches(*arg2,arg3);
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 Py_INCREF(Py_None); resultobj = Py_None;
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23251 wxDC *arg2 = 0 ;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "dc", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23261 if (arg2 == NULL) {
23262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23263 }
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 (arg1)->base_OnMoveLinks(*arg2);
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 Py_INCREF(Py_None); resultobj = Py_None;
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23281 wxDC *arg2 = 0 ;
23282 PyObject * obj0 = 0 ;
23283 PyObject * obj1 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self",(char *) "dc", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23291 if (arg2 == NULL) {
23292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23293 }
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 (arg1)->base_OnErase(*arg2);
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 Py_INCREF(Py_None); resultobj = Py_None;
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23311 wxDC *arg2 = 0 ;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self",(char *) "dc", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 if (arg2 == NULL) {
23322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23323 }
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 (arg1)->base_OnEraseContents(*arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23341 wxDC *arg2 = 0 ;
23342 PyObject * obj0 = 0 ;
23343 PyObject * obj1 = 0 ;
23344 char *kwnames[] = {
23345 (char *) "self",(char *) "dc", NULL
23346 };
23347
23348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 if (arg2 == NULL) {
23352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23353 }
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->base_OnHighlight(*arg2);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 Py_INCREF(Py_None); resultobj = Py_None;
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23371 double arg2 ;
23372 double arg3 ;
23373 int arg4 = (int) 0 ;
23374 int arg5 = (int) 0 ;
23375 PyObject * obj0 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 Py_INCREF(Py_None); resultobj = Py_None;
23390 return resultobj;
23391 fail:
23392 return NULL;
23393 }
23394
23395
23396 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23397 PyObject *resultobj;
23398 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23399 double arg2 ;
23400 double arg3 ;
23401 int arg4 = (int) 0 ;
23402 int arg5 = (int) 0 ;
23403 PyObject * obj0 = 0 ;
23404 char *kwnames[] = {
23405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23406 };
23407
23408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23413
23414 wxPyEndAllowThreads(__tstate);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 }
23417 Py_INCREF(Py_None); resultobj = Py_None;
23418 return resultobj;
23419 fail:
23420 return NULL;
23421 }
23422
23423
23424 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23425 PyObject *resultobj;
23426 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23427 double arg2 ;
23428 double arg3 ;
23429 int arg4 = (int) 0 ;
23430 int arg5 = (int) 0 ;
23431 PyObject * obj0 = 0 ;
23432 char *kwnames[] = {
23433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23434 };
23435
23436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 Py_INCREF(Py_None); resultobj = Py_None;
23446 return resultobj;
23447 fail:
23448 return NULL;
23449 }
23450
23451
23452 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23453 PyObject *resultobj;
23454 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23455 double arg2 ;
23456 double arg3 ;
23457 PyObject * obj0 = 0 ;
23458 char *kwnames[] = {
23459 (char *) "self",(char *) "x",(char *) "y", NULL
23460 };
23461
23462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 (arg1)->base_OnSize(arg2,arg3);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 Py_INCREF(Py_None); resultobj = Py_None;
23472 return resultobj;
23473 fail:
23474 return NULL;
23475 }
23476
23477
23478 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23481 wxDC *arg2 = 0 ;
23482 double arg3 ;
23483 double arg4 ;
23484 double arg5 ;
23485 double arg6 ;
23486 bool arg7 = (bool) True ;
23487 bool result;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 PyObject * obj6 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23498 if (arg2 == NULL) {
23499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23500 }
23501 if (obj6) {
23502 arg7 = PyInt_AsLong(obj6) ? true : false;
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = PyInt_FromLong((long)result);
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj;
23521 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23522 wxDC *arg2 = 0 ;
23523 double arg3 ;
23524 double arg4 ;
23525 double arg5 ;
23526 double arg6 ;
23527 bool arg7 = (bool) True ;
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 PyObject * obj6 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23538 if (arg2 == NULL) {
23539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23540 }
23541 if (obj6) {
23542 arg7 = PyInt_AsLong(obj6) ? true : false;
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 Py_INCREF(Py_None); resultobj = Py_None;
23553 return resultobj;
23554 fail:
23555 return NULL;
23556 }
23557
23558
23559 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23560 PyObject *resultobj;
23561 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23562 bool arg2 ;
23563 double arg3 ;
23564 double arg4 ;
23565 int arg5 = (int) 0 ;
23566 int arg6 = (int) 0 ;
23567 PyObject * obj0 = 0 ;
23568 PyObject * obj1 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23575 arg2 = PyInt_AsLong(obj1) ? true : false;
23576 if (PyErr_Occurred()) SWIG_fail;
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 Py_INCREF(Py_None); resultobj = Py_None;
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj;
23593 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23594 double arg2 ;
23595 double arg3 ;
23596 int arg4 = (int) 0 ;
23597 int arg5 = (int) 0 ;
23598 PyObject * obj0 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 Py_INCREF(Py_None); resultobj = Py_None;
23613 return resultobj;
23614 fail:
23615 return NULL;
23616 }
23617
23618
23619 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23620 PyObject *resultobj;
23621 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23622 double arg2 ;
23623 double arg3 ;
23624 int arg4 = (int) 0 ;
23625 int arg5 = (int) 0 ;
23626 PyObject * obj0 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 Py_INCREF(Py_None); resultobj = Py_None;
23641 return resultobj;
23642 fail:
23643 return NULL;
23644 }
23645
23646
23647 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23648 PyObject *resultobj;
23649 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23650 bool arg2 ;
23651 double arg3 ;
23652 double arg4 ;
23653 int arg5 = (int) 0 ;
23654 int arg6 = (int) 0 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23663 arg2 = PyInt_AsLong(obj1) ? true : false;
23664 if (PyErr_Occurred()) SWIG_fail;
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 Py_INCREF(Py_None); resultobj = Py_None;
23673 return resultobj;
23674 fail:
23675 return NULL;
23676 }
23677
23678
23679 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23682 double arg2 ;
23683 double arg3 ;
23684 int arg4 = (int) 0 ;
23685 int arg5 = (int) 0 ;
23686 PyObject * obj0 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23696
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 Py_INCREF(Py_None); resultobj = Py_None;
23701 return resultobj;
23702 fail:
23703 return NULL;
23704 }
23705
23706
23707 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj;
23709 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23710 double arg2 ;
23711 double arg3 ;
23712 int arg4 = (int) 0 ;
23713 int arg5 = (int) 0 ;
23714 PyObject * obj0 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 Py_INCREF(Py_None); resultobj = Py_None;
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23736 PyObject *resultobj;
23737 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23738 wxDC *arg2 = 0 ;
23739 double arg3 ;
23740 double arg4 ;
23741 double arg5 ;
23742 double arg6 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23752 if (arg2 == NULL) {
23753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23754 }
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 Py_INCREF(Py_None); resultobj = Py_None;
23763 return resultobj;
23764 fail:
23765 return NULL;
23766 }
23767
23768
23769 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23770 PyObject *resultobj;
23771 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23772 wxDC *arg2 = 0 ;
23773 PyObject * obj0 = 0 ;
23774 PyObject * obj1 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self",(char *) "dc", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23782 if (arg2 == NULL) {
23783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23784 }
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 (arg1)->base_OnDrawControlPoints(*arg2);
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 Py_INCREF(Py_None); resultobj = Py_None;
23793 return resultobj;
23794 fail:
23795 return NULL;
23796 }
23797
23798
23799 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23802 wxDC *arg2 = 0 ;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "self",(char *) "dc", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 if (arg2 == NULL) {
23813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23814 }
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 (arg1)->base_OnEraseControlPoints(*arg2);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 Py_INCREF(Py_None); resultobj = Py_None;
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23832 wxDC *arg2 = 0 ;
23833 bool arg3 = (bool) True ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 PyObject * obj2 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23844 if (arg2 == NULL) {
23845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23846 }
23847 if (obj2) {
23848 arg3 = PyInt_AsLong(obj2) ? true : false;
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 (arg1)->base_OnMoveLink(*arg2,arg3);
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 Py_INCREF(Py_None); resultobj = Py_None;
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23868 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23869 bool arg3 ;
23870 double arg4 ;
23871 double arg5 ;
23872 int arg6 = (int) 0 ;
23873 int arg7 = (int) 0 ;
23874 PyObject * obj0 = 0 ;
23875 PyObject * obj1 = 0 ;
23876 PyObject * obj2 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
23882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23884 arg3 = PyInt_AsLong(obj2) ? true : false;
23885 if (PyErr_Occurred()) SWIG_fail;
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 Py_INCREF(Py_None); resultobj = Py_None;
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23903 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23904 double arg3 ;
23905 double arg4 ;
23906 int arg5 = (int) 0 ;
23907 int arg6 = (int) 0 ;
23908 PyObject * obj0 = 0 ;
23909 PyObject * obj1 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23934 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23935 double arg3 ;
23936 double arg4 ;
23937 int arg5 = (int) 0 ;
23938 int arg6 = (int) 0 ;
23939 PyObject * obj0 = 0 ;
23940 PyObject * obj1 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23965 double arg2 ;
23966 double arg3 ;
23967 PyObject * obj0 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "w",(char *) "h", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 (arg1)->base_OnBeginSize(arg2,arg3);
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 Py_INCREF(Py_None); resultobj = Py_None;
23982 return resultobj;
23983 fail:
23984 return NULL;
23985 }
23986
23987
23988 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23989 PyObject *resultobj;
23990 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23991 double arg2 ;
23992 double arg3 ;
23993 PyObject * obj0 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "w",(char *) "h", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 (arg1)->base_OnEndSize(arg2,arg3);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 Py_INCREF(Py_None); resultobj = Py_None;
24008 return resultobj;
24009 fail:
24010 return NULL;
24011 }
24012
24013
24014 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
24015 PyObject *obj;
24016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24017 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
24018 Py_INCREF(obj);
24019 return Py_BuildValue((char *)"");
24020 }
24021 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24022 PyObject *resultobj;
24023 double arg1 = (double) 0.0 ;
24024 double arg2 = (double) 0.0 ;
24025 wxPyTextShape *result;
24026 char *kwnames[] = {
24027 (char *) "width",(char *) "height", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyTextShape",kwnames,&arg1,&arg2)) goto fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24046 PyObject *resultobj;
24047 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24048 PyObject *arg2 = (PyObject *) 0 ;
24049 PyObject *arg3 = (PyObject *) 0 ;
24050 PyObject * obj0 = 0 ;
24051 PyObject * obj1 = 0 ;
24052 PyObject * obj2 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self",(char *) "self",(char *) "_class", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24059 arg2 = obj1;
24060 arg3 = obj2;
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 (arg1)->_setCallbackInfo(arg2,arg3);
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 Py_INCREF(Py_None); resultobj = Py_None;
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 (arg1)->base_OnDelete();
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24102 wxDC *arg2 = 0 ;
24103 PyObject * obj0 = 0 ;
24104 PyObject * obj1 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "dc", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 if (arg2 == NULL) {
24113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24114 }
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 (arg1)->base_OnDraw(*arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 Py_INCREF(Py_None); resultobj = Py_None;
24123 return resultobj;
24124 fail:
24125 return NULL;
24126 }
24127
24128
24129 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj;
24131 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24132 wxDC *arg2 = 0 ;
24133 PyObject * obj0 = 0 ;
24134 PyObject * obj1 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "self",(char *) "dc", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
24140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24142 if (arg2 == NULL) {
24143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24144 }
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 (arg1)->base_OnDrawContents(*arg2);
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24162 wxDC *arg2 = 0 ;
24163 bool arg3 = (bool) FALSE ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 PyObject * obj2 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "dc",(char *) "erase", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24174 if (arg2 == NULL) {
24175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24176 }
24177 if (obj2) {
24178 arg3 = PyInt_AsLong(obj2) ? true : false;
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 (arg1)->base_OnDrawBranches(*arg2,arg3);
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 Py_INCREF(Py_None); resultobj = Py_None;
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24198 wxDC *arg2 = 0 ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self",(char *) "dc", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
24206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24208 if (arg2 == NULL) {
24209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24210 }
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 (arg1)->base_OnMoveLinks(*arg2);
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 Py_INCREF(Py_None); resultobj = Py_None;
24219 return resultobj;
24220 fail:
24221 return NULL;
24222 }
24223
24224
24225 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
24226 PyObject *resultobj;
24227 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24228 wxDC *arg2 = 0 ;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "dc", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
24236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24238 if (arg2 == NULL) {
24239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24240 }
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 (arg1)->base_OnErase(*arg2);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 Py_INCREF(Py_None); resultobj = Py_None;
24249 return resultobj;
24250 fail:
24251 return NULL;
24252 }
24253
24254
24255 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24258 wxDC *arg2 = 0 ;
24259 PyObject * obj0 = 0 ;
24260 PyObject * obj1 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "self",(char *) "dc", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
24266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24268 if (arg2 == NULL) {
24269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24270 }
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 (arg1)->base_OnEraseContents(*arg2);
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 Py_INCREF(Py_None); resultobj = Py_None;
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24288 wxDC *arg2 = 0 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "dc", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 if (arg2 == NULL) {
24299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24300 }
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->base_OnHighlight(*arg2);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 Py_INCREF(Py_None); resultobj = Py_None;
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24318 double arg2 ;
24319 double arg3 ;
24320 int arg4 = (int) 0 ;
24321 int arg5 = (int) 0 ;
24322 PyObject * obj0 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 Py_INCREF(Py_None); resultobj = Py_None;
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24346 double arg2 ;
24347 double arg3 ;
24348 int arg4 = (int) 0 ;
24349 int arg5 = (int) 0 ;
24350 PyObject * obj0 = 0 ;
24351 char *kwnames[] = {
24352 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24353 };
24354
24355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 Py_INCREF(Py_None); resultobj = Py_None;
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24374 double arg2 ;
24375 double arg3 ;
24376 int arg4 = (int) 0 ;
24377 int arg5 = (int) 0 ;
24378 PyObject * obj0 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 Py_INCREF(Py_None); resultobj = Py_None;
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj;
24401 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24402 double arg2 ;
24403 double arg3 ;
24404 PyObject * obj0 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "x",(char *) "y", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 (arg1)->base_OnSize(arg2,arg3);
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 Py_INCREF(Py_None); resultobj = Py_None;
24419 return resultobj;
24420 fail:
24421 return NULL;
24422 }
24423
24424
24425 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24428 wxDC *arg2 = 0 ;
24429 double arg3 ;
24430 double arg4 ;
24431 double arg5 ;
24432 double arg6 ;
24433 bool arg7 = (bool) True ;
24434 bool result;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 PyObject * obj6 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
24443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24445 if (arg2 == NULL) {
24446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24447 }
24448 if (obj6) {
24449 arg7 = PyInt_AsLong(obj6) ? true : false;
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = PyInt_FromLong((long)result);
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24469 wxDC *arg2 = 0 ;
24470 double arg3 ;
24471 double arg4 ;
24472 double arg5 ;
24473 double arg6 ;
24474 bool arg7 = (bool) True ;
24475 PyObject * obj0 = 0 ;
24476 PyObject * obj1 = 0 ;
24477 PyObject * obj6 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24480 };
24481
24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
24483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24485 if (arg2 == NULL) {
24486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24487 }
24488 if (obj6) {
24489 arg7 = PyInt_AsLong(obj6) ? true : false;
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 Py_INCREF(Py_None); resultobj = Py_None;
24500 return resultobj;
24501 fail:
24502 return NULL;
24503 }
24504
24505
24506 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24509 bool arg2 ;
24510 double arg3 ;
24511 double arg4 ;
24512 int arg5 = (int) 0 ;
24513 int arg6 = (int) 0 ;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24522 arg2 = PyInt_AsLong(obj1) ? true : false;
24523 if (PyErr_Occurred()) SWIG_fail;
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24541 double arg2 ;
24542 double arg3 ;
24543 int arg4 = (int) 0 ;
24544 int arg5 = (int) 0 ;
24545 PyObject * obj0 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 Py_INCREF(Py_None); resultobj = Py_None;
24560 return resultobj;
24561 fail:
24562 return NULL;
24563 }
24564
24565
24566 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24569 double arg2 ;
24570 double arg3 ;
24571 int arg4 = (int) 0 ;
24572 int arg5 = (int) 0 ;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 Py_INCREF(Py_None); resultobj = Py_None;
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24597 bool arg2 ;
24598 double arg3 ;
24599 double arg4 ;
24600 int arg5 = (int) 0 ;
24601 int arg6 = (int) 0 ;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 arg2 = PyInt_AsLong(obj1) ? true : false;
24611 if (PyErr_Occurred()) SWIG_fail;
24612 {
24613 PyThreadState* __tstate = wxPyBeginAllowThreads();
24614 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24615
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 Py_INCREF(Py_None); resultobj = Py_None;
24620 return resultobj;
24621 fail:
24622 return NULL;
24623 }
24624
24625
24626 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24627 PyObject *resultobj;
24628 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24629 double arg2 ;
24630 double arg3 ;
24631 int arg4 = (int) 0 ;
24632 int arg5 = (int) 0 ;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 Py_INCREF(Py_None); resultobj = Py_None;
24648 return resultobj;
24649 fail:
24650 return NULL;
24651 }
24652
24653
24654 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj;
24656 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24657 double arg2 ;
24658 double arg3 ;
24659 int arg4 = (int) 0 ;
24660 int arg5 = (int) 0 ;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 Py_INCREF(Py_None); resultobj = Py_None;
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj;
24684 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24685 wxDC *arg2 = 0 ;
24686 double arg3 ;
24687 double arg4 ;
24688 double arg5 ;
24689 double arg6 ;
24690 PyObject * obj0 = 0 ;
24691 PyObject * obj1 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24699 if (arg2 == NULL) {
24700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24701 }
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 Py_INCREF(Py_None); resultobj = Py_None;
24710 return resultobj;
24711 fail:
24712 return NULL;
24713 }
24714
24715
24716 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24719 wxDC *arg2 = 0 ;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self",(char *) "dc", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24729 if (arg2 == NULL) {
24730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24731 }
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->base_OnDrawControlPoints(*arg2);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24747 PyObject *resultobj;
24748 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24749 wxDC *arg2 = 0 ;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "dc", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24759 if (arg2 == NULL) {
24760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24761 }
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->base_OnEraseControlPoints(*arg2);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 Py_INCREF(Py_None); resultobj = Py_None;
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24779 wxDC *arg2 = 0 ;
24780 bool arg3 = (bool) True ;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 PyObject * obj2 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24791 if (arg2 == NULL) {
24792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24793 }
24794 if (obj2) {
24795 arg3 = PyInt_AsLong(obj2) ? true : false;
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->base_OnMoveLink(*arg2,arg3);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 Py_INCREF(Py_None); resultobj = Py_None;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809 }
24810
24811
24812 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24815 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24816 bool arg3 ;
24817 double arg4 ;
24818 double arg5 ;
24819 int arg6 = (int) 0 ;
24820 int arg7 = (int) 0 ;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 PyObject * obj2 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24831 arg3 = PyInt_AsLong(obj2) ? true : false;
24832 if (PyErr_Occurred()) SWIG_fail;
24833 {
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 Py_INCREF(Py_None); resultobj = Py_None;
24841 return resultobj;
24842 fail:
24843 return NULL;
24844 }
24845
24846
24847 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj;
24849 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24850 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24851 double arg3 ;
24852 double arg4 ;
24853 int arg5 = (int) 0 ;
24854 int arg6 = (int) 0 ;
24855 PyObject * obj0 = 0 ;
24856 PyObject * obj1 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 Py_INCREF(Py_None); resultobj = Py_None;
24872 return resultobj;
24873 fail:
24874 return NULL;
24875 }
24876
24877
24878 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24879 PyObject *resultobj;
24880 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24881 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24882 double arg3 ;
24883 double arg4 ;
24884 int arg5 = (int) 0 ;
24885 int arg6 = (int) 0 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 Py_INCREF(Py_None); resultobj = Py_None;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj;
24911 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24912 double arg2 ;
24913 double arg3 ;
24914 PyObject * obj0 = 0 ;
24915 char *kwnames[] = {
24916 (char *) "self",(char *) "w",(char *) "h", NULL
24917 };
24918
24919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 (arg1)->base_OnBeginSize(arg2,arg3);
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 Py_INCREF(Py_None); resultobj = Py_None;
24929 return resultobj;
24930 fail:
24931 return NULL;
24932 }
24933
24934
24935 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj;
24937 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24938 double arg2 ;
24939 double arg3 ;
24940 PyObject * obj0 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self",(char *) "w",(char *) "h", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 (arg1)->base_OnEndSize(arg2,arg3);
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 Py_INCREF(Py_None); resultobj = Py_None;
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
24962 PyObject *obj;
24963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24964 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
24965 Py_INCREF(obj);
24966 return Py_BuildValue((char *)"");
24967 }
24968 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
24969 PyObject *resultobj;
24970 wxDiagram *result;
24971 char *kwnames[] = {
24972 NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
24976 {
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 result = (wxDiagram *)new wxDiagram();
24979
24980 wxPyEndAllowThreads(__tstate);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 }
24983 {
24984 resultobj = wxPyMake_wxObject(result);
24985 }
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj;
24994 wxDiagram *arg1 = (wxDiagram *) 0 ;
24995 wxPyShape *arg2 = (wxPyShape *) 0 ;
24996 wxPyShape *arg3 = (wxPyShape *) NULL ;
24997 PyObject * obj0 = 0 ;
24998 PyObject * obj1 = 0 ;
24999 PyObject * obj2 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25007 if (obj2) {
25008 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25009 }
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 (arg1)->AddShape(arg2,arg3);
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 Py_INCREF(Py_None); resultobj = Py_None;
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj;
25026 wxDiagram *arg1 = (wxDiagram *) 0 ;
25027 wxDC *arg2 = 0 ;
25028 PyObject * obj0 = 0 ;
25029 PyObject * obj1 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "self",(char *) "dc", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
25035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25037 if (arg2 == NULL) {
25038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25039 }
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 (arg1)->Clear(*arg2);
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 Py_INCREF(Py_None); resultobj = Py_None;
25048 return resultobj;
25049 fail:
25050 return NULL;
25051 }
25052
25053
25054 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
25055 PyObject *resultobj;
25056 wxDiagram *arg1 = (wxDiagram *) 0 ;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
25063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 (arg1)->DeleteAllShapes();
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 Py_INCREF(Py_None); resultobj = Py_None;
25072 return resultobj;
25073 fail:
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxDiagram *arg1 = (wxDiagram *) 0 ;
25081 wxDC *arg2 = 0 ;
25082 double arg3 ;
25083 double arg4 ;
25084 double arg5 ;
25085 double arg6 ;
25086 PyObject * obj0 = 0 ;
25087 PyObject * obj1 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:Diagram_DrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25094 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25095 if (arg2 == NULL) {
25096 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25097 }
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 Py_INCREF(Py_None); resultobj = Py_None;
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25113 PyObject *resultobj;
25114 wxDiagram *arg1 = (wxDiagram *) 0 ;
25115 long arg2 ;
25116 wxPyShape *result;
25117 PyObject * obj0 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self",(char *) "id", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Diagram_FindShape",kwnames,&obj0,&arg2)) goto fail;
25123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (wxPyShape *)(arg1)->FindShape(arg2);
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 resultobj = wxPyMake_wxShapeEvtHandler(result);
25133 }
25134 return resultobj;
25135 fail:
25136 return NULL;
25137 }
25138
25139
25140 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj;
25142 wxDiagram *arg1 = (wxDiagram *) 0 ;
25143 wxPyShapeCanvas *result;
25144 PyObject * obj0 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
25150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 {
25159 resultobj = wxPyMake_wxObject(result);
25160 }
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxDiagram *arg1 = (wxDiagram *) 0 ;
25170 int result;
25171 PyObject * obj0 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
25177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (int)(arg1)->GetCount();
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 resultobj = PyInt_FromLong((long)result);
25186 return resultobj;
25187 fail:
25188 return NULL;
25189 }
25190
25191
25192 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxDiagram *arg1 = (wxDiagram *) 0 ;
25195 double result;
25196 PyObject * obj0 = 0 ;
25197 char *kwnames[] = {
25198 (char *) "self", NULL
25199 };
25200
25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
25202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 result = (double)(arg1)->GetGridSpacing();
25206
25207 wxPyEndAllowThreads(__tstate);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 }
25210 resultobj = PyFloat_FromDouble(result);
25211 return resultobj;
25212 fail:
25213 return NULL;
25214 }
25215
25216
25217 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
25218 PyObject *resultobj;
25219 wxDiagram *arg1 = (wxDiagram *) 0 ;
25220 int result;
25221 PyObject * obj0 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "self", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
25227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 result = (int)(arg1)->GetMouseTolerance();
25231
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = PyInt_FromLong((long)result);
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj;
25244 wxDiagram *arg1 = (wxDiagram *) 0 ;
25245 PyObject *result;
25246 PyObject * obj0 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
25252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 result = (PyObject *)wxDiagram_GetShapeList(arg1);
25256
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = result;
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj;
25269 wxDiagram *arg1 = (wxDiagram *) 0 ;
25270 bool result;
25271 PyObject * obj0 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "self", NULL
25274 };
25275
25276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
25277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (bool)(arg1)->GetQuickEditMode();
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 resultobj = PyInt_FromLong((long)result);
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj;
25294 wxDiagram *arg1 = (wxDiagram *) 0 ;
25295 bool result;
25296 PyObject * obj0 = 0 ;
25297 char *kwnames[] = {
25298 (char *) "self", NULL
25299 };
25300
25301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
25302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25303 {
25304 PyThreadState* __tstate = wxPyBeginAllowThreads();
25305 result = (bool)(arg1)->GetSnapToGrid();
25306
25307 wxPyEndAllowThreads(__tstate);
25308 if (PyErr_Occurred()) SWIG_fail;
25309 }
25310 resultobj = PyInt_FromLong((long)result);
25311 return resultobj;
25312 fail:
25313 return NULL;
25314 }
25315
25316
25317 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25318 PyObject *resultobj;
25319 wxDiagram *arg1 = (wxDiagram *) 0 ;
25320 wxPyShape *arg2 = (wxPyShape *) 0 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self",(char *) "shape", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->InsertShape(arg2);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 Py_INCREF(Py_None); resultobj = Py_None;
25338 return resultobj;
25339 fail:
25340 return NULL;
25341 }
25342
25343
25344 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxDiagram *arg1 = (wxDiagram *) 0 ;
25347 wxDC *arg2 = 0 ;
25348 PyObject * obj0 = 0 ;
25349 PyObject * obj1 = 0 ;
25350 char *kwnames[] = {
25351 (char *) "self",(char *) "dc", NULL
25352 };
25353
25354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
25355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25357 if (arg2 == NULL) {
25358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25359 }
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 (arg1)->RecentreAll(*arg2);
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 Py_INCREF(Py_None); resultobj = Py_None;
25368 return resultobj;
25369 fail:
25370 return NULL;
25371 }
25372
25373
25374 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
25375 PyObject *resultobj;
25376 wxDiagram *arg1 = (wxDiagram *) 0 ;
25377 wxDC *arg2 = 0 ;
25378 PyObject * obj0 = 0 ;
25379 PyObject * obj1 = 0 ;
25380 char *kwnames[] = {
25381 (char *) "self",(char *) "dc", NULL
25382 };
25383
25384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
25385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25387 if (arg2 == NULL) {
25388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25389 }
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 (arg1)->Redraw(*arg2);
25393
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 Py_INCREF(Py_None); resultobj = Py_None;
25398 return resultobj;
25399 fail:
25400 return NULL;
25401 }
25402
25403
25404 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj;
25406 wxDiagram *arg1 = (wxDiagram *) 0 ;
25407 PyObject * obj0 = 0 ;
25408 char *kwnames[] = {
25409 (char *) "self", NULL
25410 };
25411
25412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
25413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 (arg1)->RemoveAllShapes();
25417
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 Py_INCREF(Py_None); resultobj = Py_None;
25422 return resultobj;
25423 fail:
25424 return NULL;
25425 }
25426
25427
25428 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25429 PyObject *resultobj;
25430 wxDiagram *arg1 = (wxDiagram *) 0 ;
25431 wxPyShape *arg2 = (wxPyShape *) 0 ;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 char *kwnames[] = {
25435 (char *) "self",(char *) "shape", NULL
25436 };
25437
25438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
25439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 (arg1)->RemoveShape(arg2);
25444
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 Py_INCREF(Py_None); resultobj = Py_None;
25449 return resultobj;
25450 fail:
25451 return NULL;
25452 }
25453
25454
25455 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25456 PyObject *resultobj;
25457 wxDiagram *arg1 = (wxDiagram *) 0 ;
25458 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 char *kwnames[] = {
25462 (char *) "self",(char *) "canvas", NULL
25463 };
25464
25465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
25466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25468 {
25469 PyThreadState* __tstate = wxPyBeginAllowThreads();
25470 (arg1)->SetCanvas(arg2);
25471
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
25475 Py_INCREF(Py_None); resultobj = Py_None;
25476 return resultobj;
25477 fail:
25478 return NULL;
25479 }
25480
25481
25482 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj;
25484 wxDiagram *arg1 = (wxDiagram *) 0 ;
25485 double arg2 ;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self",(char *) "spacing", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Diagram_SetGridSpacing",kwnames,&obj0,&arg2)) goto fail;
25492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 (arg1)->SetGridSpacing(arg2);
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 Py_INCREF(Py_None); resultobj = Py_None;
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxDiagram *arg1 = (wxDiagram *) 0 ;
25510 int arg2 ;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self",(char *) "tolerance", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Diagram_SetMouseTolerance",kwnames,&obj0,&arg2)) goto fail;
25517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 (arg1)->SetMouseTolerance(arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 Py_INCREF(Py_None); resultobj = Py_None;
25526 return resultobj;
25527 fail:
25528 return NULL;
25529 }
25530
25531
25532 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25533 PyObject *resultobj;
25534 wxDiagram *arg1 = (wxDiagram *) 0 ;
25535 bool arg2 ;
25536 PyObject * obj0 = 0 ;
25537 PyObject * obj1 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self",(char *) "mode", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
25543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25544 arg2 = PyInt_AsLong(obj1) ? true : false;
25545 if (PyErr_Occurred()) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->SetQuickEditMode(arg2);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 Py_INCREF(Py_None); resultobj = Py_None;
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj;
25562 wxDiagram *arg1 = (wxDiagram *) 0 ;
25563 bool arg2 ;
25564 PyObject * obj0 = 0 ;
25565 PyObject * obj1 = 0 ;
25566 char *kwnames[] = {
25567 (char *) "self",(char *) "snap", NULL
25568 };
25569
25570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
25571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25572 arg2 = PyInt_AsLong(obj1) ? true : false;
25573 if (PyErr_Occurred()) SWIG_fail;
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 (arg1)->SetSnapToGrid(arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 Py_INCREF(Py_None); resultobj = Py_None;
25582 return resultobj;
25583 fail:
25584 return NULL;
25585 }
25586
25587
25588 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj;
25590 wxDiagram *arg1 = (wxDiagram *) 0 ;
25591 bool arg2 ;
25592 PyObject * obj0 = 0 ;
25593 PyObject * obj1 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self",(char *) "show", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
25599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25600 arg2 = PyInt_AsLong(obj1) ? true : false;
25601 if (PyErr_Occurred()) SWIG_fail;
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 (arg1)->ShowAll(arg2);
25605
25606 wxPyEndAllowThreads(__tstate);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 Py_INCREF(Py_None); resultobj = Py_None;
25610 return resultobj;
25611 fail:
25612 return NULL;
25613 }
25614
25615
25616 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25617 PyObject *resultobj;
25618 wxDiagram *arg1 = (wxDiagram *) 0 ;
25619 double *arg2 = (double *) 0 ;
25620 double *arg3 = (double *) 0 ;
25621 double temp2 ;
25622 double temp3 ;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 PyObject * obj2 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25632 {
25633 temp2 = PyFloat_AsDouble(obj1);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 arg2 = &temp2;
25636 }
25637 {
25638 temp3 = PyFloat_AsDouble(obj2);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 arg3 = &temp3;
25641 }
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 (arg1)->Snap(arg2,arg3);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 Py_INCREF(Py_None); resultobj = Py_None;
25650 {
25651 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25652 resultobj = t_output_helper(resultobj,o);
25653 }
25654 {
25655 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25656 resultobj = t_output_helper(resultobj,o);
25657 }
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
25665 PyObject *obj;
25666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
25668 Py_INCREF(obj);
25669 return Py_BuildValue((char *)"");
25670 }
25671 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxWindow *arg1 = (wxWindow *) NULL ;
25674 int arg2 = (int) -1 ;
25675 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25676 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25677 wxSize const &arg4_defvalue = wxDefaultSize ;
25678 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25679 long arg5 = (long) wxBORDER ;
25680 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
25681 wxString *arg6 = (wxString *) &arg6_defvalue ;
25682 wxPyShapeCanvas *result;
25683 wxPoint temp3 ;
25684 wxSize temp4 ;
25685 bool temp6 = False ;
25686 PyObject * obj0 = 0 ;
25687 PyObject * obj2 = 0 ;
25688 PyObject * obj3 = 0 ;
25689 PyObject * obj5 = 0 ;
25690 char *kwnames[] = {
25691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25692 };
25693
25694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
25695 if (obj0) {
25696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25697 }
25698 if (obj2) {
25699 {
25700 arg3 = &temp3;
25701 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25702 }
25703 }
25704 if (obj3) {
25705 {
25706 arg4 = &temp4;
25707 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25708 }
25709 }
25710 if (obj5) {
25711 {
25712 arg6 = wxString_in_helper(obj5);
25713 if (arg6 == NULL) SWIG_fail;
25714 temp6 = True;
25715 }
25716 }
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 {
25725 resultobj = wxPyMake_wxObject(result);
25726 }
25727 {
25728 if (temp6)
25729 delete arg6;
25730 }
25731 return resultobj;
25732 fail:
25733 {
25734 if (temp6)
25735 delete arg6;
25736 }
25737 return NULL;
25738 }
25739
25740
25741 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25742 PyObject *resultobj;
25743 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25744 PyObject *arg2 = (PyObject *) 0 ;
25745 PyObject *arg3 = (PyObject *) 0 ;
25746 PyObject * obj0 = 0 ;
25747 PyObject * obj1 = 0 ;
25748 PyObject * obj2 = 0 ;
25749 char *kwnames[] = {
25750 (char *) "self",(char *) "self",(char *) "_class", NULL
25751 };
25752
25753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25755 arg2 = obj1;
25756 arg3 = obj2;
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 (arg1)->_setCallbackInfo(arg2,arg3);
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 Py_INCREF(Py_None); resultobj = Py_None;
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25774 wxPyShape *arg2 = (wxPyShape *) 0 ;
25775 wxPyShape *arg3 = (wxPyShape *) NULL ;
25776 PyObject * obj0 = 0 ;
25777 PyObject * obj1 = 0 ;
25778 PyObject * obj2 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25786 if (obj2) {
25787 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25788 }
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 (arg1)->AddShape(arg2,arg3);
25792
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 Py_INCREF(Py_None); resultobj = Py_None;
25797 return resultobj;
25798 fail:
25799 return NULL;
25800 }
25801
25802
25803 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25804 PyObject *resultobj;
25805 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25806 double arg2 ;
25807 double arg3 ;
25808 int *arg4 = (int *) 0 ;
25809 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
25810 wxPyShape *arg6 = (wxPyShape *) NULL ;
25811 wxPyShape *result;
25812 int temp4 ;
25813 PyObject * obj0 = 0 ;
25814 PyObject * obj3 = 0 ;
25815 PyObject * obj4 = 0 ;
25816 char *kwnames[] = {
25817 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25818 };
25819
25820 arg4 = &temp4;
25821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
25822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25823 if (obj3) {
25824 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25825 }
25826 if (obj4) {
25827 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25828 }
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 {
25837 resultobj = wxPyMake_wxShapeEvtHandler(result);
25838 }
25839 {
25840 PyObject *o = PyInt_FromLong((long) (*arg4));
25841 resultobj = t_output_helper(resultobj,o);
25842 }
25843 return resultobj;
25844 fail:
25845 return NULL;
25846 }
25847
25848
25849 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25850 PyObject *resultobj;
25851 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25852 double arg2 ;
25853 double arg3 ;
25854 int *arg4 = (int *) 0 ;
25855 int arg5 ;
25856 wxPyShape *result;
25857 int temp4 ;
25858 PyObject * obj0 = 0 ;
25859 char *kwnames[] = {
25860 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25861 };
25862
25863 arg4 = &temp4;
25864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&arg2,&arg3,&arg5)) goto fail;
25865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
25869
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 {
25874 resultobj = wxPyMake_wxShapeEvtHandler(result);
25875 }
25876 {
25877 PyObject *o = PyInt_FromLong((long) (*arg4));
25878 resultobj = t_output_helper(resultobj,o);
25879 }
25880 return resultobj;
25881 fail:
25882 return NULL;
25883 }
25884
25885
25886 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25887 PyObject *resultobj;
25888 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25889 wxDiagram *result;
25890 PyObject * obj0 = 0 ;
25891 char *kwnames[] = {
25892 (char *) "self", NULL
25893 };
25894
25895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
25896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 result = (wxDiagram *)(arg1)->GetDiagram();
25900
25901 wxPyEndAllowThreads(__tstate);
25902 if (PyErr_Occurred()) SWIG_fail;
25903 }
25904 {
25905 resultobj = wxPyMake_wxObject(result);
25906 }
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25914 PyObject *resultobj;
25915 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25916 bool result;
25917 PyObject * obj0 = 0 ;
25918 char *kwnames[] = {
25919 (char *) "self", NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
25923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25924 {
25925 PyThreadState* __tstate = wxPyBeginAllowThreads();
25926 result = (bool)(arg1)->GetQuickEditMode();
25927
25928 wxPyEndAllowThreads(__tstate);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 }
25931 resultobj = PyInt_FromLong((long)result);
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj;
25940 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25941 wxPyShape *arg2 = (wxPyShape *) 0 ;
25942 PyObject * obj0 = 0 ;
25943 PyObject * obj1 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self",(char *) "shape", NULL
25946 };
25947
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 (arg1)->InsertShape(arg2);
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 Py_INCREF(Py_None); resultobj = Py_None;
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25968 double arg2 ;
25969 double arg3 ;
25970 int arg4 = (int) 0 ;
25971 PyObject * obj0 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 Py_INCREF(Py_None); resultobj = Py_None;
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25995 double arg2 ;
25996 double arg3 ;
25997 int arg4 = (int) 0 ;
25998 PyObject * obj0 = 0 ;
25999 char *kwnames[] = {
26000 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26001 };
26002
26003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 Py_INCREF(Py_None); resultobj = Py_None;
26013 return resultobj;
26014 fail:
26015 return NULL;
26016 }
26017
26018
26019 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26022 double arg2 ;
26023 double arg3 ;
26024 int arg4 = (int) 0 ;
26025 PyObject * obj0 = 0 ;
26026 char *kwnames[] = {
26027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26028 };
26029
26030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 Py_INCREF(Py_None); resultobj = Py_None;
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26049 double arg2 ;
26050 double arg3 ;
26051 int arg4 = (int) 0 ;
26052 PyObject * obj0 = 0 ;
26053 char *kwnames[] = {
26054 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26055 };
26056
26057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26059 {
26060 PyThreadState* __tstate = wxPyBeginAllowThreads();
26061 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
26062
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 Py_INCREF(Py_None); resultobj = Py_None;
26067 return resultobj;
26068 fail:
26069 return NULL;
26070 }
26071
26072
26073 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj;
26075 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26076 bool arg2 ;
26077 double arg3 ;
26078 double arg4 ;
26079 int arg5 = (int) 0 ;
26080 PyObject * obj0 = 0 ;
26081 PyObject * obj1 = 0 ;
26082 char *kwnames[] = {
26083 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26084 };
26085
26086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
26087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26088 arg2 = PyInt_AsLong(obj1) ? true : false;
26089 if (PyErr_Occurred()) SWIG_fail;
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 Py_INCREF(Py_None); resultobj = Py_None;
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
26105 PyObject *resultobj;
26106 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26107 bool arg2 ;
26108 double arg3 ;
26109 double arg4 ;
26110 int arg5 = (int) 0 ;
26111 PyObject * obj0 = 0 ;
26112 PyObject * obj1 = 0 ;
26113 char *kwnames[] = {
26114 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26115 };
26116
26117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
26118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26119 arg2 = PyInt_AsLong(obj1) ? true : false;
26120 if (PyErr_Occurred()) SWIG_fail;
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 Py_INCREF(Py_None); resultobj = Py_None;
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
26136 PyObject *resultobj;
26137 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26138 double arg2 ;
26139 double arg3 ;
26140 int arg4 = (int) 0 ;
26141 PyObject * obj0 = 0 ;
26142 char *kwnames[] = {
26143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26144 };
26145
26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
26151
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 Py_INCREF(Py_None); resultobj = Py_None;
26156 return resultobj;
26157 fail:
26158 return NULL;
26159 }
26160
26161
26162 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
26163 PyObject *resultobj;
26164 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26165 double arg2 ;
26166 double arg3 ;
26167 int arg4 = (int) 0 ;
26168 PyObject * obj0 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
26174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 (arg1)->base_OnRightClick(arg2,arg3,arg4);
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 Py_INCREF(Py_None); resultobj = Py_None;
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
26190 PyObject *resultobj;
26191 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26192 wxDC *arg2 = 0 ;
26193 PyObject * obj0 = 0 ;
26194 PyObject * obj1 = 0 ;
26195 char *kwnames[] = {
26196 (char *) "self",(char *) "dc", NULL
26197 };
26198
26199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
26200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26202 if (arg2 == NULL) {
26203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26204 }
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 (arg1)->Redraw(*arg2);
26208
26209 wxPyEndAllowThreads(__tstate);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 }
26212 Py_INCREF(Py_None); resultobj = Py_None;
26213 return resultobj;
26214 fail:
26215 return NULL;
26216 }
26217
26218
26219 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
26220 PyObject *resultobj;
26221 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26222 wxPyShape *arg2 = (wxPyShape *) 0 ;
26223 PyObject * obj0 = 0 ;
26224 PyObject * obj1 = 0 ;
26225 char *kwnames[] = {
26226 (char *) "self",(char *) "shape", NULL
26227 };
26228
26229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
26230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->RemoveShape(arg2);
26235
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 Py_INCREF(Py_None); resultobj = Py_None;
26240 return resultobj;
26241 fail:
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj;
26248 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26249 wxDiagram *arg2 = (wxDiagram *) 0 ;
26250 PyObject * obj0 = 0 ;
26251 PyObject * obj1 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "diagram", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26259 {
26260 PyThreadState* __tstate = wxPyBeginAllowThreads();
26261 (arg1)->SetDiagram(arg2);
26262
26263 wxPyEndAllowThreads(__tstate);
26264 if (PyErr_Occurred()) SWIG_fail;
26265 }
26266 Py_INCREF(Py_None); resultobj = Py_None;
26267 return resultobj;
26268 fail:
26269 return NULL;
26270 }
26271
26272
26273 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
26274 PyObject *resultobj;
26275 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
26276 double *arg2 = (double *) 0 ;
26277 double *arg3 = (double *) 0 ;
26278 double temp2 ;
26279 double temp3 ;
26280 PyObject * obj0 = 0 ;
26281 PyObject * obj1 = 0 ;
26282 PyObject * obj2 = 0 ;
26283 char *kwnames[] = {
26284 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26285 };
26286
26287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
26288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26289 {
26290 temp2 = PyFloat_AsDouble(obj1);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 arg2 = &temp2;
26293 }
26294 {
26295 temp3 = PyFloat_AsDouble(obj2);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 arg3 = &temp3;
26298 }
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 (arg1)->Snap(arg2,arg3);
26302
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
26306 Py_INCREF(Py_None); resultobj = Py_None;
26307 {
26308 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26309 resultobj = t_output_helper(resultobj,o);
26310 }
26311 {
26312 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26313 resultobj = t_output_helper(resultobj,o);
26314 }
26315 return resultobj;
26316 fail:
26317 return NULL;
26318 }
26319
26320
26321 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
26322 PyObject *obj;
26323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26324 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
26325 Py_INCREF(obj);
26326 return Py_BuildValue((char *)"");
26327 }
26328 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj;
26330 char *kwnames[] = {
26331 NULL
26332 };
26333
26334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 wxOGLInitialize();
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 Py_INCREF(Py_None); resultobj = Py_None;
26343 return resultobj;
26344 fail:
26345 return NULL;
26346 }
26347
26348
26349 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj;
26351 char *kwnames[] = {
26352 NULL
26353 };
26354
26355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 wxOGLCleanUp();
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 Py_INCREF(Py_None); resultobj = Py_None;
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 static PyMethodDef SwigMethods[] = {
26371 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
26401 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
26409 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
26447 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
26615 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
26657 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
26691 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
26724 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
26760 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
26820 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
26825 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
26871 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
26905 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
26962 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
26993 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
27024 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
27043 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
27120 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
27162 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
27194 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
27220 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
27241 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
27243 { NULL, NULL }
27244 };
27245
27246
27247 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27248
27249 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27250 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27251 }
27252 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27253 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27254 }
27255 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27256 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27257 }
27258 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27259 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27260 }
27261 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27262 return (void *)((wxPanel *) ((wxPyPanel *) x));
27263 }
27264 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27265 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27266 }
27267 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27268 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27269 }
27270 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27271 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27272 }
27273 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
27274 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27275 }
27276 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27277 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27278 }
27279 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
27280 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27281 }
27282 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
27283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27284 }
27285 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
27286 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27287 }
27288 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
27289 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
27290 }
27291 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27292 return (void *)((wxWindow *) ((wxMenuBar *) x));
27293 }
27294 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
27295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27296 }
27297 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
27298 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27299 }
27300 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
27301 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27302 }
27303 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
27304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27305 }
27306 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
27307 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27308 }
27309 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
27310 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27311 }
27312 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
27313 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27314 }
27315 static void *_p_wxPanelTo_p_wxWindow(void *x) {
27316 return (void *)((wxWindow *) ((wxPanel *) x));
27317 }
27318 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
27319 return (void *)((wxWindow *) ((wxStatusBar *) x));
27320 }
27321 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
27322 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
27323 }
27324 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
27325 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
27326 }
27327 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
27328 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
27329 }
27330 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
27331 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27332 }
27333 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
27334 return (void *)((wxWindow *) ((wxPopupWindow *) x));
27335 }
27336 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
27337 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
27338 }
27339 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
27340 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
27341 }
27342 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
27343 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
27344 }
27345 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
27346 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
27347 }
27348 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
27349 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
27350 }
27351 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
27352 return (void *)((wxWindow *) ((wxSashWindow *) x));
27353 }
27354 static void *_p_wxControlTo_p_wxWindow(void *x) {
27355 return (void *)((wxWindow *) ((wxControl *) x));
27356 }
27357 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27358 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27359 }
27360 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27362 }
27363 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27365 }
27366 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27367 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27368 }
27369 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27370 return (void *)((wxWindow *) ((wxPyWindow *) x));
27371 }
27372 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27373 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27374 }
27375 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
27376 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27377 }
27378 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27379 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27380 }
27381 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27382 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27383 }
27384 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27385 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27386 }
27387 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27388 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27389 }
27390 static void *_p_wxFrameTo_p_wxWindow(void *x) {
27391 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27392 }
27393 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27394 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27395 }
27396 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27397 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27398 }
27399 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27401 }
27402 static void *_p_wxDialogTo_p_wxWindow(void *x) {
27403 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27404 }
27405 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
27406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27407 }
27408 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
27409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27410 }
27411 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27413 }
27414 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27415 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27416 }
27417 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
27418 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
27419 }
27420 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
27421 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27422 }
27423 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
27424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27425 }
27426 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
27427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27428 }
27429 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27430 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27431 }
27432 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27433 return (void *)((wxObject *) ((wxSizerItem *) x));
27434 }
27435 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27436 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27437 }
27438 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27439 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27440 }
27441 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
27442 return (void *)((wxObject *) ((wxOGLConstraint *) x));
27443 }
27444 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27445 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27446 }
27447 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27448 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27449 }
27450 static void *_p_wxSizerTo_p_wxObject(void *x) {
27451 return (void *)((wxObject *) ((wxSizer *) x));
27452 }
27453 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
27454 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27455 }
27456 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
27457 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27458 }
27459 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
27460 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
27461 }
27462 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27463 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27464 }
27465 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27466 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27467 }
27468 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
27469 return (void *)((wxObject *) ((wxArrowHead *) x));
27470 }
27471 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
27472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27473 }
27474 static void *_p_wxEventTo_p_wxObject(void *x) {
27475 return (void *)((wxObject *) ((wxEvent *) x));
27476 }
27477 static void *_p_wxFontDataTo_p_wxObject(void *x) {
27478 return (void *)((wxObject *) ((wxFontData *) x));
27479 }
27480 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
27481 return (void *)((wxObject *) ((wxPrintData *) x));
27482 }
27483 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27484 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27485 }
27486 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27487 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27488 }
27489 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27490 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27491 }
27492 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
27493 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
27494 }
27495 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
27496 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
27497 }
27498 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
27499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
27500 }
27501 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27502 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27503 }
27504 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27505 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27506 }
27507 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27508 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27509 }
27510 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27511 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27512 }
27513 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27514 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27515 }
27516 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27517 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27518 }
27519 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
27520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27521 }
27522 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
27523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27524 }
27525 static void *_p_wxControlTo_p_wxObject(void *x) {
27526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27527 }
27528 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
27529 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
27530 }
27531 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27532 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27533 }
27534 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
27535 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
27536 }
27537 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27538 return (void *)((wxObject *) ((wxFSFile *) x));
27539 }
27540 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
27541 return (void *)((wxObject *) ((wxFindReplaceData *) x));
27542 }
27543 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
27544 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27545 }
27546 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27547 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27548 }
27549 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
27550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27551 }
27552 static void *_p_wxColourDataTo_p_wxObject(void *x) {
27553 return (void *)((wxObject *) ((wxColourData *) x));
27554 }
27555 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27556 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27557 }
27558 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27560 }
27561 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
27562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
27563 }
27564 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
27565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27566 }
27567 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27569 }
27570 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
27571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27572 }
27573 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
27574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27575 }
27576 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
27577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27578 }
27579 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
27580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27581 }
27582 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
27583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27584 }
27585 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
27586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27587 }
27588 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27589 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27590 }
27591 static void *_p_wxPrinterTo_p_wxObject(void *x) {
27592 return (void *)((wxObject *) ((wxPrinter *) x));
27593 }
27594 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27595 return (void *)((wxObject *) ((wxMenuItem *) x));
27596 }
27597 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27598 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27599 }
27600 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27602 }
27603 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27604 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27605 }
27606 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27607 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27608 }
27609 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27610 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27611 }
27612 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27613 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27614 }
27615 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27616 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27617 }
27618 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27619 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27620 }
27621 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27622 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27623 }
27624 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27625 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27626 }
27627 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27628 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27629 }
27630 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27631 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27632 }
27633 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27634 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27635 }
27636 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27637 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27638 }
27639 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27640 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27641 }
27642 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27643 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27644 }
27645 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27646 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27647 }
27648 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27649 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27650 }
27651 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27652 return (void *)((wxObject *) ((wxImageHandler *) x));
27653 }
27654 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27655 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27656 }
27657 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27658 return (void *)((wxObject *) ((wxEvtHandler *) x));
27659 }
27660 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
27661 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
27662 }
27663 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
27664 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
27665 }
27666 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
27667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27668 }
27669 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
27670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27671 }
27672 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
27673 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27674 }
27675 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27676 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27677 }
27678 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
27679 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27680 }
27681 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27683 }
27684 static void *_p_wxImageTo_p_wxObject(void *x) {
27685 return (void *)((wxObject *) ((wxImage *) x));
27686 }
27687 static void *_p_wxFrameTo_p_wxObject(void *x) {
27688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27689 }
27690 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
27691 return (void *)((wxObject *) ((wxPyPrintout *) x));
27692 }
27693 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27694 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27695 }
27696 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
27697 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
27698 }
27699 static void *_p_wxDiagramTo_p_wxObject(void *x) {
27700 return (void *)((wxObject *) ((wxDiagram *) x));
27701 }
27702 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
27704 }
27705 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27707 }
27708 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27710 }
27711 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27713 }
27714 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27716 }
27717 static void *_p_wxWindowTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27719 }
27720 static void *_p_wxMenuTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27722 }
27723 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27725 }
27726 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27728 }
27729 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
27731 }
27732 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
27734 }
27735 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
27737 }
27738 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
27740 }
27741 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27743 }
27744 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
27746 }
27747 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27749 }
27750 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
27752 }
27753 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27755 }
27756 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27758 }
27759 static void *_p_wxSashEventTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27761 }
27762 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) ((wxPrintPreview *) x));
27764 }
27765 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27767 }
27768 static void *_p_wxPanelTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27770 }
27771 static void *_p_wxDialogTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27773 }
27774 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27776 }
27777 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27779 }
27780 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27782 }
27783 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27785 }
27786 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27788 }
27789 static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
27791 }
27792 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
27794 }
27795 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) ((wxFileSystem *) x));
27797 }
27798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27800 }
27801 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27803 }
27804 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27806 }
27807 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27809 }
27810 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27812 }
27813 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27815 }
27816 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27818 }
27819 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27821 }
27822 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27824 }
27825 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27827 }
27828 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27830 }
27831 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27833 }
27834 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27836 }
27837 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
27839 }
27840 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27842 }
27843 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27845 }
27846 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
27848 }
27849 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
27851 }
27852 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27854 }
27855 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27857 }
27858 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27860 }
27861 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27863 }
27864 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27866 }
27867 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) ((wxShapeRegion *) x));
27869 }
27870 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27871 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
27872 }
27873 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
27874 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27875 }
27876 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
27877 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27878 }
27879 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27880 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27881 }
27882 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
27883 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
27884 }
27885 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
27886 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27887 }
27888 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
27889 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27890 }
27891 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
27892 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27893 }
27894 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
27895 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27896 }
27897 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
27898 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
27899 }
27900 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
27901 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27902 }
27903 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
27904 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
27905 }
27906 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
27907 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
27908 }
27909 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
27910 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27911 }
27912 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
27913 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27914 }
27915 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
27916 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27917 }
27918 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27919 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27920 }
27921 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27922 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27923 }
27924 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27925 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27926 }
27927 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27928 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27929 }
27930 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
27931 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27932 }
27933 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
27934 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27935 }
27936 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
27937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27938 }
27939 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
27940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27941 }
27942 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
27943 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27944 }
27945 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
27946 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27947 }
27948 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
27949 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27950 }
27951 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
27952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
27953 }
27954 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
27955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
27956 }
27957 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
27958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27959 }
27960 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
27961 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
27962 }
27963 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
27964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27965 }
27966 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
27967 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
27968 }
27969 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
27970 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27971 }
27972 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
27973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
27974 }
27975 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
27976 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
27977 }
27978 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
27979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
27980 }
27981 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27982 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27983 }
27984 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
27985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27986 }
27987 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
27988 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
27989 }
27990 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
27991 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
27992 }
27993 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27994 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27995 }
27996 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
27997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27998 }
27999 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28001 }
28002 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28004 }
28005 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28006 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28007 }
28008 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28009 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28010 }
28011 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28012 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28013 }
28014 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28015 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28016 }
28017 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
28018 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
28019 }
28020 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28021 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28022 }
28023 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28024 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28025 }
28026 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28027 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28028 }
28029 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28031 }
28032 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
28033 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
28034 }
28035 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28037 }
28038 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28039 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28040 }
28041 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28043 }
28044 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28046 }
28047 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28049 }
28050 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
28051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
28052 }
28053 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
28054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
28055 }
28056 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28058 }
28059 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
28060 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
28061 }
28062 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
28063 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
28064 }
28065 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
28066 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28067 }
28068 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
28069 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28070 }
28071 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
28072 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
28073 }
28074 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
28075 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
28076 }
28077 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
28078 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
28079 }
28080 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
28081 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
28082 }
28083 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
28084 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
28085 }
28086 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
28087 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28088 }
28089 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
28090 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
28091 }
28092 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
28093 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
28094 }
28095 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
28096 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
28097 }
28098 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
28099 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
28100 }
28101 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
28102 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
28103 }
28104 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
28105 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
28106 }
28107 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
28108 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
28109 }
28110 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
28111 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
28112 }
28113 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
28114 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28115 }
28116 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
28117 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
28118 }
28119 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
28120 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
28121 }
28122 static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
28123 static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
28124 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28125 static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
28126 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28127 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
28128 static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
28129 static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
28130 static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
28131 static 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}};
28132 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28133 static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
28134 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28135 static 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}};
28136 static 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}};
28137 static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
28138 static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
28139 static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
28140 static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
28141 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28142 static 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_wxAttachmentPoint", _p_wxAttachmentPointTo_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}};
28143 static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
28144 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28145 static 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}};
28146 static 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}};
28147 static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
28148 static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
28149 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28150 static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
28151 static 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}};
28152 static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
28153 static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
28154 static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
28155 static 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}};
28156 static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
28157 static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
28158 static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
28159 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28160 static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
28161 static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
28162 static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
28163
28164 static swig_type_info *swig_types_initial[] = {
28165 _swigt__p_wxOGLConstraint,
28166 _swigt__p_wxBrush,
28167 _swigt__p_wxColour,
28168 _swigt__p_wxShapeRegion,
28169 _swigt__p_wxDC,
28170 _swigt__p_wxRealPoint,
28171 _swigt__p_wxPyControlPoint,
28172 _swigt__p_wxArrowHead,
28173 _swigt__p_wxStringList,
28174 _swigt__p_wxPanel,
28175 _swigt__p_bool,
28176 _swigt__p_wxList,
28177 _swigt__p_wxFont,
28178 _swigt__p_wxScrolledWindow,
28179 _swigt__p_wxWindow,
28180 _swigt__p_double,
28181 _swigt__p_wxPyDivisionShape,
28182 _swigt__p_wxPyDrawnShape,
28183 _swigt__p_wxPyPolygonShape,
28184 _swigt__p_wxBitmap,
28185 _swigt__p_wxObject,
28186 _swigt__p_wxPyBitmapShape,
28187 _swigt__p_wxString,
28188 _swigt__p_wxPyShapeEvtHandler,
28189 _swigt__p_wxEvtHandler,
28190 _swigt__p_wxPyEllipseShape,
28191 _swigt__p_wxPyShapeCanvas,
28192 _swigt__p_wxPoint,
28193 _swigt__p_wxDiagram,
28194 _swigt__p_wxPyShape,
28195 _swigt__p_wxAttachmentPoint,
28196 _swigt__p_wxClassInfo,
28197 _swigt__p_wxPyLineShape,
28198 _swigt__p_wxPyRectangleShape,
28199 _swigt__p_wxPyCompositeShape,
28200 _swigt__p_wxPyCircleShape,
28201 _swigt__p_wxPen,
28202 _swigt__p_int,
28203 _swigt__p_wxPseudoMetaFile,
28204 _swigt__p_wxPyTextShape,
28205 _swigt__p_wxPyDividedShape,
28206 0
28207 };
28208
28209
28210 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28211
28212 static swig_const_info swig_const_table[] = {
28213 { SWIG_PY_INT, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE, 0, 0, 0},
28214 { SWIG_PY_INT, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS, 0, 0, 0},
28215 { SWIG_PY_INT, (char *)"KEY_SHIFT", (long) KEY_SHIFT, 0, 0, 0},
28216 { SWIG_PY_INT, (char *)"KEY_CTRL", (long) KEY_CTRL, 0, 0, 0},
28217 { SWIG_PY_INT, (char *)"ARROW_NONE", (long) ARROW_NONE, 0, 0, 0},
28218 { SWIG_PY_INT, (char *)"ARROW_END", (long) ARROW_END, 0, 0, 0},
28219 { SWIG_PY_INT, (char *)"ARROW_BOTH", (long) ARROW_BOTH, 0, 0, 0},
28220 { SWIG_PY_INT, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE, 0, 0, 0},
28221 { SWIG_PY_INT, (char *)"ARROW_START", (long) ARROW_START, 0, 0, 0},
28222 { SWIG_PY_INT, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE, 0, 0, 0},
28223 { SWIG_PY_INT, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE, 0, 0, 0},
28224 { SWIG_PY_INT, (char *)"ARROW_ARROW", (long) ARROW_ARROW, 0, 0, 0},
28225 { SWIG_PY_INT, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE, 0, 0, 0},
28226 { SWIG_PY_INT, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE, 0, 0, 0},
28227 { SWIG_PY_INT, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE, 0, 0, 0},
28228 { SWIG_PY_INT, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END, 0, 0, 0},
28229 { SWIG_PY_INT, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START, 0, 0, 0},
28230 { SWIG_PY_INT, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL, 0, 0, 0},
28231 { SWIG_PY_INT, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL, 0, 0, 0},
28232 { SWIG_PY_INT, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL, 0, 0, 0},
28233 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO, 0, 0, 0},
28234 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM, 0, 0, 0},
28235 { SWIG_PY_INT, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE, 0, 0, 0},
28236 { SWIG_PY_INT, (char *)"FORMAT_NONE", (long) FORMAT_NONE, 0, 0, 0},
28237 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ, 0, 0, 0},
28238 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT, 0, 0, 0},
28239 { SWIG_PY_INT, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS, 0, 0, 0},
28240 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ, 0, 0, 0},
28241 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT, 0, 0, 0},
28242 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE, 0, 0, 0},
28243 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE, 0, 0, 0},
28244 { SWIG_PY_INT, (char *)"SHADOW_NONE", (long) SHADOW_NONE, 0, 0, 0},
28245 { SWIG_PY_INT, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT, 0, 0, 0},
28246 { SWIG_PY_INT, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT, 0, 0, 0},
28247 { SWIG_PY_INT, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT, 0, 0, 0},
28248 { SWIG_PY_INT, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT, 0, 0, 0},
28249 { SWIG_PY_INT, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT, 0, 0, 0},
28250 { SWIG_PY_INT, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT, 0, 0, 0},
28251 { SWIG_PY_INT, (char *)"OP_ALL", (long) OP_ALL, 0, 0, 0},
28252 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE, 0, 0, 0},
28253 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE, 0, 0, 0},
28254 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING, 0, 0, 0},
28255 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL, 0, 0, 0},
28256 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB, 0, 0, 0},
28257 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY, 0, 0, 0},
28258 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY, 0, 0, 0},
28259 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH, 0, 0, 0},
28260 { SWIG_PY_INT, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF, 0, 0, 0},
28261 { SWIG_PY_INT, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF, 0, 0, 0},
28262 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE, 0, 0, 0},
28263 { SWIG_PY_INT, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW, 0, 0, 0},
28264 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP, 0, 0, 0},
28265 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM, 0, 0, 0},
28266 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT, 0, 0, 0},
28267 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT, 0, 0, 0},
28268 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP, 0, 0, 0},
28269 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM, 0, 0, 0},
28270 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT, 0, 0, 0},
28271 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT, 0, 0, 0},
28272 { SWIG_PY_INT, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE, 0, 0, 0},
28273 { SWIG_PY_INT, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT, 0, 0, 0},
28274 { SWIG_PY_INT, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP, 0, 0, 0},
28275 { SWIG_PY_INT, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT, 0, 0, 0},
28276 { SWIG_PY_INT, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM, 0, 0, 0},
28277 {0}};
28278
28279 #ifdef __cplusplus
28280 }
28281 #endif
28282
28283 #ifdef __cplusplus
28284 extern "C"
28285 #endif
28286 SWIGEXPORT(void) SWIG_init(void) {
28287 static PyObject *SWIG_globals = 0;
28288 static int typeinit = 0;
28289 PyObject *m, *d;
28290 int i;
28291 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28292 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28293 d = PyModule_GetDict(m);
28294
28295 if (!typeinit) {
28296 for (i = 0; swig_types_initial[i]; i++) {
28297 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28298 }
28299 typeinit = 1;
28300 }
28301 SWIG_InstallConstants(d,swig_const_table);
28302
28303
28304
28305 // initoglbasicc();
28306 // initoglshapesc();
28307 // initoglshapes2c();
28308 // initoglcanvasc();
28309
28310
28311 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
28312 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
28313 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
28314 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
28315 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
28316 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
28317 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
28318 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
28319 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
28320 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
28321 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
28322 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
28323 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
28324 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
28325
28326
28327 }
28328