]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/ogl_wrap.cpp
SWIG patch for "autodoc" and "docstring" %features
[wxWidgets.git] / wxPython / contrib / ogl / 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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
225 #define SWIGTYPE_p_wxBrush swig_types[1]
226 #define SWIGTYPE_p_wxColour swig_types[2]
227 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
228 #define SWIGTYPE_p_wxDC swig_types[4]
229 #define SWIGTYPE_p_wxRealPoint swig_types[5]
230 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
231 #define SWIGTYPE_p_wxArrowHead swig_types[7]
232 #define SWIGTYPE_p_wxStringList swig_types[8]
233 #define SWIGTYPE_p_wxPanel swig_types[9]
234 #define SWIGTYPE_p_bool swig_types[10]
235 #define SWIGTYPE_p_wxList swig_types[11]
236 #define SWIGTYPE_p_wxFont swig_types[12]
237 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
238 #define SWIGTYPE_p_wxWindow swig_types[14]
239 #define SWIGTYPE_p_double swig_types[15]
240 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
241 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
242 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
243 #define SWIGTYPE_p_wxBitmap swig_types[19]
244 #define SWIGTYPE_p_wxObject swig_types[20]
245 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
246 #define SWIGTYPE_p_wxString swig_types[22]
247 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
249 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
250 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
251 #define SWIGTYPE_p_wxPoint swig_types[27]
252 #define SWIGTYPE_p_wxDiagram swig_types[28]
253 #define SWIGTYPE_p_wxPyShape swig_types[29]
254 #define SWIGTYPE_p_wxClassInfo swig_types[30]
255 #define SWIGTYPE_p_wxPyLineShape swig_types[31]
256 #define SWIGTYPE_p_wxPyRectangleShape swig_types[32]
257 #define SWIGTYPE_p_wxPyCompositeShape swig_types[33]
258 #define SWIGTYPE_p_wxPyCircleShape swig_types[34]
259 #define SWIGTYPE_p_wxPen swig_types[35]
260 #define SWIGTYPE_p_int swig_types[36]
261 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[37]
262 #define SWIGTYPE_p_wxPyTextShape swig_types[38]
263 #define SWIGTYPE_p_wxPyDividedShape swig_types[39]
264 static swig_type_info *swig_types[41];
265
266 /* -------- TYPES TABLE (END) -------- */
267
268
269 /*-----------------------------------------------
270 @(target):= _ogl.so
271 ------------------------------------------------*/
272 #define SWIG_init init_ogl
273
274 #define SWIG_name "_ogl"
275
276 #include "wx/wxPython/wxPython.h"
277 #include "wx/wxPython/pyclasses.h"
278 #include "oglhelpers.h"
279
280
281 static const wxString wxPyEmptyString(wxT(""));
282
283
284 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
285 PyObject* o2;
286 PyObject* o3;
287
288 if (!target) {
289 target = o;
290 } else if (target == Py_None) {
291 Py_DECREF(Py_None);
292 target = o;
293 } else {
294 if (!PyTuple_Check(target)) {
295 o2 = target;
296 target = PyTuple_New(1);
297 PyTuple_SetItem(target, 0, o2);
298 }
299 o3 = PyTuple_New(1);
300 PyTuple_SetItem(o3, 0, o);
301
302 o2 = target;
303 target = PySequence_Concat(o2, o3);
304 Py_DECREF(o2);
305 Py_DECREF(o3);
306 }
307 return target;
308 }
309
310
311 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
312
313 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
314 self->SetClientObject(new wxPyOORClientData(_self));
315 }
316
317 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
318
319 PyObject *wxPyShape_GetChildren(wxPyShape *self){
320 wxList& list = self->GetChildren();
321 return wxPy_ConvertShapeList(&list);
322 }
323 PyObject *wxPyShape_GetLines(wxPyShape *self){
324 wxList& list = self->GetLines();
325 return wxPy_ConvertShapeList(&list);
326 }
327 PyObject *wxPyShape_GetRegions(wxPyShape *self){
328 wxList& list = self->GetRegions();
329 return wxPy_ConvertList(&list);
330 }
331 void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
332 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
333 self->ApplyAttachmentOrdering(*list);
334 delete list;
335 }
336
337 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
338 // 6, so instead I'l just expand it out by hand...
339 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
340
341 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
342 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
343 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
344 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
345 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
346 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
347 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
348 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
349 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
350 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
351 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
352 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
353 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
354 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
355 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
356 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
357 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
358 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
359 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
360 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
361 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
362 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
363 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
364 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
365 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
366 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
367 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
368 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
369 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
370
371
372
373 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
374
375
376 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
377
378
379 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
380
381 wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
382 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
383 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
384 delete list;
385 return rv;
386 }
387
388 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
389
390 wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
391 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
392 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
393 delete list;
394 return rv;
395 }
396 PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
397 wxList& list = self->GetConstraints();
398 return wxPy_ConvertList(&list);
399 }
400 PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
401 wxList& list = self->GetDivisions();
402 return wxPy_ConvertShapeList(&list);
403 }
404
405 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
406
407
408 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
409
410
411 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
412
413
414 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
415
416
417 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
418
419 void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
420 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
421 self->AddArrowOrdered(arrow, *list, end);
422 delete list;
423 }
424 PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
425 wxList* list = self->GetLineControlPoints();
426 return wxPy_ConvertShapeList(list);
427 }
428
429 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
430
431 PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
432 wxList* list = wxPy_wxRealPoint_ListHelper(points);
433 if (list) {
434 self->Create(list);
435 Py_INCREF(Py_None);
436 return Py_None;
437 }
438 else return NULL;
439 }
440 PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
441 wxList* list = self->GetPoints();
442 PyObject* pyList;
443 PyObject* pyObj;
444 wxObject* wxObj;
445 wxNode* node = list->GetFirst();
446
447 wxPyBeginBlockThreads();
448 pyList = PyList_New(0);
449 while (node) {
450 wxObj = node->GetData();
451 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
452 PyList_Append(pyList, pyObj);
453 node = node->GetNext();
454 }
455 wxPyEndBlockThreads();
456 return pyList;
457 }
458
459 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
460
461
462 // Put some wx default wxChar* values into wxStrings.
463 DECLARE_DEF_STRING(ShapeCanvasNameStr);
464
465 PyObject *wxDiagram_GetShapeList(wxDiagram *self){
466 wxList* list = self->GetShapeList();
467 return wxPy_ConvertShapeList(list);
468 }
469
470 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
471 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
472 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
473 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
474 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
475 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
476 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
477 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
478
479
480 //---------------------------------------------------------------------------
481
482 // Convert from a Python list to a list of className objects. This one will
483 // work for any class for the VERY generic cases, but beyond that the helper
484 // needs to know more about the type.
485 wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
486 wxPyBeginBlockThreads();
487 if (!PyList_Check(pyList)) {
488 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
489 wxPyEndBlockThreads();
490 return NULL;
491 }
492 int count = PyList_Size(pyList);
493 wxList* list = new wxList;
494 if (! list) {
495 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
496 wxPyEndBlockThreads();
497 return NULL;
498 }
499 for (int x=0; x<count; x++) {
500 PyObject* pyo = PyList_GetItem(pyList, x);
501 wxObject* wxo = NULL;
502
503 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
504 wxString errmsg;
505 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
506 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
507 wxPyEndBlockThreads();
508 return NULL;
509 }
510 list->Append(wxo);
511 }
512 wxPyEndBlockThreads();
513 return list;
514 }
515
516 //---------------------------------------------------------------------------
517
518 wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
519 wxPyBeginBlockThreads();
520 if (!PyList_Check(pyList)) {
521 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
522 wxPyEndBlockThreads();
523 return NULL;
524 }
525 int count = PyList_Size(pyList);
526 wxList* list = new wxList;
527 if (! list) {
528 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
529 wxPyEndBlockThreads();
530 return NULL;
531 }
532 for (int x=0; x<count; x++) {
533 PyObject* pyo = PyList_GetItem(pyList, x);
534
535 if (PyTuple_Check(pyo)) {
536 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
537 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
538
539 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
540 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
541
542 list->Append((wxObject*) new wxRealPoint(val1, val2));
543
544 } else {
545 wxRealPoint* wxo = NULL;
546 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
547 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
548 wxPyEndBlockThreads();
549 return NULL;
550 }
551 list->Append((wxObject*) new wxRealPoint(*wxo));
552 }
553 }
554 wxPyEndBlockThreads();
555 return list;
556 }
557
558 //---------------------------------------------------------------------------
559
560 PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
561 PyObject* target = NULL;
562
563 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
564 // If it's derived from wxShapeEvtHandler then there may
565 // already be a pointer to a Python object that we can use
566 // in the OOR data.
567 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
568 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
569 if (data) {
570 target = data->m_obj;
571 Py_INCREF(target);
572 }
573 }
574 if (! target) {
575 target = wxPyMake_wxObject2(source, FALSE);
576 if (target != Py_None)
577 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
578 }
579 return target;
580 }
581
582 //---------------------------------------------------------------------------
583
584 PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
585 wxList* list = (wxList*)listbase;
586 PyObject* pyList;
587 PyObject* pyObj;
588 wxObject* wxObj;
589 wxNode* node = list->GetFirst();
590
591 wxPyBeginBlockThreads();
592 pyList = PyList_New(0);
593 while (node) {
594 wxObj = node->GetData();
595 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
596 PyList_Append(pyList, pyObj);
597 node = node->GetNext();
598 }
599 wxPyEndBlockThreads();
600 return pyList;
601 }
602
603
604 //---------------------------------------------------------------------------
605
606 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
607 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
608 IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
609 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
610 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
611 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
612 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
613 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
614 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
615 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
616 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
617 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
618 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
619 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
620 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
621
622 //---------------------------------------------------------------------------
623
624 // extern "C" SWIGEXPORT(void) initoglbasicc();
625 // extern "C" SWIGEXPORT(void) initoglshapesc();
626 // extern "C" SWIGEXPORT(void) initoglshapes2c();
627 // extern "C" SWIGEXPORT(void) initoglcanvasc();
628
629 #ifdef __cplusplus
630 extern "C" {
631 #endif
632 static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
633 PyObject *resultobj;
634 wxShapeRegion *result;
635 char *kwnames[] = {
636 NULL
637 };
638
639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
640 {
641 PyThreadState* __tstate = wxPyBeginAllowThreads();
642 result = (wxShapeRegion *)new wxShapeRegion();
643
644 wxPyEndAllowThreads(__tstate);
645 if (PyErr_Occurred()) SWIG_fail;
646 }
647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
648 return resultobj;
649 fail:
650 return NULL;
651 }
652
653
654 static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
655 PyObject *resultobj;
656 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
657 wxString *arg2 = 0 ;
658 bool temp2 = false ;
659 PyObject * obj0 = 0 ;
660 PyObject * obj1 = 0 ;
661 char *kwnames[] = {
662 (char *) "self",(char *) "s", NULL
663 };
664
665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
667 {
668 arg2 = wxString_in_helper(obj1);
669 if (arg2 == NULL) SWIG_fail;
670 temp2 = true;
671 }
672 {
673 PyThreadState* __tstate = wxPyBeginAllowThreads();
674 (arg1)->SetText((wxString const &)*arg2);
675
676 wxPyEndAllowThreads(__tstate);
677 if (PyErr_Occurred()) SWIG_fail;
678 }
679 Py_INCREF(Py_None); resultobj = Py_None;
680 {
681 if (temp2)
682 delete arg2;
683 }
684 return resultobj;
685 fail:
686 {
687 if (temp2)
688 delete arg2;
689 }
690 return NULL;
691 }
692
693
694 static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject *resultobj;
696 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
697 wxFont *arg2 = (wxFont *) 0 ;
698 PyObject * obj0 = 0 ;
699 PyObject * obj1 = 0 ;
700 char *kwnames[] = {
701 (char *) "self",(char *) "f", NULL
702 };
703
704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
706 {
707 wxFont* temp;
708 if (obj1) {
709 if (obj1 == Py_None) {
710 temp = NULL;
711 }
712 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
713 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
714 return NULL;
715 }
716 }
717 if (temp)
718 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
719 temp->GetFamily(),
720 temp->GetStyle(),
721 temp->GetWeight(),
722 temp->GetUnderlined(),
723 temp->GetFaceName(),
724 temp->GetEncoding());
725 else
726 arg2 = NULL;
727 }
728 {
729 PyThreadState* __tstate = wxPyBeginAllowThreads();
730 (arg1)->SetFont(arg2);
731
732 wxPyEndAllowThreads(__tstate);
733 if (PyErr_Occurred()) SWIG_fail;
734 }
735 Py_INCREF(Py_None); resultobj = Py_None;
736 return resultobj;
737 fail:
738 return NULL;
739 }
740
741
742 static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
743 PyObject *resultobj;
744 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
745 double arg2 ;
746 double arg3 ;
747 PyObject * obj0 = 0 ;
748 char *kwnames[] = {
749 (char *) "self",(char *) "w",(char *) "h", NULL
750 };
751
752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetMinSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
754 {
755 PyThreadState* __tstate = wxPyBeginAllowThreads();
756 (arg1)->SetMinSize(arg2,arg3);
757
758 wxPyEndAllowThreads(__tstate);
759 if (PyErr_Occurred()) SWIG_fail;
760 }
761 Py_INCREF(Py_None); resultobj = Py_None;
762 return resultobj;
763 fail:
764 return NULL;
765 }
766
767
768 static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
769 PyObject *resultobj;
770 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
771 double arg2 ;
772 double arg3 ;
773 PyObject * obj0 = 0 ;
774 char *kwnames[] = {
775 (char *) "self",(char *) "w",(char *) "h", NULL
776 };
777
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
780 {
781 PyThreadState* __tstate = wxPyBeginAllowThreads();
782 (arg1)->SetSize(arg2,arg3);
783
784 wxPyEndAllowThreads(__tstate);
785 if (PyErr_Occurred()) SWIG_fail;
786 }
787 Py_INCREF(Py_None); resultobj = Py_None;
788 return resultobj;
789 fail:
790 return NULL;
791 }
792
793
794 static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
795 PyObject *resultobj;
796 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
797 double arg2 ;
798 double arg3 ;
799 PyObject * obj0 = 0 ;
800 char *kwnames[] = {
801 (char *) "self",(char *) "x",(char *) "y", NULL
802 };
803
804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
806 {
807 PyThreadState* __tstate = wxPyBeginAllowThreads();
808 (arg1)->SetPosition(arg2,arg3);
809
810 wxPyEndAllowThreads(__tstate);
811 if (PyErr_Occurred()) SWIG_fail;
812 }
813 Py_INCREF(Py_None); resultobj = Py_None;
814 return resultobj;
815 fail:
816 return NULL;
817 }
818
819
820 static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
821 PyObject *resultobj;
822 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
823 double arg2 ;
824 double arg3 ;
825 PyObject * obj0 = 0 ;
826 char *kwnames[] = {
827 (char *) "self",(char *) "x",(char *) "y", NULL
828 };
829
830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ShapeRegion_SetProportions",kwnames,&obj0,&arg2,&arg3)) goto fail;
831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
832 {
833 PyThreadState* __tstate = wxPyBeginAllowThreads();
834 (arg1)->SetProportions(arg2,arg3);
835
836 wxPyEndAllowThreads(__tstate);
837 if (PyErr_Occurred()) SWIG_fail;
838 }
839 Py_INCREF(Py_None); resultobj = Py_None;
840 return resultobj;
841 fail:
842 return NULL;
843 }
844
845
846 static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
847 PyObject *resultobj;
848 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
849 int arg2 ;
850 PyObject * obj0 = 0 ;
851 char *kwnames[] = {
852 (char *) "self",(char *) "mode", NULL
853 };
854
855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames,&obj0,&arg2)) goto fail;
856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
857 {
858 PyThreadState* __tstate = wxPyBeginAllowThreads();
859 (arg1)->SetFormatMode(arg2);
860
861 wxPyEndAllowThreads(__tstate);
862 if (PyErr_Occurred()) SWIG_fail;
863 }
864 Py_INCREF(Py_None); resultobj = Py_None;
865 return resultobj;
866 fail:
867 return NULL;
868 }
869
870
871 static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject *resultobj;
873 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
874 wxString *arg2 = 0 ;
875 bool temp2 = false ;
876 PyObject * obj0 = 0 ;
877 PyObject * obj1 = 0 ;
878 char *kwnames[] = {
879 (char *) "self",(char *) "s", NULL
880 };
881
882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884 {
885 arg2 = wxString_in_helper(obj1);
886 if (arg2 == NULL) SWIG_fail;
887 temp2 = true;
888 }
889 {
890 PyThreadState* __tstate = wxPyBeginAllowThreads();
891 (arg1)->SetName((wxString const &)*arg2);
892
893 wxPyEndAllowThreads(__tstate);
894 if (PyErr_Occurred()) SWIG_fail;
895 }
896 Py_INCREF(Py_None); resultobj = Py_None;
897 {
898 if (temp2)
899 delete arg2;
900 }
901 return resultobj;
902 fail:
903 {
904 if (temp2)
905 delete arg2;
906 }
907 return NULL;
908 }
909
910
911 static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
912 PyObject *resultobj;
913 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
914 wxString *arg2 = 0 ;
915 bool temp2 = false ;
916 PyObject * obj0 = 0 ;
917 PyObject * obj1 = 0 ;
918 char *kwnames[] = {
919 (char *) "self",(char *) "col", NULL
920 };
921
922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
924 {
925 arg2 = wxString_in_helper(obj1);
926 if (arg2 == NULL) SWIG_fail;
927 temp2 = true;
928 }
929 {
930 PyThreadState* __tstate = wxPyBeginAllowThreads();
931 (arg1)->SetColour((wxString const &)*arg2);
932
933 wxPyEndAllowThreads(__tstate);
934 if (PyErr_Occurred()) SWIG_fail;
935 }
936 Py_INCREF(Py_None); resultobj = Py_None;
937 {
938 if (temp2)
939 delete arg2;
940 }
941 return resultobj;
942 fail:
943 {
944 if (temp2)
945 delete arg2;
946 }
947 return NULL;
948 }
949
950
951 static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
952 PyObject *resultobj;
953 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
954 wxString result;
955 PyObject * obj0 = 0 ;
956 char *kwnames[] = {
957 (char *) "self", NULL
958 };
959
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 {
963 PyThreadState* __tstate = wxPyBeginAllowThreads();
964 result = (arg1)->GetText();
965
966 wxPyEndAllowThreads(__tstate);
967 if (PyErr_Occurred()) SWIG_fail;
968 }
969 {
970 #if wxUSE_UNICODE
971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
972 #else
973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
974 #endif
975 }
976 return resultobj;
977 fail:
978 return NULL;
979 }
980
981
982 static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
983 PyObject *resultobj;
984 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
985 wxFont *result;
986 PyObject * obj0 = 0 ;
987 char *kwnames[] = {
988 (char *) "self", NULL
989 };
990
991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 {
994 PyThreadState* __tstate = wxPyBeginAllowThreads();
995 result = (wxFont *)(arg1)->GetFont();
996
997 wxPyEndAllowThreads(__tstate);
998 if (PyErr_Occurred()) SWIG_fail;
999 }
1000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
1001 return resultobj;
1002 fail:
1003 return NULL;
1004 }
1005
1006
1007 static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1008 PyObject *resultobj;
1009 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1010 double *arg2 = (double *) 0 ;
1011 double *arg3 = (double *) 0 ;
1012 double temp2 ;
1013 double temp3 ;
1014 PyObject * obj0 = 0 ;
1015 char *kwnames[] = {
1016 (char *) "self", NULL
1017 };
1018
1019 arg2 = &temp2;
1020 arg3 = &temp3;
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 (arg1)->GetMinSize(arg2,arg3);
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 Py_INCREF(Py_None); resultobj = Py_None;
1031 {
1032 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1033 resultobj = t_output_helper(resultobj,o);
1034 }
1035 {
1036 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1037 resultobj = t_output_helper(resultobj,o);
1038 }
1039 return resultobj;
1040 fail:
1041 return NULL;
1042 }
1043
1044
1045 static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject *resultobj;
1047 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1048 double *arg2 = (double *) 0 ;
1049 double *arg3 = (double *) 0 ;
1050 double temp2 ;
1051 double temp3 ;
1052 PyObject * obj0 = 0 ;
1053 char *kwnames[] = {
1054 (char *) "self", NULL
1055 };
1056
1057 arg2 = &temp2;
1058 arg3 = &temp3;
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1061 {
1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
1063 (arg1)->GetProportion(arg2,arg3);
1064
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) SWIG_fail;
1067 }
1068 Py_INCREF(Py_None); resultobj = Py_None;
1069 {
1070 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1071 resultobj = t_output_helper(resultobj,o);
1072 }
1073 {
1074 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1075 resultobj = t_output_helper(resultobj,o);
1076 }
1077 return resultobj;
1078 fail:
1079 return NULL;
1080 }
1081
1082
1083 static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1084 PyObject *resultobj;
1085 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1086 double *arg2 = (double *) 0 ;
1087 double *arg3 = (double *) 0 ;
1088 double temp2 ;
1089 double temp3 ;
1090 PyObject * obj0 = 0 ;
1091 char *kwnames[] = {
1092 (char *) "self", NULL
1093 };
1094
1095 arg2 = &temp2;
1096 arg3 = &temp3;
1097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1099 {
1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
1101 (arg1)->GetSize(arg2,arg3);
1102
1103 wxPyEndAllowThreads(__tstate);
1104 if (PyErr_Occurred()) SWIG_fail;
1105 }
1106 Py_INCREF(Py_None); resultobj = Py_None;
1107 {
1108 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1109 resultobj = t_output_helper(resultobj,o);
1110 }
1111 {
1112 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1113 resultobj = t_output_helper(resultobj,o);
1114 }
1115 return resultobj;
1116 fail:
1117 return NULL;
1118 }
1119
1120
1121 static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject *resultobj;
1123 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1124 double *arg2 = (double *) 0 ;
1125 double *arg3 = (double *) 0 ;
1126 double temp2 ;
1127 double temp3 ;
1128 PyObject * obj0 = 0 ;
1129 char *kwnames[] = {
1130 (char *) "self", NULL
1131 };
1132
1133 arg2 = &temp2;
1134 arg3 = &temp3;
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1137 {
1138 PyThreadState* __tstate = wxPyBeginAllowThreads();
1139 (arg1)->GetPosition(arg2,arg3);
1140
1141 wxPyEndAllowThreads(__tstate);
1142 if (PyErr_Occurred()) SWIG_fail;
1143 }
1144 Py_INCREF(Py_None); resultobj = Py_None;
1145 {
1146 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1147 resultobj = t_output_helper(resultobj,o);
1148 }
1149 {
1150 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1151 resultobj = t_output_helper(resultobj,o);
1152 }
1153 return resultobj;
1154 fail:
1155 return NULL;
1156 }
1157
1158
1159 static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1162 int result;
1163 PyObject * obj0 = 0 ;
1164 char *kwnames[] = {
1165 (char *) "self", NULL
1166 };
1167
1168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1170 {
1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
1172 result = (int)(arg1)->GetFormatMode();
1173
1174 wxPyEndAllowThreads(__tstate);
1175 if (PyErr_Occurred()) SWIG_fail;
1176 }
1177 resultobj = PyInt_FromLong((long)result);
1178 return resultobj;
1179 fail:
1180 return NULL;
1181 }
1182
1183
1184 static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject *resultobj;
1186 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1187 wxString result;
1188 PyObject * obj0 = 0 ;
1189 char *kwnames[] = {
1190 (char *) "self", NULL
1191 };
1192
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1195 {
1196 PyThreadState* __tstate = wxPyBeginAllowThreads();
1197 result = (arg1)->GetName();
1198
1199 wxPyEndAllowThreads(__tstate);
1200 if (PyErr_Occurred()) SWIG_fail;
1201 }
1202 {
1203 #if wxUSE_UNICODE
1204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1205 #else
1206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1207 #endif
1208 }
1209 return resultobj;
1210 fail:
1211 return NULL;
1212 }
1213
1214
1215 static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1216 PyObject *resultobj;
1217 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1218 wxString result;
1219 PyObject * obj0 = 0 ;
1220 char *kwnames[] = {
1221 (char *) "self", NULL
1222 };
1223
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (arg1)->GetColour();
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 {
1234 #if wxUSE_UNICODE
1235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1236 #else
1237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1238 #endif
1239 }
1240 return resultobj;
1241 fail:
1242 return NULL;
1243 }
1244
1245
1246 static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject *resultobj;
1248 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1249 wxColour *result;
1250 PyObject * obj0 = 0 ;
1251 char *kwnames[] = {
1252 (char *) "self", NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (wxColour *)(arg1)->GetActualColourObject();
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
1265 return resultobj;
1266 fail:
1267 return NULL;
1268 }
1269
1270
1271 static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1274 wxList *result;
1275 PyObject * obj0 = 0 ;
1276 char *kwnames[] = {
1277 (char *) "self", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 {
1283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1284 {
1285 wxList &_result_ref = (arg1)->GetFormattedText();
1286 result = (wxList *) &_result_ref;
1287 }
1288
1289 wxPyEndAllowThreads(__tstate);
1290 if (PyErr_Occurred()) SWIG_fail;
1291 }
1292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1293 return resultobj;
1294 fail:
1295 return NULL;
1296 }
1297
1298
1299 static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject *resultobj;
1301 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1302 wxString result;
1303 PyObject * obj0 = 0 ;
1304 char *kwnames[] = {
1305 (char *) "self", NULL
1306 };
1307
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1310 {
1311 PyThreadState* __tstate = wxPyBeginAllowThreads();
1312 result = (arg1)->GetPenColour();
1313
1314 wxPyEndAllowThreads(__tstate);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 }
1317 {
1318 #if wxUSE_UNICODE
1319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1320 #else
1321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1322 #endif
1323 }
1324 return resultobj;
1325 fail:
1326 return NULL;
1327 }
1328
1329
1330 static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1331 PyObject *resultobj;
1332 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1333 int result;
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1341 {
1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
1343 result = (int)(arg1)->GetPenStyle();
1344
1345 wxPyEndAllowThreads(__tstate);
1346 if (PyErr_Occurred()) SWIG_fail;
1347 }
1348 resultobj = PyInt_FromLong((long)result);
1349 return resultobj;
1350 fail:
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1358 int arg2 ;
1359 PyObject * obj0 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "self",(char *) "style", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames,&obj0,&arg2)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 (arg1)->SetPenStyle(arg2);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1383 wxString *arg2 = 0 ;
1384 bool temp2 = false ;
1385 PyObject * obj0 = 0 ;
1386 PyObject * obj1 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "col", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 {
1394 arg2 = wxString_in_helper(obj1);
1395 if (arg2 == NULL) SWIG_fail;
1396 temp2 = true;
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->SetPenColour((wxString const &)*arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 {
1407 if (temp2)
1408 delete arg2;
1409 }
1410 return resultobj;
1411 fail:
1412 {
1413 if (temp2)
1414 delete arg2;
1415 }
1416 return NULL;
1417 }
1418
1419
1420 static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1421 PyObject *resultobj;
1422 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1423 wxPen *result;
1424 PyObject * obj0 = 0 ;
1425 char *kwnames[] = {
1426 (char *) "self", NULL
1427 };
1428
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (wxPen *)(arg1)->GetActualPen();
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1439 return resultobj;
1440 fail:
1441 return NULL;
1442 }
1443
1444
1445 static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1448 double result;
1449 PyObject * obj0 = 0 ;
1450 char *kwnames[] = {
1451 (char *) "self", NULL
1452 };
1453
1454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 result = (double)(arg1)->GetWidth();
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) SWIG_fail;
1462 }
1463 resultobj = PyFloat_FromDouble(result);
1464 return resultobj;
1465 fail:
1466 return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1473 double result;
1474 PyObject * obj0 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 result = (double)(arg1)->GetHeight();
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) SWIG_fail;
1487 }
1488 resultobj = PyFloat_FromDouble(result);
1489 return resultobj;
1490 fail:
1491 return NULL;
1492 }
1493
1494
1495 static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject *resultobj;
1497 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1498 PyObject * obj0 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self", NULL
1501 };
1502
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 {
1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
1507 (arg1)->ClearText();
1508
1509 wxPyEndAllowThreads(__tstate);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 Py_INCREF(Py_None); resultobj = Py_None;
1513 return resultobj;
1514 fail:
1515 return NULL;
1516 }
1517
1518
1519 static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1520 PyObject *obj;
1521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1522 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1523 Py_INCREF(obj);
1524 return Py_BuildValue((char *)"");
1525 }
1526 static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1529 wxPyShape *arg2 = (wxPyShape *) NULL ;
1530 wxPyShapeEvtHandler *result;
1531 PyObject * obj0 = 0 ;
1532 PyObject * obj1 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "prev",(char *) "shape", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1538 if (obj0) {
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 }
1541 if (obj1) {
1542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 }
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 {
1552 resultobj = wxPyMake_wxShapeEvtHandler(result);
1553 }
1554 return resultobj;
1555 fail:
1556 return NULL;
1557 }
1558
1559
1560 static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1563 PyObject *arg2 = (PyObject *) 0 ;
1564 PyObject *arg3 = (PyObject *) 0 ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567 PyObject * obj2 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self",(char *) "self",(char *) "_class", NULL
1570 };
1571
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1574 arg2 = obj1;
1575 arg3 = obj2;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 (arg1)->_setCallbackInfo(arg2,arg3);
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 Py_INCREF(Py_None); resultobj = Py_None;
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1593 PyObject *arg2 = (PyObject *) 0 ;
1594 PyObject * obj0 = 0 ;
1595 PyObject * obj1 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "_self", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1602 arg2 = obj1;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 Py_INCREF(Py_None); resultobj = Py_None;
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1620 wxPyShape *arg2 = (wxPyShape *) 0 ;
1621 PyObject * obj0 = 0 ;
1622 PyObject * obj1 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self",(char *) "sh", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 (arg1)->SetShape(arg2);
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 Py_INCREF(Py_None); resultobj = Py_None;
1638 return resultobj;
1639 fail:
1640 return NULL;
1641 }
1642
1643
1644 static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1645 PyObject *resultobj;
1646 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1647 wxPyShape *result;
1648 PyObject * obj0 = 0 ;
1649 char *kwnames[] = {
1650 (char *) "self", NULL
1651 };
1652
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 result = (wxPyShape *)(arg1)->GetShape();
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 {
1663 resultobj = wxPyMake_wxShapeEvtHandler(result);
1664 }
1665 return resultobj;
1666 fail:
1667 return NULL;
1668 }
1669
1670
1671 static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject *resultobj;
1673 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1674 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677 char *kwnames[] = {
1678 (char *) "self",(char *) "handler", NULL
1679 };
1680
1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
1682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 (arg1)->SetPreviousHandler(arg2);
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 Py_INCREF(Py_None); resultobj = Py_None;
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1701 wxPyShapeEvtHandler *result;
1702 PyObject * obj0 = 0 ;
1703 char *kwnames[] = {
1704 (char *) "self", NULL
1705 };
1706
1707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
1708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709 {
1710 PyThreadState* __tstate = wxPyBeginAllowThreads();
1711 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
1712
1713 wxPyEndAllowThreads(__tstate);
1714 if (PyErr_Occurred()) SWIG_fail;
1715 }
1716 {
1717 resultobj = wxPyMake_wxShapeEvtHandler(result);
1718 }
1719 return resultobj;
1720 fail:
1721 return NULL;
1722 }
1723
1724
1725 static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
1726 PyObject *resultobj;
1727 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1728 wxPyShapeEvtHandler *result;
1729 PyObject * obj0 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 {
1744 resultobj = wxPyMake_wxShapeEvtHandler(result);
1745 }
1746 return resultobj;
1747 fail:
1748 return NULL;
1749 }
1750
1751
1752 static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1755 PyObject * obj0 = 0 ;
1756 char *kwnames[] = {
1757 (char *) "self", NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
1761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->base_OnDelete();
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 return resultobj;
1771 fail:
1772 return NULL;
1773 }
1774
1775
1776 static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1779 wxDC *arg2 = 0 ;
1780 PyObject * obj0 = 0 ;
1781 PyObject * obj1 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self",(char *) "dc", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 if (arg2 == NULL) {
1790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1791 }
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 (arg1)->base_OnDraw(*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_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject *resultobj;
1808 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1809 wxDC *arg2 = 0 ;
1810 PyObject * obj0 = 0 ;
1811 PyObject * obj1 = 0 ;
1812 char *kwnames[] = {
1813 (char *) "self",(char *) "dc", NULL
1814 };
1815
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
1817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1819 if (arg2 == NULL) {
1820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1821 }
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 (arg1)->base_OnDrawContents(*arg2);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 Py_INCREF(Py_None); resultobj = Py_None;
1830 return resultobj;
1831 fail:
1832 return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1837 PyObject *resultobj;
1838 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1839 wxDC *arg2 = 0 ;
1840 bool arg3 = (bool) FALSE ;
1841 PyObject * obj0 = 0 ;
1842 PyObject * obj1 = 0 ;
1843 PyObject * obj2 = 0 ;
1844 char *kwnames[] = {
1845 (char *) "self",(char *) "dc",(char *) "erase", NULL
1846 };
1847
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
1849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1851 if (arg2 == NULL) {
1852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1853 }
1854 if (obj2) {
1855 arg3 = PyInt_AsLong(obj2) ? true : false;
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->base_OnDrawBranches(*arg2,arg3);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1875 wxDC *arg2 = 0 ;
1876 PyObject * obj0 = 0 ;
1877 PyObject * obj1 = 0 ;
1878 char *kwnames[] = {
1879 (char *) "self",(char *) "dc", NULL
1880 };
1881
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885 if (arg2 == NULL) {
1886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1887 }
1888 {
1889 PyThreadState* __tstate = wxPyBeginAllowThreads();
1890 (arg1)->base_OnMoveLinks(*arg2);
1891
1892 wxPyEndAllowThreads(__tstate);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 }
1895 Py_INCREF(Py_None); resultobj = Py_None;
1896 return resultobj;
1897 fail:
1898 return NULL;
1899 }
1900
1901
1902 static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject *resultobj;
1904 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1905 wxDC *arg2 = 0 ;
1906 PyObject * obj0 = 0 ;
1907 PyObject * obj1 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self",(char *) "dc", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1915 if (arg2 == NULL) {
1916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1917 }
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 (arg1)->base_OnErase(*arg2);
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 Py_INCREF(Py_None); resultobj = Py_None;
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1935 wxDC *arg2 = 0 ;
1936 PyObject * obj0 = 0 ;
1937 PyObject * obj1 = 0 ;
1938 char *kwnames[] = {
1939 (char *) "self",(char *) "dc", NULL
1940 };
1941
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1945 if (arg2 == NULL) {
1946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1947 }
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 (arg1)->base_OnEraseContents(*arg2);
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 Py_INCREF(Py_None); resultobj = Py_None;
1956 return resultobj;
1957 fail:
1958 return NULL;
1959 }
1960
1961
1962 static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
1963 PyObject *resultobj;
1964 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1965 wxDC *arg2 = 0 ;
1966 PyObject * obj0 = 0 ;
1967 PyObject * obj1 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self",(char *) "dc", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
1973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 if (arg2 == NULL) {
1976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1977 }
1978 {
1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
1980 (arg1)->base_OnHighlight(*arg2);
1981
1982 wxPyEndAllowThreads(__tstate);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 Py_INCREF(Py_None); resultobj = Py_None;
1986 return resultobj;
1987 fail:
1988 return NULL;
1989 }
1990
1991
1992 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject *resultobj;
1994 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1995 double arg2 ;
1996 double arg3 ;
1997 int arg4 = (int) 0 ;
1998 int arg5 = (int) 0 ;
1999 PyObject * obj0 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 Py_INCREF(Py_None); resultobj = Py_None;
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2023 double arg2 ;
2024 double arg3 ;
2025 int arg4 = (int) 0 ;
2026 int arg5 = (int) 0 ;
2027 PyObject * obj0 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 }
2041 Py_INCREF(Py_None); resultobj = Py_None;
2042 return resultobj;
2043 fail:
2044 return NULL;
2045 }
2046
2047
2048 static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject *resultobj;
2050 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2051 double arg2 ;
2052 double arg3 ;
2053 int arg4 = (int) 0 ;
2054 int arg5 = (int) 0 ;
2055 PyObject * obj0 = 0 ;
2056 char *kwnames[] = {
2057 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2058 };
2059
2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 return resultobj;
2071 fail:
2072 return NULL;
2073 }
2074
2075
2076 static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject *resultobj;
2078 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2079 double arg2 ;
2080 double arg3 ;
2081 PyObject * obj0 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self",(char *) "x",(char *) "y", NULL
2084 };
2085
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 (arg1)->base_OnSize(arg2,arg3);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 Py_INCREF(Py_None); resultobj = Py_None;
2096 return resultobj;
2097 fail:
2098 return NULL;
2099 }
2100
2101
2102 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject *resultobj;
2104 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2105 wxDC *arg2 = 0 ;
2106 double arg3 ;
2107 double arg4 ;
2108 double arg5 ;
2109 double arg6 ;
2110 bool arg7 = (bool) TRUE ;
2111 bool result;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114 PyObject * obj6 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2122 if (arg2 == NULL) {
2123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2124 }
2125 if (obj6) {
2126 arg7 = PyInt_AsLong(obj6) ? true : false;
2127 if (PyErr_Occurred()) SWIG_fail;
2128 }
2129 {
2130 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2132
2133 wxPyEndAllowThreads(__tstate);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
2136 resultobj = PyInt_FromLong((long)result);
2137 return resultobj;
2138 fail:
2139 return NULL;
2140 }
2141
2142
2143 static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject *resultobj;
2145 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2146 wxDC *arg2 = 0 ;
2147 double arg3 ;
2148 double arg4 ;
2149 double arg5 ;
2150 double arg6 ;
2151 bool arg7 = (bool) TRUE ;
2152 PyObject * obj0 = 0 ;
2153 PyObject * obj1 = 0 ;
2154 PyObject * obj6 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2162 if (arg2 == NULL) {
2163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2164 }
2165 if (obj6) {
2166 arg7 = PyInt_AsLong(obj6) ? true : false;
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 return resultobj;
2178 fail:
2179 return NULL;
2180 }
2181
2182
2183 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2186 bool arg2 ;
2187 double arg3 ;
2188 double arg4 ;
2189 int arg5 = (int) 0 ;
2190 int arg6 = (int) 0 ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj1 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 arg2 = PyInt_AsLong(obj1) ? true : false;
2200 if (PyErr_Occurred()) SWIG_fail;
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 Py_INCREF(Py_None); resultobj = Py_None;
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2218 double arg2 ;
2219 double arg3 ;
2220 int arg4 = (int) 0 ;
2221 int arg5 = (int) 0 ;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 Py_INCREF(Py_None); resultobj = Py_None;
2237 return resultobj;
2238 fail:
2239 return NULL;
2240 }
2241
2242
2243 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2246 double arg2 ;
2247 double arg3 ;
2248 int arg4 = (int) 0 ;
2249 int arg5 = (int) 0 ;
2250 PyObject * obj0 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 Py_INCREF(Py_None); resultobj = Py_None;
2265 return resultobj;
2266 fail:
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2274 bool arg2 ;
2275 double arg3 ;
2276 double arg4 ;
2277 int arg5 = (int) 0 ;
2278 int arg6 = (int) 0 ;
2279 PyObject * obj0 = 0 ;
2280 PyObject * obj1 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2287 arg2 = PyInt_AsLong(obj1) ? true : false;
2288 if (PyErr_Occurred()) SWIG_fail;
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 Py_INCREF(Py_None); resultobj = Py_None;
2297 return resultobj;
2298 fail:
2299 return NULL;
2300 }
2301
2302
2303 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject *resultobj;
2305 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2306 double arg2 ;
2307 double arg3 ;
2308 int arg4 = (int) 0 ;
2309 int arg5 = (int) 0 ;
2310 PyObject * obj0 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2334 double arg2 ;
2335 double arg3 ;
2336 int arg4 = (int) 0 ;
2337 int arg5 = (int) 0 ;
2338 PyObject * obj0 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 Py_INCREF(Py_None); resultobj = Py_None;
2353 return resultobj;
2354 fail:
2355 return NULL;
2356 }
2357
2358
2359 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2360 PyObject *resultobj;
2361 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2362 wxDC *arg2 = 0 ;
2363 double arg3 ;
2364 double arg4 ;
2365 double arg5 ;
2366 double arg6 ;
2367 PyObject * obj0 = 0 ;
2368 PyObject * obj1 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2376 if (arg2 == NULL) {
2377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2378 }
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 Py_INCREF(Py_None); resultobj = Py_None;
2387 return resultobj;
2388 fail:
2389 return NULL;
2390 }
2391
2392
2393 static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2396 wxDC *arg2 = 0 ;
2397 PyObject * obj0 = 0 ;
2398 PyObject * obj1 = 0 ;
2399 char *kwnames[] = {
2400 (char *) "self",(char *) "dc", NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2406 if (arg2 == NULL) {
2407 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 (arg1)->base_OnDrawControlPoints(*arg2);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 Py_INCREF(Py_None); resultobj = Py_None;
2417 return resultobj;
2418 fail:
2419 return NULL;
2420 }
2421
2422
2423 static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2426 wxDC *arg2 = 0 ;
2427 PyObject * obj0 = 0 ;
2428 PyObject * obj1 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "dc", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2436 if (arg2 == NULL) {
2437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2438 }
2439 {
2440 PyThreadState* __tstate = wxPyBeginAllowThreads();
2441 (arg1)->base_OnEraseControlPoints(*arg2);
2442
2443 wxPyEndAllowThreads(__tstate);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 Py_INCREF(Py_None); resultobj = Py_None;
2447 return resultobj;
2448 fail:
2449 return NULL;
2450 }
2451
2452
2453 static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2456 wxDC *arg2 = 0 ;
2457 bool arg3 = (bool) TRUE ;
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
2460 PyObject * obj2 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 if (arg2 == NULL) {
2469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2470 }
2471 if (obj2) {
2472 arg3 = PyInt_AsLong(obj2) ? true : false;
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 (arg1)->base_OnMoveLink(*arg2,arg3);
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 Py_INCREF(Py_None); resultobj = Py_None;
2483 return resultobj;
2484 fail:
2485 return NULL;
2486 }
2487
2488
2489 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2490 PyObject *resultobj;
2491 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2492 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2493 bool arg3 ;
2494 double arg4 ;
2495 double arg5 ;
2496 int arg6 = (int) 0 ;
2497 int arg7 = (int) 0 ;
2498 PyObject * obj0 = 0 ;
2499 PyObject * obj1 = 0 ;
2500 PyObject * obj2 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 arg3 = PyInt_AsLong(obj2) ? true : false;
2509 if (PyErr_Occurred()) SWIG_fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2527 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2528 double arg3 ;
2529 double arg4 ;
2530 int arg5 = (int) 0 ;
2531 int arg6 = (int) 0 ;
2532 PyObject * obj0 = 0 ;
2533 PyObject * obj1 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->base_OnSizingBeginDragLeft(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_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2558 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
2559 double arg3 ;
2560 double arg4 ;
2561 int arg5 = (int) 0 ;
2562 int arg6 = (int) 0 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 Py_INCREF(Py_None); resultobj = Py_None;
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2589 double arg2 ;
2590 double arg3 ;
2591 PyObject * obj0 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "w",(char *) "h", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->base_OnBeginSize(arg2,arg3);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2615 double arg2 ;
2616 double arg3 ;
2617 PyObject * obj0 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "w",(char *) "h", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 (arg1)->base_OnEndSize(arg2,arg3);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 }
2631 Py_INCREF(Py_None); resultobj = Py_None;
2632 return resultobj;
2633 fail:
2634 return NULL;
2635 }
2636
2637
2638 static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
2639 PyObject *obj;
2640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2641 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
2642 Py_INCREF(obj);
2643 return Py_BuildValue((char *)"");
2644 }
2645 static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2646 PyObject *resultobj;
2647 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
2648 wxPyShape *result;
2649 PyObject * obj0 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "can", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
2655 if (obj0) {
2656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2657 }
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 result = (wxPyShape *)new wxPyShape(arg1);
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 {
2666 resultobj = wxPyMake_wxShapeEvtHandler(result);
2667 }
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxPyShape *arg1 = (wxPyShape *) 0 ;
2677 PyObject *arg2 = (PyObject *) 0 ;
2678 PyObject *arg3 = (PyObject *) 0 ;
2679 PyObject * obj0 = 0 ;
2680 PyObject * obj1 = 0 ;
2681 PyObject * obj2 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self",(char *) "self",(char *) "_class", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2688 arg2 = obj1;
2689 arg3 = obj2;
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 (arg1)->_setCallbackInfo(arg2,arg3);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 Py_INCREF(Py_None); resultobj = Py_None;
2698 return resultobj;
2699 fail:
2700 return NULL;
2701 }
2702
2703
2704 static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
2705 PyObject *resultobj;
2706 wxPyShape *arg1 = (wxPyShape *) 0 ;
2707 double *arg2 = (double *) 0 ;
2708 double *arg3 = (double *) 0 ;
2709 double temp2 ;
2710 double temp3 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 arg2 = &temp2;
2717 arg3 = &temp3;
2718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 {
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 (arg1)->GetBoundingBoxMax(arg2,arg3);
2723
2724 wxPyEndAllowThreads(__tstate);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 }
2727 Py_INCREF(Py_None); resultobj = Py_None;
2728 {
2729 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2730 resultobj = t_output_helper(resultobj,o);
2731 }
2732 {
2733 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2734 resultobj = t_output_helper(resultobj,o);
2735 }
2736 return resultobj;
2737 fail:
2738 return NULL;
2739 }
2740
2741
2742 static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject *resultobj;
2744 wxPyShape *arg1 = (wxPyShape *) 0 ;
2745 double *arg2 = (double *) 0 ;
2746 double *arg3 = (double *) 0 ;
2747 double temp2 ;
2748 double temp3 ;
2749 PyObject * obj0 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self", NULL
2752 };
2753
2754 arg2 = &temp2;
2755 arg3 = &temp3;
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 (arg1)->GetBoundingBoxMin(arg2,arg3);
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 Py_INCREF(Py_None); resultobj = Py_None;
2766 {
2767 PyObject *o = PyFloat_FromDouble((double) (*arg2));
2768 resultobj = t_output_helper(resultobj,o);
2769 }
2770 {
2771 PyObject *o = PyFloat_FromDouble((double) (*arg3));
2772 resultobj = t_output_helper(resultobj,o);
2773 }
2774 return resultobj;
2775 fail:
2776 return NULL;
2777 }
2778
2779
2780 static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxPyShape *arg1 = (wxPyShape *) 0 ;
2783 double arg2 ;
2784 double arg3 ;
2785 double arg4 ;
2786 double arg5 ;
2787 double *arg6 = (double *) 0 ;
2788 double *arg7 = (double *) 0 ;
2789 bool result;
2790 double temp6 ;
2791 double temp7 ;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2795 };
2796
2797 arg6 = &temp6;
2798 arg7 = &temp7;
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 resultobj = PyInt_FromLong((long)result);
2809 {
2810 PyObject *o = PyFloat_FromDouble((double) (*arg6));
2811 resultobj = t_output_helper(resultobj,o);
2812 }
2813 {
2814 PyObject *o = PyFloat_FromDouble((double) (*arg7));
2815 resultobj = t_output_helper(resultobj,o);
2816 }
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxPyShape *arg1 = (wxPyShape *) 0 ;
2826 wxPyShapeCanvas *result;
2827 PyObject * obj0 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "self", NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2834 {
2835 PyThreadState* __tstate = wxPyBeginAllowThreads();
2836 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
2837
2838 wxPyEndAllowThreads(__tstate);
2839 if (PyErr_Occurred()) SWIG_fail;
2840 }
2841 {
2842 resultobj = wxPyMake_wxObject(result);
2843 }
2844 return resultobj;
2845 fail:
2846 return NULL;
2847 }
2848
2849
2850 static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject *resultobj;
2852 wxPyShape *arg1 = (wxPyShape *) 0 ;
2853 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2854 PyObject * obj0 = 0 ;
2855 PyObject * obj1 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "self",(char *) "the_canvas", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 (arg1)->SetCanvas(arg2);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 Py_INCREF(Py_None); resultobj = Py_None;
2871 return resultobj;
2872 fail:
2873 return NULL;
2874 }
2875
2876
2877 static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxPyShape *arg1 = (wxPyShape *) 0 ;
2880 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2881 wxPyShape *arg3 = (wxPyShape *) NULL ;
2882 PyObject * obj0 = 0 ;
2883 PyObject * obj1 = 0 ;
2884 PyObject * obj2 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 if (obj2) {
2893 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2894 }
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 (arg1)->AddToCanvas(arg2,arg3);
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) SWIG_fail;
2901 }
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxPyShape *arg1 = (wxPyShape *) 0 ;
2912 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2913 PyObject * obj0 = 0 ;
2914 PyObject * obj1 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self",(char *) "the_canvas", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 (arg1)->InsertInCanvas(arg2);
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 Py_INCREF(Py_None); resultobj = Py_None;
2930 return resultobj;
2931 fail:
2932 return NULL;
2933 }
2934
2935
2936 static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject *resultobj;
2938 wxPyShape *arg1 = (wxPyShape *) 0 ;
2939 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
2940 PyObject * obj0 = 0 ;
2941 PyObject * obj1 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "the_canvas", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->RemoveFromCanvas(arg2);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxPyShape *arg1 = (wxPyShape *) 0 ;
2966 double result;
2967 PyObject * obj0 = 0 ;
2968 char *kwnames[] = {
2969 (char *) "self", NULL
2970 };
2971
2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2974 {
2975 PyThreadState* __tstate = wxPyBeginAllowThreads();
2976 result = (double)(arg1)->GetX();
2977
2978 wxPyEndAllowThreads(__tstate);
2979 if (PyErr_Occurred()) SWIG_fail;
2980 }
2981 resultobj = PyFloat_FromDouble(result);
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxPyShape *arg1 = (wxPyShape *) 0 ;
2991 double result;
2992 PyObject * obj0 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 result = (double)(arg1)->GetY();
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 resultobj = PyFloat_FromDouble(result);
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxPyShape *arg1 = (wxPyShape *) 0 ;
3016 double arg2 ;
3017 PyObject * obj0 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "x", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetX",kwnames,&obj0,&arg2)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->SetX(arg2);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxPyShape *arg1 = (wxPyShape *) 0 ;
3041 double arg2 ;
3042 PyObject * obj0 = 0 ;
3043 char *kwnames[] = {
3044 (char *) "self",(char *) "y", NULL
3045 };
3046
3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyShape_SetY",kwnames,&obj0,&arg2)) goto fail;
3048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3049 {
3050 PyThreadState* __tstate = wxPyBeginAllowThreads();
3051 (arg1)->SetY(arg2);
3052
3053 wxPyEndAllowThreads(__tstate);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 }
3056 Py_INCREF(Py_None); resultobj = Py_None;
3057 return resultobj;
3058 fail:
3059 return NULL;
3060 }
3061
3062
3063 static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject *resultobj;
3065 wxPyShape *arg1 = (wxPyShape *) 0 ;
3066 wxPyShape *result;
3067 PyObject * obj0 = 0 ;
3068 char *kwnames[] = {
3069 (char *) "self", NULL
3070 };
3071
3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = (wxPyShape *)(arg1)->GetParent();
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082 resultobj = wxPyMake_wxShapeEvtHandler(result);
3083 }
3084 return resultobj;
3085 fail:
3086 return NULL;
3087 }
3088
3089
3090 static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj;
3092 wxPyShape *arg1 = (wxPyShape *) 0 ;
3093 wxPyShape *arg2 = (wxPyShape *) 0 ;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "p", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3103 {
3104 PyThreadState* __tstate = wxPyBeginAllowThreads();
3105 (arg1)->SetParent(arg2);
3106
3107 wxPyEndAllowThreads(__tstate);
3108 if (PyErr_Occurred()) SWIG_fail;
3109 }
3110 Py_INCREF(Py_None); resultobj = Py_None;
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxPyShape *arg1 = (wxPyShape *) 0 ;
3120 wxPyShape *result;
3121 PyObject * obj0 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 result = (wxPyShape *)(arg1)->GetTopAncestor();
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 {
3136 resultobj = wxPyMake_wxShapeEvtHandler(result);
3137 }
3138 return resultobj;
3139 fail:
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxPyShape *arg1 = (wxPyShape *) 0 ;
3147 PyObject *result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 result = (PyObject *)wxPyShape_GetChildren(arg1);
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
3162 resultobj = result;
3163 return resultobj;
3164 fail:
3165 return NULL;
3166 }
3167
3168
3169 static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3170 PyObject *resultobj;
3171 wxPyShape *arg1 = (wxPyShape *) 0 ;
3172 PyObject * obj0 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "self", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3179 {
3180 PyThreadState* __tstate = wxPyBeginAllowThreads();
3181 (arg1)->Unlink();
3182
3183 wxPyEndAllowThreads(__tstate);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 Py_INCREF(Py_None); resultobj = Py_None;
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxPyShape *arg1 = (wxPyShape *) 0 ;
3196 bool arg2 ;
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 char *kwnames[] = {
3200 (char *) "self",(char *) "drawH", NULL
3201 };
3202
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3205 arg2 = PyInt_AsLong(obj1) ? true : false;
3206 if (PyErr_Occurred()) SWIG_fail;
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->SetDrawHandles(arg2);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxPyShape *arg1 = (wxPyShape *) 0 ;
3224 bool result;
3225 PyObject * obj0 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 result = (bool)(arg1)->GetDrawHandles();
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 resultobj = PyInt_FromLong((long)result);
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxPyShape *arg1 = (wxPyShape *) 0 ;
3249 PyObject * obj0 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 (arg1)->MakeControlPoints();
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 Py_INCREF(Py_None); resultobj = Py_None;
3264 return resultobj;
3265 fail:
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxPyShape *arg1 = (wxPyShape *) 0 ;
3273 wxDC *arg2 = (wxDC *) NULL ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "dc", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 if (obj1) {
3283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3284 }
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 (arg1)->DeleteControlPoints(arg2);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 Py_INCREF(Py_None); resultobj = Py_None;
3293 return resultobj;
3294 fail:
3295 return NULL;
3296 }
3297
3298
3299 static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxPyShape *arg1 = (wxPyShape *) 0 ;
3302 PyObject * obj0 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "self", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
3308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->ResetControlPoints();
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxPyShape *arg1 = (wxPyShape *) 0 ;
3326 wxPyShapeEvtHandler *result;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
3333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 {
3342 resultobj = wxPyMake_wxShapeEvtHandler(result);
3343 }
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxPyShape *arg1 = (wxPyShape *) 0 ;
3353 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self",(char *) "handler", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 (arg1)->SetEventHandler(arg2);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 Py_INCREF(Py_None); resultobj = Py_None;
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxPyShape *arg1 = (wxPyShape *) 0 ;
3380 PyObject * obj0 = 0 ;
3381 char *kwnames[] = {
3382 (char *) "self", NULL
3383 };
3384
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
3386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 (arg1)->MakeMandatoryControlPoints();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 Py_INCREF(Py_None); resultobj = Py_None;
3395 return resultobj;
3396 fail:
3397 return NULL;
3398 }
3399
3400
3401 static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3402 PyObject *resultobj;
3403 wxPyShape *arg1 = (wxPyShape *) 0 ;
3404 PyObject * obj0 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->ResetMandatoryControlPoints();
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxPyShape *arg1 = (wxPyShape *) 0 ;
3428 bool result;
3429 PyObject * obj0 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (bool)(arg1)->Recompute();
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 resultobj = PyInt_FromLong((long)result);
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxPyShape *arg1 = (wxPyShape *) 0 ;
3453 PyObject * obj0 = 0 ;
3454 char *kwnames[] = {
3455 (char *) "self", NULL
3456 };
3457
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
3459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 (arg1)->CalculateSize();
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 Py_INCREF(Py_None); resultobj = Py_None;
3468 return resultobj;
3469 fail:
3470 return NULL;
3471 }
3472
3473
3474 static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj;
3476 wxPyShape *arg1 = (wxPyShape *) 0 ;
3477 bool arg2 = (bool) TRUE ;
3478 wxDC *arg3 = (wxDC *) NULL ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 PyObject * obj2 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self",(char *) "select",(char *) "dc", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3488 if (obj1) {
3489 arg2 = PyInt_AsLong(obj1) ? true : false;
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 if (obj2) {
3493 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3494 }
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 (arg1)->Select(arg2,arg3);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
3503 return resultobj;
3504 fail:
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxPyShape *arg1 = (wxPyShape *) 0 ;
3512 bool arg2 = (bool) TRUE ;
3513 bool arg3 = (bool) FALSE ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3516 PyObject * obj2 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
3522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3523 if (obj1) {
3524 arg2 = PyInt_AsLong(obj1) ? true : false;
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 if (obj2) {
3528 arg3 = PyInt_AsLong(obj2) ? true : false;
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 (arg1)->SetHighlight(arg2,arg3);
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 Py_INCREF(Py_None); resultobj = Py_None;
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxPyShape *arg1 = (wxPyShape *) 0 ;
3548 bool result;
3549 PyObject * obj0 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = (bool)(arg1)->IsHighlighted();
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 resultobj = PyInt_FromLong((long)result);
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxPyShape *arg1 = (wxPyShape *) 0 ;
3573 bool result;
3574 PyObject * obj0 = 0 ;
3575 char *kwnames[] = {
3576 (char *) "self", NULL
3577 };
3578
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
3580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (bool)(arg1)->Selected();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 resultobj = PyInt_FromLong((long)result);
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxPyShape *arg1 = (wxPyShape *) 0 ;
3598 bool result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (bool)(arg1)->AncestorSelected();
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 resultobj = PyInt_FromLong((long)result);
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxPyShape *arg1 = (wxPyShape *) 0 ;
3623 int arg2 = (int) OP_ALL ;
3624 bool arg3 = (bool) FALSE ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj2 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3629 };
3630
3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames,&obj0,&arg2,&obj2)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 if (obj2) {
3634 arg3 = PyInt_AsLong(obj2) ? true : false;
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 {
3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
3639 (arg1)->SetSensitivityFilter(arg2,arg3);
3640
3641 wxPyEndAllowThreads(__tstate);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 }
3644 Py_INCREF(Py_None); resultobj = Py_None;
3645 return resultobj;
3646 fail:
3647 return NULL;
3648 }
3649
3650
3651 static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj;
3653 wxPyShape *arg1 = (wxPyShape *) 0 ;
3654 int result;
3655 PyObject * obj0 = 0 ;
3656 char *kwnames[] = {
3657 (char *) "self", NULL
3658 };
3659
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
3661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = (int)(arg1)->GetSensitivityFilter();
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 resultobj = PyInt_FromLong((long)result);
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxPyShape *arg1 = (wxPyShape *) 0 ;
3679 bool arg2 ;
3680 bool arg3 = (bool) FALSE ;
3681 PyObject * obj0 = 0 ;
3682 PyObject * obj1 = 0 ;
3683 PyObject * obj2 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3690 arg2 = PyInt_AsLong(obj1) ? true : false;
3691 if (PyErr_Occurred()) SWIG_fail;
3692 if (obj2) {
3693 arg3 = PyInt_AsLong(obj2) ? true : false;
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->SetDraggable(arg2,arg3);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 return resultobj;
3705 fail:
3706 return NULL;
3707 }
3708
3709
3710 static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxPyShape *arg1 = (wxPyShape *) 0 ;
3713 bool arg2 ;
3714 bool arg3 ;
3715 PyObject * obj0 = 0 ;
3716 PyObject * obj1 = 0 ;
3717 PyObject * obj2 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "x",(char *) "y", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 arg2 = PyInt_AsLong(obj1) ? true : false;
3725 if (PyErr_Occurred()) SWIG_fail;
3726 arg3 = PyInt_AsLong(obj2) ? true : false;
3727 if (PyErr_Occurred()) SWIG_fail;
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 (arg1)->SetFixedSize(arg2,arg3);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 Py_INCREF(Py_None); resultobj = Py_None;
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxPyShape *arg1 = (wxPyShape *) 0 ;
3745 bool *arg2 = (bool *) 0 ;
3746 bool *arg3 = (bool *) 0 ;
3747 bool temp2 ;
3748 bool temp3 ;
3749 PyObject * obj0 = 0 ;
3750 char *kwnames[] = {
3751 (char *) "self", NULL
3752 };
3753
3754 arg2 = &temp2;
3755 arg3 = &temp3;
3756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
3757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 (arg1)->GetFixedSize(arg2,arg3);
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 Py_INCREF(Py_None); resultobj = Py_None;
3766 {
3767 PyObject *o = PyInt_FromLong((long) (*arg2));
3768 resultobj = t_output_helper(resultobj,o);
3769 }
3770 {
3771 PyObject *o = PyInt_FromLong((long) (*arg3));
3772 resultobj = t_output_helper(resultobj,o);
3773 }
3774 return resultobj;
3775 fail:
3776 return NULL;
3777 }
3778
3779
3780 static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 wxPyShape *arg1 = (wxPyShape *) 0 ;
3783 bool result;
3784 PyObject * obj0 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 result = (bool)(arg1)->GetFixedWidth();
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 resultobj = PyInt_FromLong((long)result);
3799 return resultobj;
3800 fail:
3801 return NULL;
3802 }
3803
3804
3805 static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject *resultobj;
3807 wxPyShape *arg1 = (wxPyShape *) 0 ;
3808 bool result;
3809 PyObject * obj0 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (bool)(arg1)->GetFixedHeight();
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 resultobj = PyInt_FromLong((long)result);
3824 return resultobj;
3825 fail:
3826 return NULL;
3827 }
3828
3829
3830 static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 wxPyShape *arg1 = (wxPyShape *) 0 ;
3833 bool arg2 ;
3834 PyObject * obj0 = 0 ;
3835 PyObject * obj1 = 0 ;
3836 char *kwnames[] = {
3837 (char *) "self",(char *) "sp", NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
3841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3842 arg2 = PyInt_AsLong(obj1) ? true : false;
3843 if (PyErr_Occurred()) SWIG_fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 (arg1)->SetSpaceAttachments(arg2);
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 Py_INCREF(Py_None); resultobj = Py_None;
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxPyShape *arg1 = (wxPyShape *) 0 ;
3861 bool result;
3862 PyObject * obj0 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (bool)(arg1)->GetSpaceAttachments();
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 resultobj = PyInt_FromLong((long)result);
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxPyShape *arg1 = (wxPyShape *) 0 ;
3886 int arg2 ;
3887 bool arg3 = (bool) FALSE ;
3888 PyObject * obj0 = 0 ;
3889 PyObject * obj2 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:PyShape_SetShadowMode",kwnames,&obj0,&arg2,&obj2)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3896 if (obj2) {
3897 arg3 = PyInt_AsLong(obj2) ? true : false;
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetShadowMode(arg2,arg3);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxPyShape *arg1 = (wxPyShape *) 0 ;
3917 int result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 result = (int)(arg1)->GetShadowMode();
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 resultobj = PyInt_FromLong((long)result);
3933 return resultobj;
3934 fail:
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxPyShape *arg1 = (wxPyShape *) 0 ;
3942 double arg2 ;
3943 double arg3 ;
3944 int *arg4 = (int *) 0 ;
3945 double *arg5 = (double *) 0 ;
3946 bool result;
3947 int temp4 ;
3948 double temp5 ;
3949 PyObject * obj0 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "self",(char *) "x",(char *) "y", NULL
3952 };
3953
3954 arg4 = &temp4;
3955 arg5 = &temp5;
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_HitTest",kwnames,&obj0,&arg2,&arg3)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 resultobj = PyInt_FromLong((long)result);
3966 {
3967 PyObject *o = PyInt_FromLong((long) (*arg4));
3968 resultobj = t_output_helper(resultobj,o);
3969 }
3970 {
3971 PyObject *o = PyFloat_FromDouble((double) (*arg5));
3972 resultobj = t_output_helper(resultobj,o);
3973 }
3974 return resultobj;
3975 fail:
3976 return NULL;
3977 }
3978
3979
3980 static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxPyShape *arg1 = (wxPyShape *) 0 ;
3983 bool arg2 ;
3984 PyObject * obj0 = 0 ;
3985 PyObject * obj1 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "self",(char *) "cr", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3992 arg2 = PyInt_AsLong(obj1) ? true : false;
3993 if (PyErr_Occurred()) SWIG_fail;
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->SetCentreResize(arg2);
3997
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 Py_INCREF(Py_None); resultobj = Py_None;
4002 return resultobj;
4003 fail:
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxPyShape *arg1 = (wxPyShape *) 0 ;
4011 bool result;
4012 PyObject * obj0 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "self", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = (bool)(arg1)->GetCentreResize();
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 resultobj = PyInt_FromLong((long)result);
4027 return resultobj;
4028 fail:
4029 return NULL;
4030 }
4031
4032
4033 static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj;
4035 wxPyShape *arg1 = (wxPyShape *) 0 ;
4036 bool arg2 ;
4037 PyObject * obj0 = 0 ;
4038 PyObject * obj1 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "ar", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4045 arg2 = PyInt_AsLong(obj1) ? true : false;
4046 if (PyErr_Occurred()) SWIG_fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->SetMaintainAspectRatio(arg2);
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxPyShape *arg1 = (wxPyShape *) 0 ;
4064 bool result;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (bool)(arg1)->GetMaintainAspectRatio();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = PyInt_FromLong((long)result);
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxPyShape *arg1 = (wxPyShape *) 0 ;
4089 PyObject *result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (PyObject *)wxPyShape_GetLines(arg1);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = result;
4105 return resultobj;
4106 fail:
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxPyShape *arg1 = (wxPyShape *) 0 ;
4114 bool arg2 ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self",(char *) "flag", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 arg2 = PyInt_AsLong(obj1) ? true : false;
4124 if (PyErr_Occurred()) SWIG_fail;
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 (arg1)->SetDisableLabel(arg2);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 Py_INCREF(Py_None); resultobj = Py_None;
4133 return resultobj;
4134 fail:
4135 return NULL;
4136 }
4137
4138
4139 static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxPyShape *arg1 = (wxPyShape *) 0 ;
4142 bool result;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (bool)(arg1)->GetDisableLabel();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = PyInt_FromLong((long)result);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxPyShape *arg1 = (wxPyShape *) 0 ;
4167 int arg2 ;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self",(char *) "mode", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetAttachmentMode",kwnames,&obj0,&arg2)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 (arg1)->SetAttachmentMode(arg2);
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 Py_INCREF(Py_None); resultobj = Py_None;
4183 return resultobj;
4184 fail:
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxPyShape *arg1 = (wxPyShape *) 0 ;
4192 int result;
4193 PyObject * obj0 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
4199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 result = (int)(arg1)->GetAttachmentMode();
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 resultobj = PyInt_FromLong((long)result);
4208 return resultobj;
4209 fail:
4210 return NULL;
4211 }
4212
4213
4214 static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxPyShape *arg1 = (wxPyShape *) 0 ;
4217 long arg2 ;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self",(char *) "i", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetId",kwnames,&obj0,&arg2)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->SetId(arg2);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 Py_INCREF(Py_None); resultobj = Py_None;
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxPyShape *arg1 = (wxPyShape *) 0 ;
4242 long result;
4243 PyObject * obj0 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (long)(arg1)->GetId();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 resultobj = PyInt_FromLong((long)result);
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxPyShape *arg1 = (wxPyShape *) 0 ;
4267 wxPen *arg2 = (wxPen *) 0 ;
4268 PyObject * obj0 = 0 ;
4269 PyObject * obj1 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self",(char *) "pen", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4276 {
4277 wxPen* temp;
4278 if (obj1) {
4279 if (obj1 == Py_None) {
4280 temp = NULL;
4281 }
4282 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
4283 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
4284 return NULL;
4285 }
4286 }
4287 if (temp)
4288 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4289 temp->GetWidth(),
4290 temp->GetStyle());
4291 else
4292 arg2 = NULL;
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 (arg1)->SetPen(arg2);
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 Py_INCREF(Py_None); resultobj = Py_None;
4302 return resultobj;
4303 fail:
4304 return NULL;
4305 }
4306
4307
4308 static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4309 PyObject *resultobj;
4310 wxPyShape *arg1 = (wxPyShape *) 0 ;
4311 wxBrush *arg2 = (wxBrush *) 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "brush", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4320 {
4321 wxBrush* temp;
4322 if (obj1) {
4323 if (obj1 == Py_None) {
4324 temp = NULL;
4325 }
4326 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
4327 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
4328 return NULL;
4329 }
4330 }
4331 if (temp)
4332 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4333 else
4334 arg2 = NULL;
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->SetBrush(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 Py_INCREF(Py_None); resultobj = Py_None;
4344 return resultobj;
4345 fail:
4346 return NULL;
4347 }
4348
4349
4350 static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxPyShape *arg1 = (wxPyShape *) 0 ;
4353 bool arg2 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "show", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
4361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4362 arg2 = PyInt_AsLong(obj1) ? true : false;
4363 if (PyErr_Occurred()) SWIG_fail;
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 (arg1)->Show(arg2);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 Py_INCREF(Py_None); resultobj = Py_None;
4372 return resultobj;
4373 fail:
4374 return NULL;
4375 }
4376
4377
4378 static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4379 PyObject *resultobj;
4380 wxPyShape *arg1 = (wxPyShape *) 0 ;
4381 bool result;
4382 PyObject * obj0 = 0 ;
4383 char *kwnames[] = {
4384 (char *) "self", NULL
4385 };
4386
4387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
4388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (bool)(arg1)->IsShown();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = PyInt_FromLong((long)result);
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 wxPyShape *arg1 = (wxPyShape *) 0 ;
4406 wxDC *arg2 = 0 ;
4407 double arg3 ;
4408 double arg4 ;
4409 bool arg5 = (bool) TRUE ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 PyObject * obj4 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|O:PyShape_Move",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4420 if (arg2 == NULL) {
4421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4422 }
4423 if (obj4) {
4424 arg5 = PyInt_AsLong(obj4) ? true : false;
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->Move(*arg2,arg3,arg4,arg5);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj;
4443 wxPyShape *arg1 = (wxPyShape *) 0 ;
4444 wxDC *arg2 = 0 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "dc", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4454 if (arg2 == NULL) {
4455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->Erase(*arg2);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 Py_INCREF(Py_None); resultobj = Py_None;
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxPyShape *arg1 = (wxPyShape *) 0 ;
4474 wxDC *arg2 = 0 ;
4475 PyObject * obj0 = 0 ;
4476 PyObject * obj1 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self",(char *) "dc", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4484 if (arg2 == NULL) {
4485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 (arg1)->EraseContents(*arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 Py_INCREF(Py_None); resultobj = Py_None;
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxPyShape *arg1 = (wxPyShape *) 0 ;
4504 wxDC *arg2 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "dc", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4514 if (arg2 == NULL) {
4515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->Draw(*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxPyShape *arg1 = (wxPyShape *) 0 ;
4534 PyObject * obj0 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
4540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->Flash();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxPyShape *arg1 = (wxPyShape *) 0 ;
4558 wxDC *arg2 = 0 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "dc", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4568 if (arg2 == NULL) {
4569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4570 }
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 (arg1)->MoveLinks(*arg2);
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 Py_INCREF(Py_None); resultobj = Py_None;
4579 return resultobj;
4580 fail:
4581 return NULL;
4582 }
4583
4584
4585 static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
4587 wxPyShape *arg1 = (wxPyShape *) 0 ;
4588 wxDC *arg2 = 0 ;
4589 PyObject * obj0 = 0 ;
4590 PyObject * obj1 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self",(char *) "dc", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 if (arg2 == NULL) {
4599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4600 }
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 (arg1)->DrawContents(*arg2);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 Py_INCREF(Py_None); resultobj = Py_None;
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxPyShape *arg1 = (wxPyShape *) 0 ;
4618 double arg2 ;
4619 double arg3 ;
4620 bool arg4 = (bool) TRUE ;
4621 PyObject * obj0 = 0 ;
4622 PyObject * obj3 = 0 ;
4623 char *kwnames[] = {
4624 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4625 };
4626
4627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|O:PyShape_SetSize",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4629 if (obj3) {
4630 arg4 = PyInt_AsLong(obj3) ? true : false;
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 (arg1)->SetSize(arg2,arg3,arg4);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644 }
4645
4646
4647 static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxPyShape *arg1 = (wxPyShape *) 0 ;
4650 double arg2 ;
4651 double arg3 ;
4652 PyObject * obj0 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self",(char *) "x",(char *) "y", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_SetAttachmentSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
4658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 (arg1)->SetAttachmentSize(arg2,arg3);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 Py_INCREF(Py_None); resultobj = Py_None;
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxPyShape *arg1 = (wxPyShape *) 0 ;
4676 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "can", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 (arg1)->Attach(arg2);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 Py_INCREF(Py_None); resultobj = Py_None;
4694 return resultobj;
4695 fail:
4696 return NULL;
4697 }
4698
4699
4700 static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4701 PyObject *resultobj;
4702 wxPyShape *arg1 = (wxPyShape *) 0 ;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 (arg1)->Detach();
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 Py_INCREF(Py_None); resultobj = Py_None;
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxPyShape *arg1 = (wxPyShape *) 0 ;
4727 bool result;
4728 PyObject * obj0 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "self", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
4734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 result = (bool)(arg1)->Constrain();
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = PyInt_FromLong((long)result);
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxPyShape *arg1 = (wxPyShape *) 0 ;
4752 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4753 wxPyShape *arg3 = (wxPyShape *) 0 ;
4754 int arg4 = (int) 0 ;
4755 int arg5 = (int) 0 ;
4756 int arg6 = (int) -1 ;
4757 int arg7 = (int) -1 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiii:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4768 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 Py_INCREF(Py_None); resultobj = Py_None;
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxPyShape *arg1 = (wxPyShape *) 0 ;
4786 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
4787 int result;
4788 PyObject * obj0 = 0 ;
4789 PyObject * obj1 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "self",(char *) "line", NULL
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
4795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (int)(arg1)->GetLinePosition(arg2);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = PyInt_FromLong((long)result);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxPyShape *arg1 = (wxPyShape *) 0 ;
4814 wxString *arg2 = 0 ;
4815 bool temp2 = false ;
4816 PyObject * obj0 = 0 ;
4817 PyObject * obj1 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self",(char *) "string", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
4823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 {
4825 arg2 = wxString_in_helper(obj1);
4826 if (arg2 == NULL) SWIG_fail;
4827 temp2 = true;
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 (arg1)->AddText((wxString const &)*arg2);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 Py_INCREF(Py_None); resultobj = Py_None;
4837 {
4838 if (temp2)
4839 delete arg2;
4840 }
4841 return resultobj;
4842 fail:
4843 {
4844 if (temp2)
4845 delete arg2;
4846 }
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxPyShape *arg1 = (wxPyShape *) 0 ;
4854 wxPen *result;
4855 PyObject * obj0 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 result = (wxPen *)(arg1)->GetPen();
4865
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) SWIG_fail;
4868 }
4869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 wxPyShape *arg1 = (wxPyShape *) 0 ;
4879 wxBrush *result;
4880 PyObject * obj0 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 result = (wxBrush *)(arg1)->GetBrush();
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxPyShape *arg1 = (wxPyShape *) 0 ;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 (arg1)->SetDefaultRegionSize();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 Py_INCREF(Py_None); resultobj = Py_None;
4919 return resultobj;
4920 fail:
4921 return NULL;
4922 }
4923
4924
4925 static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxPyShape *arg1 = (wxPyShape *) 0 ;
4928 wxDC *arg2 = 0 ;
4929 wxString *arg3 = 0 ;
4930 int arg4 = (int) 0 ;
4931 bool temp3 = false ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 PyObject * obj2 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4942 if (arg2 == NULL) {
4943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4944 }
4945 {
4946 arg3 = wxString_in_helper(obj2);
4947 if (arg3 == NULL) SWIG_fail;
4948 temp3 = true;
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 {
4959 if (temp3)
4960 delete arg3;
4961 }
4962 return resultobj;
4963 fail:
4964 {
4965 if (temp3)
4966 delete arg3;
4967 }
4968 return NULL;
4969 }
4970
4971
4972 static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4973 PyObject *resultobj;
4974 wxPyShape *arg1 = (wxPyShape *) 0 ;
4975 int arg2 ;
4976 int arg3 = (int) 0 ;
4977 PyObject * obj0 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:PyShape_SetFormatMode",kwnames,&obj0,&arg2,&arg3)) goto fail;
4983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 (arg1)->SetFormatMode(arg2,arg3);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 Py_INCREF(Py_None); resultobj = Py_None;
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxPyShape *arg1 = (wxPyShape *) 0 ;
5001 int arg2 = (int) 0 ;
5002 int result;
5003 PyObject * obj0 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "regionId", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFormatMode",kwnames,&obj0,&arg2)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (int)(arg1)->GetFormatMode(arg2);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = PyInt_FromLong((long)result);
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxPyShape *arg1 = (wxPyShape *) 0 ;
5027 wxFont *arg2 = (wxFont *) 0 ;
5028 int arg3 = (int) 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "font",(char *) "regionId", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 {
5038 wxFont* temp;
5039 if (obj1) {
5040 if (obj1 == Py_None) {
5041 temp = NULL;
5042 }
5043 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5044 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5045 return NULL;
5046 }
5047 }
5048 if (temp)
5049 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5050 temp->GetFamily(),
5051 temp->GetStyle(),
5052 temp->GetWeight(),
5053 temp->GetUnderlined(),
5054 temp->GetFaceName(),
5055 temp->GetEncoding());
5056 else
5057 arg2 = NULL;
5058 }
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->SetFont(arg2,arg3);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxPyShape *arg1 = (wxPyShape *) 0 ;
5076 int arg2 = (int) 0 ;
5077 wxFont *result;
5078 PyObject * obj0 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "regionId", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetFont",kwnames,&obj0,&arg2)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 result = (wxFont *)(arg1)->GetFont(arg2);
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxPyShape *arg1 = (wxPyShape *) 0 ;
5102 wxString *arg2 = 0 ;
5103 int arg3 = (int) 0 ;
5104 bool temp2 = false ;
5105 PyObject * obj0 = 0 ;
5106 PyObject * obj1 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetTextColour",kwnames,&obj0,&obj1,&arg3)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113 {
5114 arg2 = wxString_in_helper(obj1);
5115 if (arg2 == NULL) SWIG_fail;
5116 temp2 = true;
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 {
5127 if (temp2)
5128 delete arg2;
5129 }
5130 return resultobj;
5131 fail:
5132 {
5133 if (temp2)
5134 delete arg2;
5135 }
5136 return NULL;
5137 }
5138
5139
5140 static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj;
5142 wxPyShape *arg1 = (wxPyShape *) 0 ;
5143 int arg2 = (int) 0 ;
5144 wxString result;
5145 PyObject * obj0 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self",(char *) "regionId", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_GetTextColour",kwnames,&obj0,&arg2)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = (arg1)->GetTextColour(arg2);
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 {
5160 #if wxUSE_UNICODE
5161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5162 #else
5163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5164 #endif
5165 }
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj;
5174 wxPyShape *arg1 = (wxPyShape *) 0 ;
5175 int result;
5176 PyObject * obj0 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "self", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
5182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (int)(arg1)->GetNumberOfTextRegions();
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 resultobj = PyInt_FromLong((long)result);
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxPyShape *arg1 = (wxPyShape *) 0 ;
5200 wxString *arg2 = 0 ;
5201 int arg3 = (int) 0 ;
5202 bool temp2 = false ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "name",(char *) "regionId", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PyShape_SetRegionName",kwnames,&obj0,&obj1,&arg3)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5211 {
5212 arg2 = wxString_in_helper(obj1);
5213 if (arg2 == NULL) SWIG_fail;
5214 temp2 = true;
5215 }
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 {
5225 if (temp2)
5226 delete arg2;
5227 }
5228 return resultobj;
5229 fail:
5230 {
5231 if (temp2)
5232 delete arg2;
5233 }
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxPyShape *arg1 = (wxPyShape *) 0 ;
5241 int arg2 ;
5242 wxString result;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "regionId", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetRegionName",kwnames,&obj0,&arg2)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (arg1)->GetRegionName(arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 {
5258 #if wxUSE_UNICODE
5259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5260 #else
5261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5262 #endif
5263 }
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxPyShape *arg1 = (wxPyShape *) 0 ;
5273 wxString *arg2 = 0 ;
5274 int result;
5275 bool temp2 = false ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self",(char *) "name", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
5283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5284 {
5285 arg2 = wxString_in_helper(obj1);
5286 if (arg2 == NULL) SWIG_fail;
5287 temp2 = true;
5288 }
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = PyInt_FromLong((long)result);
5297 {
5298 if (temp2)
5299 delete arg2;
5300 }
5301 return resultobj;
5302 fail:
5303 {
5304 if (temp2)
5305 delete arg2;
5306 }
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxPyShape *arg1 = (wxPyShape *) 0 ;
5314 wxString const &arg2_defvalue = "" ;
5315 wxString *arg2 = (wxString *) &arg2_defvalue ;
5316 bool temp2 = false ;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self",(char *) "parentName", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5325 if (obj1) {
5326 {
5327 arg2 = wxString_in_helper(obj1);
5328 if (arg2 == NULL) SWIG_fail;
5329 temp2 = true;
5330 }
5331 }
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 (arg1)->NameRegions((wxString const &)*arg2);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 Py_INCREF(Py_None); resultobj = Py_None;
5340 {
5341 if (temp2)
5342 delete arg2;
5343 }
5344 return resultobj;
5345 fail:
5346 {
5347 if (temp2)
5348 delete arg2;
5349 }
5350 return NULL;
5351 }
5352
5353
5354 static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5355 PyObject *resultobj;
5356 wxPyShape *arg1 = (wxPyShape *) 0 ;
5357 PyObject *result;
5358 PyObject * obj0 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 result = (PyObject *)wxPyShape_GetRegions(arg1);
5368
5369 wxPyEndAllowThreads(__tstate);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 }
5372 resultobj = result;
5373 return resultobj;
5374 fail:
5375 return NULL;
5376 }
5377
5378
5379 static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxPyShape *arg1 = (wxPyShape *) 0 ;
5382 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char *kwnames[] = {
5386 (char *) "self",(char *) "region", NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
5390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 (arg1)->AddRegion(arg2);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 Py_INCREF(Py_None); resultobj = Py_None;
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 wxPyShape *arg1 = (wxPyShape *) 0 ;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 (arg1)->ClearRegions();
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 Py_INCREF(Py_None); resultobj = Py_None;
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxPyShape *arg1 = (wxPyShape *) 0 ;
5433 PyObject * obj0 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 (arg1)->AssignNewIds();
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 Py_INCREF(Py_None); resultobj = Py_None;
5448 return resultobj;
5449 fail:
5450 return NULL;
5451 }
5452
5453
5454 static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject *resultobj;
5456 wxPyShape *arg1 = (wxPyShape *) 0 ;
5457 wxString *arg2 = 0 ;
5458 int *arg3 = (int *) 0 ;
5459 wxPyShape *result;
5460 bool temp2 = false ;
5461 int temp3 ;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "regionName", NULL
5466 };
5467
5468 arg3 = &temp3;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5471 {
5472 arg2 = wxString_in_helper(obj1);
5473 if (arg2 == NULL) SWIG_fail;
5474 temp2 = true;
5475 }
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 {
5484 resultobj = wxPyMake_wxShapeEvtHandler(result);
5485 }
5486 {
5487 PyObject *o = PyInt_FromLong((long) (*arg3));
5488 resultobj = t_output_helper(resultobj,o);
5489 }
5490 {
5491 if (temp2)
5492 delete arg2;
5493 }
5494 return resultobj;
5495 fail:
5496 {
5497 if (temp2)
5498 delete arg2;
5499 }
5500 return NULL;
5501 }
5502
5503
5504 static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxPyShape *arg1 = (wxPyShape *) 0 ;
5507 wxStringList *arg2 = 0 ;
5508 PyObject * obj0 = 0 ;
5509 PyObject * obj1 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self",(char *) "list", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5517 if (arg2 == NULL) {
5518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5519 }
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 (arg1)->FindRegionNames(*arg2);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 Py_INCREF(Py_None); resultobj = Py_None;
5528 return resultobj;
5529 fail:
5530 return NULL;
5531 }
5532
5533
5534 static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxPyShape *arg1 = (wxPyShape *) 0 ;
5537 int arg2 = (int) 0 ;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "regionId", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyShape_ClearText",kwnames,&obj0,&arg2)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 (arg1)->ClearText(arg2);
5548
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 Py_INCREF(Py_None); resultobj = Py_None;
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxPyShape *arg1 = (wxPyShape *) 0 ;
5562 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5563 PyObject * obj0 = 0 ;
5564 PyObject * obj1 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "line", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->RemoveLine(arg2);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 Py_INCREF(Py_None); resultobj = Py_None;
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxPyShape *arg1 = (wxPyShape *) 0 ;
5589 int arg2 ;
5590 double *arg3 = (double *) 0 ;
5591 double *arg4 = (double *) 0 ;
5592 int arg5 = (int) 0 ;
5593 int arg6 = (int) 1 ;
5594 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5595 bool result;
5596 double temp3 ;
5597 double temp4 ;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj4 = 0 ;
5600 char *kwnames[] = {
5601 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5602 };
5603
5604 arg3 = &temp3;
5605 arg4 = &temp4;
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5608 if (obj4) {
5609 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = PyInt_FromLong((long)result);
5619 {
5620 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5621 resultobj = t_output_helper(resultobj,o);
5622 }
5623 {
5624 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5625 resultobj = t_output_helper(resultobj,o);
5626 }
5627 return resultobj;
5628 fail:
5629 return NULL;
5630 }
5631
5632
5633 static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj;
5635 wxPyShape *arg1 = (wxPyShape *) 0 ;
5636 int result;
5637 PyObject * obj0 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 result = (int)(arg1)->GetNumberOfAttachments();
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 resultobj = PyInt_FromLong((long)result);
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxPyShape *arg1 = (wxPyShape *) 0 ;
5661 int arg2 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "attachment", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_AttachmentIsValid",kwnames,&obj0,&arg2)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)(arg1)->AttachmentIsValid(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 resultobj = PyInt_FromLong((long)result);
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxPyShape *arg1 = (wxPyShape *) 0 ;
5687 int arg2 ;
5688 double *arg3 = (double *) 0 ;
5689 double *arg4 = (double *) 0 ;
5690 int arg5 = (int) 0 ;
5691 int arg6 = (int) 1 ;
5692 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
5693 bool result;
5694 double temp3 ;
5695 double temp4 ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj4 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5700 };
5701
5702 arg3 = &temp3;
5703 arg4 = &temp4;
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&arg2,&arg5,&arg6,&obj4)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5706 if (obj4) {
5707 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 resultobj = PyInt_FromLong((long)result);
5717 {
5718 PyObject *o = PyFloat_FromDouble((double) (*arg3));
5719 resultobj = t_output_helper(resultobj,o);
5720 }
5721 {
5722 PyObject *o = PyFloat_FromDouble((double) (*arg4));
5723 resultobj = t_output_helper(resultobj,o);
5724 }
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxPyShape *arg1 = (wxPyShape *) 0 ;
5734 wxRealPoint *arg2 = 0 ;
5735 wxRealPoint *arg3 = 0 ;
5736 int arg4 ;
5737 int arg5 ;
5738 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
5739 wxRealPoint result;
5740 wxRealPoint temp2 ;
5741 wxRealPoint temp3 ;
5742 PyObject * obj0 = 0 ;
5743 PyObject * obj1 = 0 ;
5744 PyObject * obj2 = 0 ;
5745 PyObject * obj5 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 {
5753 arg2 = &temp2;
5754 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
5755 }
5756 {
5757 arg3 = &temp3;
5758 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5759 }
5760 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 {
5769 wxRealPoint * resultptr;
5770 resultptr = new wxRealPoint((wxRealPoint &) result);
5771 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5772 }
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxPyShape *arg1 = (wxPyShape *) 0 ;
5782 int arg2 ;
5783 wxRealPoint *arg3 = 0 ;
5784 wxRealPoint *arg4 = 0 ;
5785 bool result;
5786 wxRealPoint temp3 ;
5787 wxRealPoint temp4 ;
5788 PyObject * obj0 = 0 ;
5789 PyObject * obj2 = 0 ;
5790 PyObject * obj3 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 {
5798 arg3 = &temp3;
5799 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
5800 }
5801 {
5802 arg4 = &temp4;
5803 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
5804 }
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 resultobj = PyInt_FromLong((long)result);
5813 return resultobj;
5814 fail:
5815 return NULL;
5816 }
5817
5818
5819 static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxPyShape *arg1 = (wxPyShape *) 0 ;
5822 wxDC *arg2 = 0 ;
5823 int arg3 = (int) -1 ;
5824 bool arg4 = (bool) FALSE ;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 PyObject * obj3 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 if (arg2 == NULL) {
5836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5837 }
5838 if (obj3) {
5839 arg4 = PyInt_AsLong(obj3) ? true : false;
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 (arg1)->EraseLinks(*arg2,arg3,arg4);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 Py_INCREF(Py_None); resultobj = Py_None;
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxPyShape *arg1 = (wxPyShape *) 0 ;
5859 wxDC *arg2 = 0 ;
5860 int arg3 = (int) -1 ;
5861 bool arg4 = (bool) FALSE ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 PyObject * obj3 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872 if (arg2 == NULL) {
5873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5874 }
5875 if (obj3) {
5876 arg4 = PyInt_AsLong(obj3) ? true : false;
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->DrawLinks(*arg2,arg3,arg4);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxPyShape *arg1 = (wxPyShape *) 0 ;
5896 wxDC *arg2 = 0 ;
5897 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
5898 double arg4 ;
5899 double arg5 ;
5900 bool result;
5901 PyObject * obj0 = 0 ;
5902 PyObject * obj1 = 0 ;
5903 PyObject * obj2 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5911 if (arg2 == NULL) {
5912 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5913 }
5914 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
5918
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 resultobj = PyInt_FromLong((long)result);
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxPyShape *arg1 = (wxPyShape *) 0 ;
5932 PyObject *arg2 = (PyObject *) 0 ;
5933 PyObject * obj0 = 0 ;
5934 PyObject * obj1 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self",(char *) "linesToSort", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5941 arg2 = obj1;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxPyShape *arg1 = (wxPyShape *) 0 ;
5959 int arg2 ;
5960 wxRealPoint result;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self",(char *) "attachment", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&arg2)) goto fail;
5967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (arg1)->GetBranchingAttachmentRoot(arg2);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 {
5976 wxRealPoint * resultptr;
5977 resultptr = new wxRealPoint((wxRealPoint &) result);
5978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
5979 }
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxPyShape *arg1 = (wxPyShape *) 0 ;
5989 int arg2 ;
5990 wxRealPoint *arg3 = 0 ;
5991 wxRealPoint *arg4 = 0 ;
5992 wxRealPoint *arg5 = 0 ;
5993 wxRealPoint *arg6 = 0 ;
5994 bool result;
5995 wxRealPoint temp3 ;
5996 wxRealPoint temp4 ;
5997 wxRealPoint temp5 ;
5998 wxRealPoint temp6 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj2 = 0 ;
6001 PyObject * obj3 = 0 ;
6002 PyObject * obj4 = 0 ;
6003 PyObject * obj5 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6010 {
6011 arg3 = &temp3;
6012 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6013 }
6014 {
6015 arg4 = &temp4;
6016 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6017 }
6018 {
6019 arg5 = &temp5;
6020 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6021 }
6022 {
6023 arg6 = &temp6;
6024 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = PyInt_FromLong((long)result);
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxPyShape *arg1 = (wxPyShape *) 0 ;
6043 int arg2 ;
6044 int arg3 ;
6045 wxRealPoint *arg4 = 0 ;
6046 wxRealPoint *arg5 = 0 ;
6047 bool result;
6048 wxRealPoint temp4 ;
6049 wxRealPoint temp5 ;
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj3 = 0 ;
6052 PyObject * obj4 = 0 ;
6053 char *kwnames[] = {
6054 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
6058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 {
6060 arg4 = &temp4;
6061 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6062 }
6063 {
6064 arg5 = &temp5;
6065 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
6066 }
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 resultobj = PyInt_FromLong((long)result);
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxPyShape *arg1 = (wxPyShape *) 0 ;
6084 int arg2 ;
6085 int result;
6086 PyObject * obj0 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "self",(char *) "attachment", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames,&obj0,&arg2)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (int)(arg1)->GetAttachmentLineCount(arg2);
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = PyInt_FromLong((long)result);
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxPyShape *arg1 = (wxPyShape *) 0 ;
6110 int arg2 ;
6111 PyObject * obj0 = 0 ;
6112 char *kwnames[] = {
6113 (char *) "self",(char *) "len", NULL
6114 };
6115
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames,&obj0,&arg2)) goto fail;
6117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->SetBranchNeckLength(arg2);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxPyShape *arg1 = (wxPyShape *) 0 ;
6135 int result;
6136 PyObject * obj0 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 result = (int)(arg1)->GetBranchNeckLength();
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 resultobj = PyInt_FromLong((long)result);
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxPyShape *arg1 = (wxPyShape *) 0 ;
6160 int arg2 ;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "len", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchStemLength",kwnames,&obj0,&arg2)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 (arg1)->SetBranchStemLength(arg2);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 Py_INCREF(Py_None); resultobj = Py_None;
6176 return resultobj;
6177 fail:
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxPyShape *arg1 = (wxPyShape *) 0 ;
6185 int result;
6186 PyObject * obj0 = 0 ;
6187 char *kwnames[] = {
6188 (char *) "self", NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
6192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (int)(arg1)->GetBranchStemLength();
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = PyInt_FromLong((long)result);
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxPyShape *arg1 = (wxPyShape *) 0 ;
6210 int arg2 ;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self",(char *) "len", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_SetBranchSpacing",kwnames,&obj0,&arg2)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 (arg1)->SetBranchSpacing(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxPyShape *arg1 = (wxPyShape *) 0 ;
6235 int result;
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (int)(arg1)->GetBranchSpacing();
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 resultobj = PyInt_FromLong((long)result);
6251 return resultobj;
6252 fail:
6253 return NULL;
6254 }
6255
6256
6257 static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxPyShape *arg1 = (wxPyShape *) 0 ;
6260 long arg2 ;
6261 PyObject * obj0 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "style", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyShape_SetBranchStyle",kwnames,&obj0,&arg2)) goto fail;
6267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 (arg1)->SetBranchStyle(arg2);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 Py_INCREF(Py_None); resultobj = Py_None;
6276 return resultobj;
6277 fail:
6278 return NULL;
6279 }
6280
6281
6282 static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxPyShape *arg1 = (wxPyShape *) 0 ;
6285 long result;
6286 PyObject * obj0 = 0 ;
6287 char *kwnames[] = {
6288 (char *) "self", NULL
6289 };
6290
6291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (long)(arg1)->GetBranchStyle();
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 resultobj = PyInt_FromLong((long)result);
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj;
6309 wxPyShape *arg1 = (wxPyShape *) 0 ;
6310 int arg2 ;
6311 int result;
6312 PyObject * obj0 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self",(char *) "physicalAttachment", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = PyInt_FromLong((long)result);
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj;
6335 wxPyShape *arg1 = (wxPyShape *) 0 ;
6336 int arg2 ;
6337 int result;
6338 PyObject * obj0 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "logicalAttachment", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&arg2)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 resultobj = PyInt_FromLong((long)result);
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxPyShape *arg1 = (wxPyShape *) 0 ;
6362 bool result;
6363 PyObject * obj0 = 0 ;
6364 char *kwnames[] = {
6365 (char *) "self", NULL
6366 };
6367
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
6369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (bool)(arg1)->Draggable();
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 resultobj = PyInt_FromLong((long)result);
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxPyShape *arg1 = (wxPyShape *) 0 ;
6387 wxPyShape *arg2 = (wxPyShape *) 0 ;
6388 bool result;
6389 PyObject * obj0 = 0 ;
6390 PyObject * obj1 = 0 ;
6391 char *kwnames[] = {
6392 (char *) "self",(char *) "image", NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
6396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = (bool)(arg1)->HasDescendant(arg2);
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 resultobj = PyInt_FromLong((long)result);
6406 return resultobj;
6407 fail:
6408 return NULL;
6409 }
6410
6411
6412 static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj;
6414 wxPyShape *arg1 = (wxPyShape *) 0 ;
6415 bool arg2 = (bool) TRUE ;
6416 bool arg3 = (bool) TRUE ;
6417 wxPyShape *result;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 PyObject * obj2 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6427 if (obj1) {
6428 arg2 = PyInt_AsLong(obj1) ? true : false;
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 if (obj2) {
6432 arg3 = PyInt_AsLong(obj2) ? true : false;
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 {
6443 resultobj = wxPyMake_wxShapeEvtHandler(result);
6444 }
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxPyShape *arg1 = (wxPyShape *) 0 ;
6454 wxPyShape *arg2 = 0 ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self",(char *) "copy", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
6462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6464 if (arg2 == NULL) {
6465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6466 }
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->Copy(*arg2);
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 Py_INCREF(Py_None); resultobj = Py_None;
6475 return resultobj;
6476 fail:
6477 return NULL;
6478 }
6479
6480
6481 static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6482 PyObject *resultobj;
6483 wxPyShape *arg1 = (wxPyShape *) 0 ;
6484 wxPyShape *arg2 = 0 ;
6485 PyObject * obj0 = 0 ;
6486 PyObject * obj1 = 0 ;
6487 char *kwnames[] = {
6488 (char *) "self",(char *) "copy", NULL
6489 };
6490
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
6492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6494 if (arg2 == NULL) {
6495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 (arg1)->CopyWithHandler(*arg2);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxPyShape *arg1 = (wxPyShape *) 0 ;
6514 double arg2 ;
6515 double arg3 ;
6516 double arg4 ;
6517 PyObject * obj0 = 0 ;
6518 char *kwnames[] = {
6519 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6520 };
6521
6522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->Rotate(arg2,arg3,arg4);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxPyShape *arg1 = (wxPyShape *) 0 ;
6541 double result;
6542 PyObject * obj0 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 result = (double)(arg1)->GetRotation();
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 resultobj = PyFloat_FromDouble(result);
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxPyShape *arg1 = (wxPyShape *) 0 ;
6566 PyObject * obj0 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 (arg1)->ClearAttachments();
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 Py_INCREF(Py_None); resultobj = Py_None;
6581 return resultobj;
6582 fail:
6583 return NULL;
6584 }
6585
6586
6587 static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxPyShape *arg1 = (wxPyShape *) 0 ;
6590 wxDC *arg2 = 0 ;
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self",(char *) "dc", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
6598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6600 if (arg2 == NULL) {
6601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6602 }
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 (arg1)->Recentre(*arg2);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 Py_INCREF(Py_None); resultobj = Py_None;
6611 return resultobj;
6612 fail:
6613 return NULL;
6614 }
6615
6616
6617 static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxPyShape *arg1 = (wxPyShape *) 0 ;
6620 wxList *arg2 = 0 ;
6621 PyObject * obj0 = 0 ;
6622 PyObject * obj1 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "list", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
6628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6630 if (arg2 == NULL) {
6631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->ClearPointList(*arg2);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxPyShape *arg1 = (wxPyShape *) 0 ;
6650 wxPen result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (arg1)->GetBackgroundPen();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 wxPen * resultptr;
6667 resultptr = new wxPen((wxPen &) result);
6668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxPyShape *arg1 = (wxPyShape *) 0 ;
6679 wxBrush result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (arg1)->GetBackgroundBrush();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 wxBrush * resultptr;
6696 resultptr = new wxBrush((wxBrush &) result);
6697 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
6698 }
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxPyShape *arg1 = (wxPyShape *) 0 ;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "self", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
6714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 (arg1)->base_OnDelete();
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 Py_INCREF(Py_None); resultobj = Py_None;
6723 return resultobj;
6724 fail:
6725 return NULL;
6726 }
6727
6728
6729 static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6730 PyObject *resultobj;
6731 wxPyShape *arg1 = (wxPyShape *) 0 ;
6732 wxDC *arg2 = 0 ;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "dc", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6742 if (arg2 == NULL) {
6743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 (arg1)->base_OnDraw(*arg2);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 Py_INCREF(Py_None); resultobj = Py_None;
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxPyShape *arg1 = (wxPyShape *) 0 ;
6762 wxDC *arg2 = 0 ;
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "dc", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772 if (arg2 == NULL) {
6773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6774 }
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 (arg1)->base_OnDrawContents(*arg2);
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 Py_INCREF(Py_None); resultobj = Py_None;
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxPyShape *arg1 = (wxPyShape *) 0 ;
6792 wxDC *arg2 = 0 ;
6793 bool arg3 = (bool) FALSE ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 PyObject * obj2 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "dc",(char *) "erase", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 if (arg2 == NULL) {
6805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6806 }
6807 if (obj2) {
6808 arg3 = PyInt_AsLong(obj2) ? true : false;
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->base_OnDrawBranches(*arg2,arg3);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 Py_INCREF(Py_None); resultobj = Py_None;
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxPyShape *arg1 = (wxPyShape *) 0 ;
6828 wxDC *arg2 = 0 ;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "dc", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6838 if (arg2 == NULL) {
6839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6840 }
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 (arg1)->base_OnMoveLinks(*arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 Py_INCREF(Py_None); resultobj = Py_None;
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxPyShape *arg1 = (wxPyShape *) 0 ;
6858 wxDC *arg2 = 0 ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "self",(char *) "dc", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
6866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6868 if (arg2 == NULL) {
6869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6870 }
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->base_OnErase(*arg2);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxPyShape *arg1 = (wxPyShape *) 0 ;
6888 wxDC *arg2 = 0 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self",(char *) "dc", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6898 if (arg2 == NULL) {
6899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->base_OnEraseContents(*arg2);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 Py_INCREF(Py_None); resultobj = Py_None;
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj;
6917 wxPyShape *arg1 = (wxPyShape *) 0 ;
6918 wxDC *arg2 = 0 ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self",(char *) "dc", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6928 if (arg2 == NULL) {
6929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->base_OnHighlight(*arg2);
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 Py_INCREF(Py_None); resultobj = Py_None;
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6946 PyObject *resultobj;
6947 wxPyShape *arg1 = (wxPyShape *) 0 ;
6948 double arg2 ;
6949 double arg3 ;
6950 int arg4 = (int) 0 ;
6951 int arg5 = (int) 0 ;
6952 PyObject * obj0 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 Py_INCREF(Py_None); resultobj = Py_None;
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxPyShape *arg1 = (wxPyShape *) 0 ;
6976 double arg2 ;
6977 double arg3 ;
6978 int arg4 = (int) 0 ;
6979 int arg5 = (int) 0 ;
6980 PyObject * obj0 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
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_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj;
7003 wxPyShape *arg1 = (wxPyShape *) 0 ;
7004 double arg2 ;
7005 double arg3 ;
7006 int arg4 = (int) 0 ;
7007 int arg5 = (int) 0 ;
7008 PyObject * obj0 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxPyShape *arg1 = (wxPyShape *) 0 ;
7032 double arg2 ;
7033 double arg3 ;
7034 PyObject * obj0 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "x",(char *) "y", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->base_OnSize(arg2,arg3);
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 Py_INCREF(Py_None); resultobj = Py_None;
7049 return resultobj;
7050 fail:
7051 return NULL;
7052 }
7053
7054
7055 static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj;
7057 wxPyShape *arg1 = (wxPyShape *) 0 ;
7058 wxDC *arg2 = 0 ;
7059 double arg3 ;
7060 double arg4 ;
7061 double arg5 ;
7062 double arg6 ;
7063 bool arg7 = (bool) TRUE ;
7064 bool result;
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
7067 PyObject * obj6 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7075 if (arg2 == NULL) {
7076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7077 }
7078 if (obj6) {
7079 arg7 = PyInt_AsLong(obj6) ? true : false;
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = PyInt_FromLong((long)result);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxPyShape *arg1 = (wxPyShape *) 0 ;
7099 wxDC *arg2 = 0 ;
7100 double arg3 ;
7101 double arg4 ;
7102 double arg5 ;
7103 double arg6 ;
7104 bool arg7 = (bool) TRUE ;
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj1 = 0 ;
7107 PyObject * obj6 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 if (arg2 == NULL) {
7116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7117 }
7118 if (obj6) {
7119 arg7 = PyInt_AsLong(obj6) ? true : false;
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 return resultobj;
7131 fail:
7132 return NULL;
7133 }
7134
7135
7136 static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxPyShape *arg1 = (wxPyShape *) 0 ;
7139 bool arg2 ;
7140 double arg3 ;
7141 double arg4 ;
7142 int arg5 = (int) 0 ;
7143 int arg6 = (int) 0 ;
7144 PyObject * obj0 = 0 ;
7145 PyObject * obj1 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7152 arg2 = PyInt_AsLong(obj1) ? true : false;
7153 if (PyErr_Occurred()) SWIG_fail;
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 Py_INCREF(Py_None); resultobj = Py_None;
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj;
7170 wxPyShape *arg1 = (wxPyShape *) 0 ;
7171 double arg2 ;
7172 double arg3 ;
7173 int arg4 = (int) 0 ;
7174 int arg5 = (int) 0 ;
7175 PyObject * obj0 = 0 ;
7176 char *kwnames[] = {
7177 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7178 };
7179
7180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 Py_INCREF(Py_None); resultobj = Py_None;
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxPyShape *arg1 = (wxPyShape *) 0 ;
7199 double arg2 ;
7200 double arg3 ;
7201 int arg4 = (int) 0 ;
7202 int arg5 = (int) 0 ;
7203 PyObject * obj0 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 Py_INCREF(Py_None); resultobj = Py_None;
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxPyShape *arg1 = (wxPyShape *) 0 ;
7227 bool arg2 ;
7228 double arg3 ;
7229 double arg4 ;
7230 int arg5 = (int) 0 ;
7231 int arg6 = (int) 0 ;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7240 arg2 = PyInt_AsLong(obj1) ? true : false;
7241 if (PyErr_Occurred()) SWIG_fail;
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 Py_INCREF(Py_None); resultobj = Py_None;
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxPyShape *arg1 = (wxPyShape *) 0 ;
7259 double arg2 ;
7260 double arg3 ;
7261 int arg4 = (int) 0 ;
7262 int arg5 = (int) 0 ;
7263 PyObject * obj0 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 Py_INCREF(Py_None); resultobj = Py_None;
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxPyShape *arg1 = (wxPyShape *) 0 ;
7287 double arg2 ;
7288 double arg3 ;
7289 int arg4 = (int) 0 ;
7290 int arg5 = (int) 0 ;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
7297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) SWIG_fail;
7304 }
7305 Py_INCREF(Py_None); resultobj = Py_None;
7306 return resultobj;
7307 fail:
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxPyShape *arg1 = (wxPyShape *) 0 ;
7315 wxDC *arg2 = 0 ;
7316 double arg3 ;
7317 double arg4 ;
7318 double arg5 ;
7319 double arg6 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7329 if (arg2 == NULL) {
7330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7331 }
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxPyShape *arg1 = (wxPyShape *) 0 ;
7349 wxDC *arg2 = 0 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "dc", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 if (arg2 == NULL) {
7360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7361 }
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->base_OnDrawControlPoints(*arg2);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxPyShape *arg1 = (wxPyShape *) 0 ;
7379 wxDC *arg2 = 0 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "dc", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7389 if (arg2 == NULL) {
7390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7391 }
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 (arg1)->base_OnEraseControlPoints(*arg2);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 Py_INCREF(Py_None); resultobj = Py_None;
7400 return resultobj;
7401 fail:
7402 return NULL;
7403 }
7404
7405
7406 static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxPyShape *arg1 = (wxPyShape *) 0 ;
7409 wxDC *arg2 = 0 ;
7410 bool arg3 = (bool) TRUE ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 PyObject * obj2 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421 if (arg2 == NULL) {
7422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7423 }
7424 if (obj2) {
7425 arg3 = PyInt_AsLong(obj2) ? true : false;
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->base_OnMoveLink(*arg2,arg3);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 Py_INCREF(Py_None); resultobj = Py_None;
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxPyShape *arg1 = (wxPyShape *) 0 ;
7445 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7446 bool arg3 ;
7447 double arg4 ;
7448 double arg5 ;
7449 int arg6 = (int) 0 ;
7450 int arg7 = (int) 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 arg3 = PyInt_AsLong(obj2) ? true : false;
7462 if (PyErr_Occurred()) SWIG_fail;
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj;
7479 wxPyShape *arg1 = (wxPyShape *) 0 ;
7480 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7481 double arg3 ;
7482 double arg4 ;
7483 int arg5 = (int) 0 ;
7484 int arg6 = (int) 0 ;
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 Py_INCREF(Py_None); resultobj = Py_None;
7502 return resultobj;
7503 fail:
7504 return NULL;
7505 }
7506
7507
7508 static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxPyShape *arg1 = (wxPyShape *) 0 ;
7511 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
7512 double arg3 ;
7513 double arg4 ;
7514 int arg5 = (int) 0 ;
7515 int arg6 = (int) 0 ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxPyShape *arg1 = (wxPyShape *) 0 ;
7542 double arg2 ;
7543 double arg3 ;
7544 PyObject * obj0 = 0 ;
7545 char *kwnames[] = {
7546 (char *) "self",(char *) "w",(char *) "h", NULL
7547 };
7548
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 (arg1)->base_OnBeginSize(arg2,arg3);
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 Py_INCREF(Py_None); resultobj = Py_None;
7559 return resultobj;
7560 fail:
7561 return NULL;
7562 }
7563
7564
7565 static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxPyShape *arg1 = (wxPyShape *) 0 ;
7568 double arg2 ;
7569 double arg3 ;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self",(char *) "w",(char *) "h", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
7576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 (arg1)->base_OnEndSize(arg2,arg3);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 Py_INCREF(Py_None); resultobj = Py_None;
7585 return resultobj;
7586 fail:
7587 return NULL;
7588 }
7589
7590
7591 static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
7592 PyObject *obj;
7593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7594 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
7595 Py_INCREF(obj);
7596 return Py_BuildValue((char *)"");
7597 }
7598 static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxPseudoMetaFile *result;
7601 char *kwnames[] = {
7602 NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 {
7614 resultobj = wxPyMake_wxObject(result);
7615 }
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7625 PyObject * obj0 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 delete arg1;
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 Py_INCREF(Py_None); resultobj = Py_None;
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7649 wxDC *arg2 = 0 ;
7650 double arg3 ;
7651 double arg4 ;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
7659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7661 if (arg2 == NULL) {
7662 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->Draw(*arg2,arg3,arg4);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 Py_INCREF(Py_None); resultobj = Py_None;
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
7687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 (arg1)->Clear();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 Py_INCREF(Py_None); resultobj = Py_None;
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7705 wxPseudoMetaFile *arg2 = 0 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self",(char *) "copy", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7715 if (arg2 == NULL) {
7716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7717 }
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->Copy(*arg2);
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 return resultobj;
7727 fail:
7728 return NULL;
7729 }
7730
7731
7732 static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7733 PyObject *resultobj;
7734 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7735 double arg2 ;
7736 double arg3 ;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "sx",(char *) "sy", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->Scale(arg2,arg3);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7761 double arg2 ;
7762 double arg3 ;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "w",(char *) "h", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames,&obj0,&arg2,&arg3)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 (arg1)->ScaleTo(arg2,arg3);
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 Py_INCREF(Py_None); resultobj = Py_None;
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7787 double arg2 ;
7788 double arg3 ;
7789 PyObject * obj0 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "x",(char *) "y", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
7795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 (arg1)->Translate(arg2,arg3);
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 Py_INCREF(Py_None); resultobj = Py_None;
7804 return resultobj;
7805 fail:
7806 return NULL;
7807 }
7808
7809
7810 static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7813 double arg2 ;
7814 double arg3 ;
7815 double arg4 ;
7816 PyObject * obj0 = 0 ;
7817 char *kwnames[] = {
7818 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
7822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 (arg1)->Rotate(arg2,arg3,arg4);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 Py_INCREF(Py_None); resultobj = Py_None;
7831 return resultobj;
7832 fail:
7833 return NULL;
7834 }
7835
7836
7837 static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj;
7839 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7840 wxString *arg2 = 0 ;
7841 double *arg3 = (double *) 0 ;
7842 double *arg4 = (double *) 0 ;
7843 bool result;
7844 bool temp2 = false ;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 PyObject * obj2 = 0 ;
7848 PyObject * obj3 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7855 {
7856 arg2 = wxString_in_helper(obj1);
7857 if (arg2 == NULL) SWIG_fail;
7858 temp2 = true;
7859 }
7860 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7861 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = PyInt_FromLong((long)result);
7870 {
7871 if (temp2)
7872 delete arg2;
7873 }
7874 return resultobj;
7875 fail:
7876 {
7877 if (temp2)
7878 delete arg2;
7879 }
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7887 double *arg2 = (double *) 0 ;
7888 double *arg3 = (double *) 0 ;
7889 double *arg4 = (double *) 0 ;
7890 double *arg5 = (double *) 0 ;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 PyObject * obj2 = 0 ;
7894 PyObject * obj3 = 0 ;
7895 PyObject * obj4 = 0 ;
7896 char *kwnames[] = {
7897 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7903 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7904 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7905 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 Py_INCREF(Py_None); resultobj = Py_None;
7914 return resultobj;
7915 fail:
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7923 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "shape", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 (arg1)->CalculateSize(arg2);
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 Py_INCREF(Py_None); resultobj = Py_None;
7941 return resultobj;
7942 fail:
7943 return NULL;
7944 }
7945
7946
7947 static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7948 PyObject *resultobj;
7949 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7950 bool arg2 ;
7951 PyObject * obj0 = 0 ;
7952 PyObject * obj1 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self",(char *) "rot", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
7958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7959 arg2 = PyInt_AsLong(obj1) ? true : false;
7960 if (PyErr_Occurred()) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 (arg1)->SetRotateable(arg2);
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 Py_INCREF(Py_None); resultobj = Py_None;
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
7978 bool result;
7979 PyObject * obj0 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
7985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (bool)(arg1)->GetRotateable();
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = PyInt_FromLong((long)result);
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8003 double arg2 ;
8004 double arg3 ;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "w",(char *) "h", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PseudoMetaFile_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->SetSize(arg2,arg3);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject *resultobj;
8028 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8029 wxBrush *arg2 = (wxBrush *) 0 ;
8030 PyObject * obj0 = 0 ;
8031 PyObject * obj1 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "self",(char *) "brush", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 {
8039 wxBrush* temp;
8040 if (obj1) {
8041 if (obj1 == Py_None) {
8042 temp = NULL;
8043 }
8044 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8045 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8046 return NULL;
8047 }
8048 }
8049 if (temp)
8050 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8051 else
8052 arg2 = NULL;
8053 }
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 (arg1)->SetFillBrush(arg2);
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 Py_INCREF(Py_None); resultobj = Py_None;
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8071 wxBrush *result;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (wxBrush *)(arg1)->GetFillBrush();
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
8087 return resultobj;
8088 fail:
8089 return NULL;
8090 }
8091
8092
8093 static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8096 wxPen *arg2 = (wxPen *) 0 ;
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self",(char *) "pen", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 {
8106 wxPen* temp;
8107 if (obj1) {
8108 if (obj1 == Py_None) {
8109 temp = NULL;
8110 }
8111 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8112 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8113 return NULL;
8114 }
8115 }
8116 if (temp)
8117 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8118 temp->GetWidth(),
8119 temp->GetStyle());
8120 else
8121 arg2 = NULL;
8122 }
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 (arg1)->SetOutlinePen(arg2);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8140 wxPen *result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (wxPen *)(arg1)->GetOutlinePen();
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
8156 return resultobj;
8157 fail:
8158 return NULL;
8159 }
8160
8161
8162 static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj;
8164 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8165 int arg2 ;
8166 PyObject * obj0 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "op", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&arg2)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->SetOutlineOp(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_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8190 int result;
8191 PyObject * obj0 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",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 = (int)(arg1)->GetOutlineOp();
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_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8215 bool result;
8216 PyObject * obj0 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
8222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (bool)(arg1)->IsValid();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 resultobj = PyInt_FromLong((long)result);
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8240 wxPoint *arg2 = 0 ;
8241 wxPoint *arg3 = 0 ;
8242 wxPoint temp2 ;
8243 wxPoint temp3 ;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8253 {
8254 arg2 = &temp2;
8255 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8256 }
8257 {
8258 arg3 = &temp3;
8259 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8260 }
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8278 wxRect *arg2 = 0 ;
8279 wxRect temp2 ;
8280 PyObject * obj0 = 0 ;
8281 PyObject * obj1 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self",(char *) "rect", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288 {
8289 arg2 = &temp2;
8290 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8291 }
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 (arg1)->DrawRectangle((wxRect const &)*arg2);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8309 wxRect *arg2 = 0 ;
8310 double arg3 ;
8311 wxRect temp2 ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "rect",(char *) "radius", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 {
8321 arg2 = &temp2;
8322 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 Py_INCREF(Py_None); resultobj = Py_None;
8332 return resultobj;
8333 fail:
8334 return NULL;
8335 }
8336
8337
8338 static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8341 wxPoint *arg2 = 0 ;
8342 wxPoint *arg3 = 0 ;
8343 wxPoint *arg4 = 0 ;
8344 wxPoint temp2 ;
8345 wxPoint temp3 ;
8346 wxPoint temp4 ;
8347 PyObject * obj0 = 0 ;
8348 PyObject * obj1 = 0 ;
8349 PyObject * obj2 = 0 ;
8350 PyObject * obj3 = 0 ;
8351 char *kwnames[] = {
8352 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8357 {
8358 arg2 = &temp2;
8359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8360 }
8361 {
8362 arg3 = &temp3;
8363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8364 }
8365 {
8366 arg4 = &temp4;
8367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 return resultobj;
8378 fail:
8379 return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8386 wxRect *arg2 = 0 ;
8387 double arg3 ;
8388 double arg4 ;
8389 wxRect temp2 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8398 {
8399 arg2 = &temp2;
8400 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8419 wxRect *arg2 = 0 ;
8420 wxRect temp2 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self",(char *) "rect", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8429 {
8430 arg2 = &temp2;
8431 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->DrawEllipse((wxRect const &)*arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8450 wxPoint *arg2 = 0 ;
8451 wxPoint temp2 ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self",(char *) "pt", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
8459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8460 {
8461 arg2 = &temp2;
8462 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->DrawPoint((wxPoint const &)*arg2);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8481 wxString *arg2 = 0 ;
8482 wxPoint *arg3 = 0 ;
8483 bool temp2 = false ;
8484 wxPoint temp3 ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 PyObject * obj2 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self",(char *) "text",(char *) "pt", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 arg2 = wxString_in_helper(obj1);
8496 if (arg2 == NULL) SWIG_fail;
8497 temp2 = true;
8498 }
8499 {
8500 arg3 = &temp3;
8501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8502 }
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 Py_INCREF(Py_None); resultobj = Py_None;
8511 {
8512 if (temp2)
8513 delete arg2;
8514 }
8515 return resultobj;
8516 fail:
8517 {
8518 if (temp2)
8519 delete arg2;
8520 }
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8528 int arg2 ;
8529 wxPoint *arg3 = (wxPoint *) 0 ;
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj2 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
8537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8538 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 (arg1)->DrawLines(arg2,arg3);
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 Py_INCREF(Py_None); resultobj = Py_None;
8547 return resultobj;
8548 fail:
8549 return NULL;
8550 }
8551
8552
8553 static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8556 int arg2 ;
8557 wxPoint *arg3 = (wxPoint *) 0 ;
8558 int arg4 = (int) 0 ;
8559 PyObject * obj0 = 0 ;
8560 PyObject * obj2 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8567 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 (arg1)->DrawPolygon(arg2,arg3,arg4);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8585 int arg2 ;
8586 wxPoint *arg3 = (wxPoint *) 0 ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 (arg1)->DrawSpline(arg2,arg3);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 Py_INCREF(Py_None); resultobj = Py_None;
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8613 wxRect *arg2 = 0 ;
8614 wxRect temp2 ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "rect", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8623 {
8624 arg2 = &temp2;
8625 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->SetClippingRect((wxRect const &)*arg2);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj;
8643 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8644 PyObject * obj0 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 (arg1)->DestroyClippingRect();
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 Py_INCREF(Py_None); resultobj = Py_None;
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8668 wxPen *arg2 = (wxPen *) 0 ;
8669 bool arg3 = (bool) FALSE ;
8670 PyObject * obj0 = 0 ;
8671 PyObject * obj1 = 0 ;
8672 PyObject * obj2 = 0 ;
8673 char *kwnames[] = {
8674 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8675 };
8676
8677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
8678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8679 {
8680 wxPen* temp;
8681 if (obj1) {
8682 if (obj1 == Py_None) {
8683 temp = NULL;
8684 }
8685 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
8686 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
8687 return NULL;
8688 }
8689 }
8690 if (temp)
8691 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
8692 temp->GetWidth(),
8693 temp->GetStyle());
8694 else
8695 arg2 = NULL;
8696 }
8697 if (obj2) {
8698 arg3 = PyInt_AsLong(obj2) ? true : false;
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 (arg1)->SetPen(arg2,arg3);
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 Py_INCREF(Py_None); resultobj = Py_None;
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8718 wxBrush *arg2 = (wxBrush *) 0 ;
8719 bool arg3 = (bool) FALSE ;
8720 PyObject * obj0 = 0 ;
8721 PyObject * obj1 = 0 ;
8722 PyObject * obj2 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
8728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8729 {
8730 wxBrush* temp;
8731 if (obj1) {
8732 if (obj1 == Py_None) {
8733 temp = NULL;
8734 }
8735 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
8736 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
8737 return NULL;
8738 }
8739 }
8740 if (temp)
8741 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
8742 else
8743 arg2 = NULL;
8744 }
8745 if (obj2) {
8746 arg3 = PyInt_AsLong(obj2) ? true : false;
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 (arg1)->SetBrush(arg2,arg3);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 Py_INCREF(Py_None); resultobj = Py_None;
8757 return resultobj;
8758 fail:
8759 return NULL;
8760 }
8761
8762
8763 static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj;
8765 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8766 wxFont *arg2 = (wxFont *) 0 ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "font", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 {
8776 wxFont* temp;
8777 if (obj1) {
8778 if (obj1 == Py_None) {
8779 temp = NULL;
8780 }
8781 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
8782 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
8783 return NULL;
8784 }
8785 }
8786 if (temp)
8787 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
8788 temp->GetFamily(),
8789 temp->GetStyle(),
8790 temp->GetWeight(),
8791 temp->GetUnderlined(),
8792 temp->GetFaceName(),
8793 temp->GetEncoding());
8794 else
8795 arg2 = NULL;
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 (arg1)->SetFont(arg2);
8800
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 Py_INCREF(Py_None); resultobj = Py_None;
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj;
8813 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8814 wxColour *arg2 = 0 ;
8815 wxColour temp2 ;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self",(char *) "colour", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8824 {
8825 arg2 = &temp2;
8826 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 (arg1)->SetTextColour((wxColour const &)*arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 Py_INCREF(Py_None); resultobj = Py_None;
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8845 wxColour *arg2 = 0 ;
8846 wxColour temp2 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self",(char *) "colour", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8855 {
8856 arg2 = &temp2;
8857 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8858 }
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 Py_INCREF(Py_None); resultobj = Py_None;
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
8876 int arg2 ;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self",(char *) "mode", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->SetBackgroundMode(arg2);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 Py_INCREF(Py_None); resultobj = Py_None;
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
8899 PyObject *obj;
8900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8901 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
8902 Py_INCREF(obj);
8903 return Py_BuildValue((char *)"");
8904 }
8905 static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 double arg1 = (double) 0.0 ;
8908 double arg2 = (double) 0.0 ;
8909 wxPyRectangleShape *result;
8910 char *kwnames[] = {
8911 (char *) "width",(char *) "height", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyRectangleShape",kwnames,&arg1,&arg2)) goto fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8932 PyObject *arg2 = (PyObject *) 0 ;
8933 PyObject *arg3 = (PyObject *) 0 ;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 PyObject * obj2 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "self",(char *) "_class", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943 arg2 = obj1;
8944 arg3 = obj2;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 (arg1)->_setCallbackInfo(arg2,arg3);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 Py_INCREF(Py_None); resultobj = Py_None;
8953 return resultobj;
8954 fail:
8955 return NULL;
8956 }
8957
8958
8959 static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8962 double arg2 ;
8963 PyObject * obj0 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self",(char *) "radius", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->SetCornerRadius(arg2);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
8987 PyObject * obj0 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->base_OnDelete();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9011 wxDC *arg2 = 0 ;
9012 PyObject * obj0 = 0 ;
9013 PyObject * obj1 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "dc", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 if (arg2 == NULL) {
9022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9023 }
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->base_OnDraw(*arg2);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9041 wxDC *arg2 = 0 ;
9042 PyObject * obj0 = 0 ;
9043 PyObject * obj1 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "dc", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 if (arg2 == NULL) {
9052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->base_OnDrawContents(*arg2);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9071 wxDC *arg2 = 0 ;
9072 bool arg3 = (bool) FALSE ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 PyObject * obj2 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self",(char *) "dc",(char *) "erase", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9083 if (arg2 == NULL) {
9084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9085 }
9086 if (obj2) {
9087 arg3 = PyInt_AsLong(obj2) ? true : false;
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->base_OnDrawBranches(*arg2,arg3);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 Py_INCREF(Py_None); resultobj = Py_None;
9098 return resultobj;
9099 fail:
9100 return NULL;
9101 }
9102
9103
9104 static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9107 wxDC *arg2 = 0 ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "dc", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9117 if (arg2 == NULL) {
9118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9119 }
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 (arg1)->base_OnMoveLinks(*arg2);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 Py_INCREF(Py_None); resultobj = Py_None;
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9135 PyObject *resultobj;
9136 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9137 wxDC *arg2 = 0 ;
9138 PyObject * obj0 = 0 ;
9139 PyObject * obj1 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self",(char *) "dc", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9147 if (arg2 == NULL) {
9148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9149 }
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 (arg1)->base_OnErase(*arg2);
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 Py_INCREF(Py_None); resultobj = Py_None;
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9167 wxDC *arg2 = 0 ;
9168 PyObject * obj0 = 0 ;
9169 PyObject * obj1 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self",(char *) "dc", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9177 if (arg2 == NULL) {
9178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9179 }
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->base_OnEraseContents(*arg2);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9197 wxDC *arg2 = 0 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "dc", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 if (arg2 == NULL) {
9208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 (arg1)->base_OnHighlight(*arg2);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 Py_INCREF(Py_None); resultobj = Py_None;
9218 return resultobj;
9219 fail:
9220 return NULL;
9221 }
9222
9223
9224 static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj;
9226 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9227 double arg2 ;
9228 double arg3 ;
9229 int arg4 = (int) 0 ;
9230 int arg5 = (int) 0 ;
9231 PyObject * obj0 = 0 ;
9232 char *kwnames[] = {
9233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9234 };
9235
9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 Py_INCREF(Py_None); resultobj = Py_None;
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9255 double arg2 ;
9256 double arg3 ;
9257 int arg4 = (int) 0 ;
9258 int arg5 = (int) 0 ;
9259 PyObject * obj0 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 Py_INCREF(Py_None); resultobj = Py_None;
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9283 double arg2 ;
9284 double arg3 ;
9285 int arg4 = (int) 0 ;
9286 int arg5 = (int) 0 ;
9287 PyObject * obj0 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9311 double arg2 ;
9312 double arg3 ;
9313 PyObject * obj0 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self",(char *) "x",(char *) "y", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 (arg1)->base_OnSize(arg2,arg3);
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 Py_INCREF(Py_None); resultobj = Py_None;
9328 return resultobj;
9329 fail:
9330 return NULL;
9331 }
9332
9333
9334 static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9337 wxDC *arg2 = 0 ;
9338 double arg3 ;
9339 double arg4 ;
9340 double arg5 ;
9341 double arg6 ;
9342 bool arg7 = (bool) TRUE ;
9343 bool result;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj6 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
9358 arg7 = PyInt_AsLong(obj6) ? true : false;
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = PyInt_FromLong((long)result);
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9378 wxDC *arg2 = 0 ;
9379 double arg3 ;
9380 double arg4 ;
9381 double arg5 ;
9382 double arg6 ;
9383 bool arg7 = (bool) TRUE ;
9384 PyObject * obj0 = 0 ;
9385 PyObject * obj1 = 0 ;
9386 PyObject * obj6 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394 if (arg2 == NULL) {
9395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9396 }
9397 if (obj6) {
9398 arg7 = PyInt_AsLong(obj6) ? true : false;
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 Py_INCREF(Py_None); resultobj = Py_None;
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9418 bool arg2 ;
9419 double arg3 ;
9420 double arg4 ;
9421 int arg5 = (int) 0 ;
9422 int arg6 = (int) 0 ;
9423 PyObject * obj0 = 0 ;
9424 PyObject * obj1 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 arg2 = PyInt_AsLong(obj1) ? true : false;
9432 if (PyErr_Occurred()) SWIG_fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 Py_INCREF(Py_None); resultobj = Py_None;
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9450 double arg2 ;
9451 double arg3 ;
9452 int arg4 = (int) 0 ;
9453 int arg5 = (int) 0 ;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 Py_INCREF(Py_None); resultobj = Py_None;
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9478 double arg2 ;
9479 double arg3 ;
9480 int arg4 = (int) 0 ;
9481 int arg5 = (int) 0 ;
9482 PyObject * obj0 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 Py_INCREF(Py_None); resultobj = Py_None;
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9506 bool arg2 ;
9507 double arg3 ;
9508 double arg4 ;
9509 int arg5 = (int) 0 ;
9510 int arg6 = (int) 0 ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9519 arg2 = PyInt_AsLong(obj1) ? true : false;
9520 if (PyErr_Occurred()) SWIG_fail;
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 Py_INCREF(Py_None); resultobj = Py_None;
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9538 double arg2 ;
9539 double arg3 ;
9540 int arg4 = (int) 0 ;
9541 int arg5 = (int) 0 ;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 Py_INCREF(Py_None); resultobj = Py_None;
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9566 double arg2 ;
9567 double arg3 ;
9568 int arg4 = (int) 0 ;
9569 int arg5 = (int) 0 ;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 Py_INCREF(Py_None); resultobj = Py_None;
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9594 wxDC *arg2 = 0 ;
9595 double arg3 ;
9596 double arg4 ;
9597 double arg5 ;
9598 double arg6 ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 if (arg2 == NULL) {
9609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9628 wxDC *arg2 = 0 ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "dc", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 if (arg2 == NULL) {
9639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->base_OnDrawControlPoints(*arg2);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9658 wxDC *arg2 = 0 ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self",(char *) "dc", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 if (arg2 == NULL) {
9669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9670 }
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->base_OnEraseControlPoints(*arg2);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9688 wxDC *arg2 = 0 ;
9689 bool arg3 = (bool) TRUE ;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 PyObject * obj2 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9700 if (arg2 == NULL) {
9701 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9702 }
9703 if (obj2) {
9704 arg3 = PyInt_AsLong(obj2) ? true : false;
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 (arg1)->base_OnMoveLink(*arg2,arg3);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 Py_INCREF(Py_None); resultobj = Py_None;
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9724 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9725 bool arg3 ;
9726 double arg4 ;
9727 double arg5 ;
9728 int arg6 = (int) 0 ;
9729 int arg7 = (int) 0 ;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 PyObject * obj2 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9740 arg3 = PyInt_AsLong(obj2) ? true : false;
9741 if (PyErr_Occurred()) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 Py_INCREF(Py_None); resultobj = Py_None;
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9759 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9760 double arg3 ;
9761 double arg4 ;
9762 int arg5 = (int) 0 ;
9763 int arg6 = (int) 0 ;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj;
9789 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9790 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9791 double arg3 ;
9792 double arg4 ;
9793 int arg5 = (int) 0 ;
9794 int arg6 = (int) 0 ;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 Py_INCREF(Py_None); resultobj = Py_None;
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9821 double arg2 ;
9822 double arg3 ;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "w",(char *) "h", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->base_OnBeginSize(arg2,arg3);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 Py_INCREF(Py_None); resultobj = Py_None;
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
9847 double arg2 ;
9848 double arg3 ;
9849 PyObject * obj0 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self",(char *) "w",(char *) "h", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
9855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->base_OnEndSize(arg2,arg3);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
9871 PyObject *obj;
9872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
9874 Py_INCREF(obj);
9875 return Py_BuildValue((char *)"");
9876 }
9877 static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
9880 wxPyShape *arg2 = (wxPyShape *) NULL ;
9881 double arg3 = (double) 0.0 ;
9882 double arg4 = (double) 0.0 ;
9883 double arg5 = (double) 0.0 ;
9884 int arg6 = (int) 0 ;
9885 wxPyControlPoint *result;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOdddi:new_PyControlPoint",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
9893 if (obj0) {
9894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9895 }
9896 if (obj1) {
9897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9898 }
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj;
9915 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9916 PyObject *arg2 = (PyObject *) 0 ;
9917 PyObject *arg3 = (PyObject *) 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self",(char *) "self",(char *) "_class", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 arg2 = obj1;
9928 arg3 = obj2;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 (arg1)->_setCallbackInfo(arg2,arg3);
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 Py_INCREF(Py_None); resultobj = Py_None;
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9946 double arg2 ;
9947 PyObject * obj0 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self",(char *) "radius", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames,&obj0,&arg2)) goto fail;
9953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 (arg1)->SetCornerRadius(arg2);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 Py_INCREF(Py_None); resultobj = Py_None;
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9971 PyObject * obj0 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->base_OnDelete();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 Py_INCREF(Py_None); resultobj = Py_None;
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
9995 wxDC *arg2 = 0 ;
9996 PyObject * obj0 = 0 ;
9997 PyObject * obj1 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self",(char *) "dc", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 if (arg2 == NULL) {
10006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10007 }
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 (arg1)->base_OnDraw(*arg2);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 Py_INCREF(Py_None); resultobj = Py_None;
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10025 wxDC *arg2 = 0 ;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self",(char *) "dc", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10035 if (arg2 == NULL) {
10036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 (arg1)->base_OnDrawContents(*arg2);
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 Py_INCREF(Py_None); resultobj = Py_None;
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10055 wxDC *arg2 = 0 ;
10056 bool arg3 = (bool) FALSE ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 PyObject * obj2 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "dc",(char *) "erase", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 if (arg2 == NULL) {
10068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10069 }
10070 if (obj2) {
10071 arg3 = PyInt_AsLong(obj2) ? true : false;
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->base_OnDrawBranches(*arg2,arg3);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 Py_INCREF(Py_None); resultobj = Py_None;
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10091 wxDC *arg2 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self",(char *) "dc", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10101 if (arg2 == NULL) {
10102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10103 }
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 (arg1)->base_OnMoveLinks(*arg2);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 Py_INCREF(Py_None); resultobj = Py_None;
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10121 wxDC *arg2 = 0 ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self",(char *) "dc", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10131 if (arg2 == NULL) {
10132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 (arg1)->base_OnErase(*arg2);
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 Py_INCREF(Py_None); resultobj = Py_None;
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj;
10150 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10151 wxDC *arg2 = 0 ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "dc", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10161 if (arg2 == NULL) {
10162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10163 }
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 (arg1)->base_OnEraseContents(*arg2);
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 Py_INCREF(Py_None); resultobj = Py_None;
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10181 wxDC *arg2 = 0 ;
10182 PyObject * obj0 = 0 ;
10183 PyObject * obj1 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "dc", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 if (arg2 == NULL) {
10192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10193 }
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 (arg1)->base_OnHighlight(*arg2);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 Py_INCREF(Py_None); resultobj = Py_None;
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10211 double arg2 ;
10212 double arg3 ;
10213 int arg4 = (int) 0 ;
10214 int arg5 = (int) 0 ;
10215 PyObject * obj0 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 Py_INCREF(Py_None); resultobj = Py_None;
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10239 double arg2 ;
10240 double arg3 ;
10241 int arg4 = (int) 0 ;
10242 int arg5 = (int) 0 ;
10243 PyObject * obj0 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 Py_INCREF(Py_None); resultobj = Py_None;
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10267 double arg2 ;
10268 double arg3 ;
10269 int arg4 = (int) 0 ;
10270 int arg5 = (int) 0 ;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10295 double arg2 ;
10296 double arg3 ;
10297 PyObject * obj0 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "x",(char *) "y", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 (arg1)->base_OnSize(arg2,arg3);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 Py_INCREF(Py_None); resultobj = Py_None;
10312 return resultobj;
10313 fail:
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10321 wxDC *arg2 = 0 ;
10322 double arg3 ;
10323 double arg4 ;
10324 double arg5 ;
10325 double arg6 ;
10326 bool arg7 = (bool) TRUE ;
10327 bool result;
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
10330 PyObject * obj6 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
10342 arg7 = PyInt_AsLong(obj6) ? true : false;
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = PyInt_FromLong((long)result);
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10362 wxDC *arg2 = 0 ;
10363 double arg3 ;
10364 double arg4 ;
10365 double arg5 ;
10366 double arg6 ;
10367 bool arg7 = (bool) TRUE ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 PyObject * obj6 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
10376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10378 if (arg2 == NULL) {
10379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10380 }
10381 if (obj6) {
10382 arg7 = PyInt_AsLong(obj6) ? true : false;
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10402 bool arg2 ;
10403 double arg3 ;
10404 double arg4 ;
10405 int arg5 = (int) 0 ;
10406 int arg6 = (int) 0 ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 arg2 = PyInt_AsLong(obj1) ? true : false;
10416 if (PyErr_Occurred()) SWIG_fail;
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 Py_INCREF(Py_None); resultobj = Py_None;
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj;
10433 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10434 double arg2 ;
10435 double arg3 ;
10436 int arg4 = (int) 0 ;
10437 int arg5 = (int) 0 ;
10438 PyObject * obj0 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 Py_INCREF(Py_None); resultobj = Py_None;
10453 return resultobj;
10454 fail:
10455 return NULL;
10456 }
10457
10458
10459 static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10460 PyObject *resultobj;
10461 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10462 double arg2 ;
10463 double arg3 ;
10464 int arg4 = (int) 0 ;
10465 int arg5 = (int) 0 ;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 Py_INCREF(Py_None); resultobj = Py_None;
10481 return resultobj;
10482 fail:
10483 return NULL;
10484 }
10485
10486
10487 static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj;
10489 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10490 bool arg2 ;
10491 double arg3 ;
10492 double arg4 ;
10493 int arg5 = (int) 0 ;
10494 int arg6 = (int) 0 ;
10495 PyObject * obj0 = 0 ;
10496 PyObject * obj1 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10503 arg2 = PyInt_AsLong(obj1) ? true : false;
10504 if (PyErr_Occurred()) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 Py_INCREF(Py_None); resultobj = Py_None;
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10522 double arg2 ;
10523 double arg3 ;
10524 int arg4 = (int) 0 ;
10525 int arg5 = (int) 0 ;
10526 PyObject * obj0 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 Py_INCREF(Py_None); resultobj = Py_None;
10541 return resultobj;
10542 fail:
10543 return NULL;
10544 }
10545
10546
10547 static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10550 double arg2 ;
10551 double arg3 ;
10552 int arg4 = (int) 0 ;
10553 int arg5 = (int) 0 ;
10554 PyObject * obj0 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
10560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10578 wxDC *arg2 = 0 ;
10579 double arg3 ;
10580 double arg4 ;
10581 double arg5 ;
10582 double arg6 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 if (arg2 == NULL) {
10593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 return resultobj;
10604 fail:
10605 return NULL;
10606 }
10607
10608
10609 static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10612 wxDC *arg2 = 0 ;
10613 PyObject * obj0 = 0 ;
10614 PyObject * obj1 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "self",(char *) "dc", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 if (arg2 == NULL) {
10623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->base_OnDrawControlPoints(*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10642 wxDC *arg2 = 0 ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "dc", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
10650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10652 if (arg2 == NULL) {
10653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 (arg1)->base_OnEraseControlPoints(*arg2);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 Py_INCREF(Py_None); resultobj = Py_None;
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10672 wxDC *arg2 = 0 ;
10673 bool arg3 = (bool) TRUE ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 PyObject * obj2 = 0 ;
10677 char *kwnames[] = {
10678 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10679 };
10680
10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
10682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10684 if (arg2 == NULL) {
10685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10686 }
10687 if (obj2) {
10688 arg3 = PyInt_AsLong(obj2) ? true : false;
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->base_OnMoveLink(*arg2,arg3);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 Py_INCREF(Py_None); resultobj = Py_None;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10708 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10709 bool arg3 ;
10710 double arg4 ;
10711 double arg5 ;
10712 int arg6 = (int) 0 ;
10713 int arg7 = (int) 0 ;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 PyObject * obj2 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10724 arg3 = PyInt_AsLong(obj2) ? true : false;
10725 if (PyErr_Occurred()) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 Py_INCREF(Py_None); resultobj = Py_None;
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10743 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10744 double arg3 ;
10745 double arg4 ;
10746 int arg5 = (int) 0 ;
10747 int arg6 = (int) 0 ;
10748 PyObject * obj0 = 0 ;
10749 PyObject * obj1 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 Py_INCREF(Py_None); resultobj = Py_None;
10765 return resultobj;
10766 fail:
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10774 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10775 double arg3 ;
10776 double arg4 ;
10777 int arg5 = (int) 0 ;
10778 int arg6 = (int) 0 ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 Py_INCREF(Py_None); resultobj = Py_None;
10796 return resultobj;
10797 fail:
10798 return NULL;
10799 }
10800
10801
10802 static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10805 double arg2 ;
10806 double arg3 ;
10807 PyObject * obj0 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "w",(char *) "h", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 (arg1)->base_OnBeginSize(arg2,arg3);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 Py_INCREF(Py_None); resultobj = Py_None;
10822 return resultobj;
10823 fail:
10824 return NULL;
10825 }
10826
10827
10828 static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10829 PyObject *resultobj;
10830 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
10831 double arg2 ;
10832 double arg3 ;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self",(char *) "w",(char *) "h", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 (arg1)->base_OnEndSize(arg2,arg3);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 Py_INCREF(Py_None); resultobj = Py_None;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
10855 PyObject *obj;
10856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
10858 Py_INCREF(obj);
10859 return Py_BuildValue((char *)"");
10860 }
10861 static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxPyBitmapShape *result;
10864 char *kwnames[] = {
10865 NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (wxPyBitmapShape *)new wxPyBitmapShape();
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10886 PyObject *arg2 = (PyObject *) 0 ;
10887 PyObject *arg3 = (PyObject *) 0 ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 PyObject * obj2 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "self",(char *) "_class", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10897 arg2 = obj1;
10898 arg3 = obj2;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->_setCallbackInfo(arg2,arg3);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10916 wxBitmap *result;
10917 PyObject * obj0 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
10923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10924 {
10925 PyThreadState* __tstate = wxPyBeginAllowThreads();
10926 {
10927 wxBitmap &_result_ref = (arg1)->GetBitmap();
10928 result = (wxBitmap *) &_result_ref;
10929 }
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10944 wxString result;
10945 PyObject * obj0 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (arg1)->GetFilename();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 {
10960 #if wxUSE_UNICODE
10961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10962 #else
10963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10964 #endif
10965 }
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
10975 wxBitmap *arg2 = 0 ;
10976 PyObject * obj0 = 0 ;
10977 PyObject * obj1 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "bitmap", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10985 if (arg2 == NULL) {
10986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10987 }
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 Py_INCREF(Py_None); resultobj = Py_None;
10996 return resultobj;
10997 fail:
10998 return NULL;
10999 }
11000
11001
11002 static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11005 wxString *arg2 = 0 ;
11006 bool temp2 = false ;
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "filename", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 {
11016 arg2 = wxString_in_helper(obj1);
11017 if (arg2 == NULL) SWIG_fail;
11018 temp2 = true;
11019 }
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->SetFilename((wxString const &)*arg2);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 {
11029 if (temp2)
11030 delete arg2;
11031 }
11032 return resultobj;
11033 fail:
11034 {
11035 if (temp2)
11036 delete arg2;
11037 }
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11045 PyObject * obj0 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "self", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
11051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->base_OnDelete();
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 Py_INCREF(Py_None); resultobj = Py_None;
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11069 wxDC *arg2 = 0 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self",(char *) "dc", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11079 if (arg2 == NULL) {
11080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11081 }
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 (arg1)->base_OnDraw(*arg2);
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 Py_INCREF(Py_None); resultobj = Py_None;
11090 return resultobj;
11091 fail:
11092 return NULL;
11093 }
11094
11095
11096 static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj;
11098 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11099 wxDC *arg2 = 0 ;
11100 PyObject * obj0 = 0 ;
11101 PyObject * obj1 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self",(char *) "dc", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11109 if (arg2 == NULL) {
11110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11111 }
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->base_OnDrawContents(*arg2);
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11129 wxDC *arg2 = 0 ;
11130 bool arg3 = (bool) FALSE ;
11131 PyObject * obj0 = 0 ;
11132 PyObject * obj1 = 0 ;
11133 PyObject * obj2 = 0 ;
11134 char *kwnames[] = {
11135 (char *) "self",(char *) "dc",(char *) "erase", NULL
11136 };
11137
11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
11139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 if (arg2 == NULL) {
11142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11143 }
11144 if (obj2) {
11145 arg3 = PyInt_AsLong(obj2) ? true : false;
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->base_OnDrawBranches(*arg2,arg3);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11165 wxDC *arg2 = 0 ;
11166 PyObject * obj0 = 0 ;
11167 PyObject * obj1 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "self",(char *) "dc", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
11173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 if (arg2 == NULL) {
11176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11177 }
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->base_OnMoveLinks(*arg2);
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 Py_INCREF(Py_None); resultobj = Py_None;
11186 return resultobj;
11187 fail:
11188 return NULL;
11189 }
11190
11191
11192 static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11195 wxDC *arg2 = 0 ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "dc", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 if (arg2 == NULL) {
11206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11207 }
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 (arg1)->base_OnErase(*arg2);
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 Py_INCREF(Py_None); resultobj = Py_None;
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11225 wxDC *arg2 = 0 ;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self",(char *) "dc", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
11233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11235 if (arg2 == NULL) {
11236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->base_OnEraseContents(*arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 Py_INCREF(Py_None); resultobj = Py_None;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11255 wxDC *arg2 = 0 ;
11256 PyObject * obj0 = 0 ;
11257 PyObject * obj1 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self",(char *) "dc", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
11263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11265 if (arg2 == NULL) {
11266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 (arg1)->base_OnHighlight(*arg2);
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 Py_INCREF(Py_None); resultobj = Py_None;
11276 return resultobj;
11277 fail:
11278 return NULL;
11279 }
11280
11281
11282 static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11285 double arg2 ;
11286 double arg3 ;
11287 int arg4 = (int) 0 ;
11288 int arg5 = (int) 0 ;
11289 PyObject * obj0 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 return resultobj;
11305 fail:
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11313 double arg2 ;
11314 double arg3 ;
11315 int arg4 = (int) 0 ;
11316 int arg5 = (int) 0 ;
11317 PyObject * obj0 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11341 double arg2 ;
11342 double arg3 ;
11343 int arg4 = (int) 0 ;
11344 int arg5 = (int) 0 ;
11345 PyObject * obj0 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 Py_INCREF(Py_None); resultobj = Py_None;
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11369 double arg2 ;
11370 double arg3 ;
11371 PyObject * obj0 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "x",(char *) "y", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->base_OnSize(arg2,arg3);
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 Py_INCREF(Py_None); resultobj = Py_None;
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj;
11394 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11395 wxDC *arg2 = 0 ;
11396 double arg3 ;
11397 double arg4 ;
11398 double arg5 ;
11399 double arg6 ;
11400 bool arg7 = (bool) TRUE ;
11401 bool result;
11402 PyObject * obj0 = 0 ;
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj6 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
11416 arg7 = PyInt_AsLong(obj6) ? true : false;
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = PyInt_FromLong((long)result);
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11436 wxDC *arg2 = 0 ;
11437 double arg3 ;
11438 double arg4 ;
11439 double arg5 ;
11440 double arg6 ;
11441 bool arg7 = (bool) TRUE ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 PyObject * obj6 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11452 if (arg2 == NULL) {
11453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11454 }
11455 if (obj6) {
11456 arg7 = PyInt_AsLong(obj6) ? true : false;
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 Py_INCREF(Py_None); resultobj = Py_None;
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11476 bool arg2 ;
11477 double arg3 ;
11478 double arg4 ;
11479 int arg5 = (int) 0 ;
11480 int arg6 = (int) 0 ;
11481 PyObject * obj0 = 0 ;
11482 PyObject * obj1 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 arg2 = PyInt_AsLong(obj1) ? true : false;
11490 if (PyErr_Occurred()) SWIG_fail;
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 Py_INCREF(Py_None); resultobj = Py_None;
11499 return resultobj;
11500 fail:
11501 return NULL;
11502 }
11503
11504
11505 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj;
11507 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11508 double arg2 ;
11509 double arg3 ;
11510 int arg4 = (int) 0 ;
11511 int arg5 = (int) 0 ;
11512 PyObject * obj0 = 0 ;
11513 char *kwnames[] = {
11514 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 Py_INCREF(Py_None); resultobj = Py_None;
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11536 double arg2 ;
11537 double arg3 ;
11538 int arg4 = (int) 0 ;
11539 int arg5 = (int) 0 ;
11540 PyObject * obj0 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 Py_INCREF(Py_None); resultobj = Py_None;
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj;
11563 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11564 bool arg2 ;
11565 double arg3 ;
11566 double arg4 ;
11567 int arg5 = (int) 0 ;
11568 int arg6 = (int) 0 ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char *kwnames[] = {
11572 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11577 arg2 = PyInt_AsLong(obj1) ? true : false;
11578 if (PyErr_Occurred()) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 Py_INCREF(Py_None); resultobj = Py_None;
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11596 double arg2 ;
11597 double arg3 ;
11598 int arg4 = (int) 0 ;
11599 int arg5 = (int) 0 ;
11600 PyObject * obj0 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 Py_INCREF(Py_None); resultobj = Py_None;
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11624 double arg2 ;
11625 double arg3 ;
11626 int arg4 = (int) 0 ;
11627 int arg5 = (int) 0 ;
11628 PyObject * obj0 = 0 ;
11629 char *kwnames[] = {
11630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
11634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 Py_INCREF(Py_None); resultobj = Py_None;
11643 return resultobj;
11644 fail:
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11652 wxDC *arg2 = 0 ;
11653 double arg3 ;
11654 double arg4 ;
11655 double arg5 ;
11656 double arg6 ;
11657 PyObject * obj0 = 0 ;
11658 PyObject * obj1 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11666 if (arg2 == NULL) {
11667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11668 }
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 Py_INCREF(Py_None); resultobj = Py_None;
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11686 wxDC *arg2 = 0 ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "dc", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11696 if (arg2 == NULL) {
11697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 (arg1)->base_OnDrawControlPoints(*arg2);
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 Py_INCREF(Py_None); resultobj = Py_None;
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11716 wxDC *arg2 = 0 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self",(char *) "dc", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11726 if (arg2 == NULL) {
11727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->base_OnEraseControlPoints(*arg2);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11746 wxDC *arg2 = 0 ;
11747 bool arg3 = (bool) TRUE ;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 PyObject * obj2 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11758 if (arg2 == NULL) {
11759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11760 }
11761 if (obj2) {
11762 arg3 = PyInt_AsLong(obj2) ? true : false;
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 (arg1)->base_OnMoveLink(*arg2,arg3);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 Py_INCREF(Py_None); resultobj = Py_None;
11773 return resultobj;
11774 fail:
11775 return NULL;
11776 }
11777
11778
11779 static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11782 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11783 bool arg3 ;
11784 double arg4 ;
11785 double arg5 ;
11786 int arg6 = (int) 0 ;
11787 int arg7 = (int) 0 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 PyObject * obj2 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11798 arg3 = PyInt_AsLong(obj2) ? true : false;
11799 if (PyErr_Occurred()) SWIG_fail;
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 Py_INCREF(Py_None); resultobj = Py_None;
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11817 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11818 double arg3 ;
11819 double arg4 ;
11820 int arg5 = (int) 0 ;
11821 int arg6 = (int) 0 ;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 Py_INCREF(Py_None); resultobj = Py_None;
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11848 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11849 double arg3 ;
11850 double arg4 ;
11851 int arg5 = (int) 0 ;
11852 int arg6 = (int) 0 ;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 Py_INCREF(Py_None); resultobj = Py_None;
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11879 double arg2 ;
11880 double arg3 ;
11881 PyObject * obj0 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self",(char *) "w",(char *) "h", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->base_OnBeginSize(arg2,arg3);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj;
11904 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
11905 double arg2 ;
11906 double arg3 ;
11907 PyObject * obj0 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self",(char *) "w",(char *) "h", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
11913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 (arg1)->base_OnEndSize(arg2,arg3);
11917
11918 wxPyEndAllowThreads(__tstate);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
11921 Py_INCREF(Py_None); resultobj = Py_None;
11922 return resultobj;
11923 fail:
11924 return NULL;
11925 }
11926
11927
11928 static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
11929 PyObject *obj;
11930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11931 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
11932 Py_INCREF(obj);
11933 return Py_BuildValue((char *)"");
11934 }
11935 static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 wxPyDrawnShape *result;
11938 char *kwnames[] = {
11939 NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (wxPyDrawnShape *)new wxPyDrawnShape();
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11960 PyObject *arg2 = (PyObject *) 0 ;
11961 PyObject *arg3 = (PyObject *) 0 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 PyObject * obj2 = 0 ;
11965 char *kwnames[] = {
11966 (char *) "self",(char *) "self",(char *) "_class", NULL
11967 };
11968
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11971 arg2 = obj1;
11972 arg3 = obj2;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 (arg1)->_setCallbackInfo(arg2,arg3);
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 Py_INCREF(Py_None); resultobj = Py_None;
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
11990 PyObject * obj0 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 (arg1)->CalculateSize();
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 Py_INCREF(Py_None); resultobj = Py_None;
12005 return resultobj;
12006 fail:
12007 return NULL;
12008 }
12009
12010
12011 static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject *resultobj;
12013 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->DestroyClippingRect();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 Py_INCREF(Py_None); resultobj = Py_None;
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12038 wxPoint *arg2 = 0 ;
12039 wxPoint *arg3 = 0 ;
12040 wxPoint *arg4 = 0 ;
12041 wxPoint temp2 ;
12042 wxPoint temp3 ;
12043 wxPoint temp4 ;
12044 PyObject * obj0 = 0 ;
12045 PyObject * obj1 = 0 ;
12046 PyObject * obj2 = 0 ;
12047 PyObject * obj3 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12054 {
12055 arg2 = &temp2;
12056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12057 }
12058 {
12059 arg3 = &temp3;
12060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12061 }
12062 {
12063 arg4 = &temp4;
12064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12065 }
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 Py_INCREF(Py_None); resultobj = Py_None;
12074 return resultobj;
12075 fail:
12076 return NULL;
12077 }
12078
12079
12080 static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12083 int arg2 ;
12084 PyObject * obj0 = 0 ;
12085 char *kwnames[] = {
12086 (char *) "self",(char *) "angle", NULL
12087 };
12088
12089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&arg2)) goto fail;
12090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->DrawAtAngle(arg2);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 Py_INCREF(Py_None); resultobj = Py_None;
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12108 wxRect *arg2 = 0 ;
12109 double arg3 ;
12110 double arg4 ;
12111 wxRect temp2 ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 arg2 = &temp2;
12122 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12123 }
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 Py_INCREF(Py_None); resultobj = Py_None;
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12141 wxPoint *arg2 = 0 ;
12142 wxPoint *arg3 = 0 ;
12143 wxPoint temp2 ;
12144 wxPoint temp3 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 PyObject * obj2 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self",(char *) "point1",(char *) "point2", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12154 {
12155 arg2 = &temp2;
12156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12157 }
12158 {
12159 arg3 = &temp3;
12160 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12161 }
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 Py_INCREF(Py_None); resultobj = Py_None;
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12177 PyObject *resultobj;
12178 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12179 int arg2 ;
12180 wxPoint *arg3 = (wxPoint *) 0 ;
12181 PyObject * obj0 = 0 ;
12182 PyObject * obj2 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawLines",kwnames,&obj0,&arg2,&obj2)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12189 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 (arg1)->DrawLines(arg2,arg3);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 Py_INCREF(Py_None); resultobj = Py_None;
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj;
12206 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12207 wxPoint *arg2 = 0 ;
12208 wxPoint temp2 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self",(char *) "point", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12217 {
12218 arg2 = &temp2;
12219 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->DrawPoint((wxPoint const &)*arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 Py_INCREF(Py_None); resultobj = Py_None;
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12238 int arg2 ;
12239 wxPoint *arg3 = (wxPoint *) 0 ;
12240 int arg4 = (int) 0 ;
12241 PyObject * obj0 = 0 ;
12242 PyObject * obj2 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12249 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->DrawPolygon(arg2,arg3,arg4);
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 Py_INCREF(Py_None); resultobj = Py_None;
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12267 wxRect *arg2 = 0 ;
12268 wxRect temp2 ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self",(char *) "rect", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12277 {
12278 arg2 = &temp2;
12279 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12280 }
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 (arg1)->DrawRectangle((wxRect const &)*arg2);
12284
12285 wxPyEndAllowThreads(__tstate);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
12288 Py_INCREF(Py_None); resultobj = Py_None;
12289 return resultobj;
12290 fail:
12291 return NULL;
12292 }
12293
12294
12295 static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12298 wxRect *arg2 = 0 ;
12299 double arg3 ;
12300 wxRect temp2 ;
12301 PyObject * obj0 = 0 ;
12302 PyObject * obj1 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self",(char *) "rect",(char *) "radius", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&arg3)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12309 {
12310 arg2 = &temp2;
12311 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12312 }
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 Py_INCREF(Py_None); resultobj = Py_None;
12321 return resultobj;
12322 fail:
12323 return NULL;
12324 }
12325
12326
12327 static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj;
12329 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12330 int arg2 ;
12331 wxPoint *arg3 = (wxPoint *) 0 ;
12332 PyObject * obj0 = 0 ;
12333 PyObject * obj2 = 0 ;
12334 char *kwnames[] = {
12335 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12336 };
12337
12338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames,&obj0,&arg2,&obj2)) goto fail;
12339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12340 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->DrawSpline(arg2,arg3);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 Py_INCREF(Py_None); resultobj = Py_None;
12349 return resultobj;
12350 fail:
12351 return NULL;
12352 }
12353
12354
12355 static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
12356 PyObject *resultobj;
12357 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12358 wxString *arg2 = 0 ;
12359 wxPoint *arg3 = 0 ;
12360 bool temp2 = false ;
12361 wxPoint temp3 ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 PyObject * obj2 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "text",(char *) "point", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 {
12372 arg2 = wxString_in_helper(obj1);
12373 if (arg2 == NULL) SWIG_fail;
12374 temp2 = true;
12375 }
12376 {
12377 arg3 = &temp3;
12378 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12379 }
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12383
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 Py_INCREF(Py_None); resultobj = Py_None;
12388 {
12389 if (temp2)
12390 delete arg2;
12391 }
12392 return resultobj;
12393 fail:
12394 {
12395 if (temp2)
12396 delete arg2;
12397 }
12398 return NULL;
12399 }
12400
12401
12402 static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12405 int result;
12406 PyObject * obj0 = 0 ;
12407 char *kwnames[] = {
12408 (char *) "self", NULL
12409 };
12410
12411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
12412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (int)(arg1)->GetAngle();
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 resultobj = PyInt_FromLong((long)result);
12421 return resultobj;
12422 fail:
12423 return NULL;
12424 }
12425
12426
12427 static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12430 wxPseudoMetaFile *result;
12431 PyObject * obj0 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 {
12441 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
12442 result = (wxPseudoMetaFile *) &_result_ref;
12443 }
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
12449 return resultobj;
12450 fail:
12451 return NULL;
12452 }
12453
12454
12455 static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj;
12457 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12458 double result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
12465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (double)(arg1)->GetRotation();
12469
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) SWIG_fail;
12472 }
12473 resultobj = PyFloat_FromDouble(result);
12474 return resultobj;
12475 fail:
12476 return NULL;
12477 }
12478
12479
12480 static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12481 PyObject *resultobj;
12482 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12483 wxString *arg2 = 0 ;
12484 bool result;
12485 bool temp2 = false ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self",(char *) "filename", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 {
12495 arg2 = wxString_in_helper(obj1);
12496 if (arg2 == NULL) SWIG_fail;
12497 temp2 = true;
12498 }
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 resultobj = PyInt_FromLong((long)result);
12507 {
12508 if (temp2)
12509 delete arg2;
12510 }
12511 return resultobj;
12512 fail:
12513 {
12514 if (temp2)
12515 delete arg2;
12516 }
12517 return NULL;
12518 }
12519
12520
12521 static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12524 double arg2 ;
12525 double arg3 ;
12526 double arg4 ;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddd:PyDrawnShape_Rotate",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 (arg1)->Rotate(arg2,arg3,arg4);
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 Py_INCREF(Py_None); resultobj = Py_None;
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12551 wxRect *arg2 = 0 ;
12552 wxRect temp2 ;
12553 PyObject * obj0 = 0 ;
12554 PyObject * obj1 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self",(char *) "rect", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12561 {
12562 arg2 = &temp2;
12563 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12564 }
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 (arg1)->SetClippingRect((wxRect const &)*arg2);
12568
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 Py_INCREF(Py_None); resultobj = Py_None;
12573 return resultobj;
12574 fail:
12575 return NULL;
12576 }
12577
12578
12579 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12582 wxColour *arg2 = 0 ;
12583 wxColour temp2 ;
12584 PyObject * obj0 = 0 ;
12585 PyObject * obj1 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self",(char *) "colour", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
12591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12613 int arg2 ;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self",(char *) "mode", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&arg2)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 (arg1)->SetDrawnBackgroundMode(arg2);
12624
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 Py_INCREF(Py_None); resultobj = Py_None;
12629 return resultobj;
12630 fail:
12631 return NULL;
12632 }
12633
12634
12635 static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12636 PyObject *resultobj;
12637 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12638 wxBrush *arg2 = (wxBrush *) 0 ;
12639 bool arg3 = (bool) FALSE ;
12640 PyObject * obj0 = 0 ;
12641 PyObject * obj1 = 0 ;
12642 PyObject * obj2 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12649 {
12650 wxBrush* temp;
12651 if (obj1) {
12652 if (obj1 == Py_None) {
12653 temp = NULL;
12654 }
12655 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
12656 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
12657 return NULL;
12658 }
12659 }
12660 if (temp)
12661 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
12662 else
12663 arg2 = NULL;
12664 }
12665 if (obj2) {
12666 arg3 = PyInt_AsLong(obj2) ? true : false;
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 (arg1)->SetDrawnBrush(arg2,arg3);
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 Py_INCREF(Py_None); resultobj = Py_None;
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12686 wxFont *arg2 = (wxFont *) 0 ;
12687 PyObject * obj0 = 0 ;
12688 PyObject * obj1 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self",(char *) "font", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
12694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 {
12696 wxFont* temp;
12697 if (obj1) {
12698 if (obj1 == Py_None) {
12699 temp = NULL;
12700 }
12701 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
12702 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
12703 return NULL;
12704 }
12705 }
12706 if (temp)
12707 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
12708 temp->GetFamily(),
12709 temp->GetStyle(),
12710 temp->GetWeight(),
12711 temp->GetUnderlined(),
12712 temp->GetFaceName(),
12713 temp->GetEncoding());
12714 else
12715 arg2 = NULL;
12716 }
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 (arg1)->SetDrawnFont(arg2);
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 Py_INCREF(Py_None); resultobj = Py_None;
12725 return resultobj;
12726 fail:
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12734 wxPen *arg2 = (wxPen *) 0 ;
12735 bool arg3 = (bool) FALSE ;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 PyObject * obj2 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 {
12746 wxPen* temp;
12747 if (obj1) {
12748 if (obj1 == Py_None) {
12749 temp = NULL;
12750 }
12751 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
12752 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
12753 return NULL;
12754 }
12755 }
12756 if (temp)
12757 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
12758 temp->GetWidth(),
12759 temp->GetStyle());
12760 else
12761 arg2 = NULL;
12762 }
12763 if (obj2) {
12764 arg3 = PyInt_AsLong(obj2) ? true : false;
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 (arg1)->SetDrawnPen(arg2,arg3);
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 Py_INCREF(Py_None); resultobj = Py_None;
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12784 wxColour *arg2 = 0 ;
12785 wxColour temp2 ;
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "self",(char *) "colour", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
12793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12794 {
12795 arg2 = &temp2;
12796 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12797 }
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 Py_INCREF(Py_None); resultobj = Py_None;
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12815 double arg2 ;
12816 double arg3 ;
12817 PyObject * obj0 = 0 ;
12818 char *kwnames[] = {
12819 (char *) "self",(char *) "sx",(char *) "sy", NULL
12820 };
12821
12822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
12823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 (arg1)->Scale(arg2,arg3);
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 Py_INCREF(Py_None); resultobj = Py_None;
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12841 bool arg2 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self",(char *) "save", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12850 arg2 = PyInt_AsLong(obj1) ? true : false;
12851 if (PyErr_Occurred()) SWIG_fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 (arg1)->SetSaveToFile(arg2);
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 Py_INCREF(Py_None); resultobj = Py_None;
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12869 double arg2 ;
12870 double arg3 ;
12871 PyObject * obj0 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "self",(char *) "x",(char *) "y", NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_Translate",kwnames,&obj0,&arg2,&arg3)) goto fail;
12877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 (arg1)->Translate(arg2,arg3);
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 Py_INCREF(Py_None); resultobj = Py_None;
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 (arg1)->base_OnDelete();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12919 wxDC *arg2 = 0 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "dc", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12929 if (arg2 == NULL) {
12930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12931 }
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 (arg1)->base_OnDraw(*arg2);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 Py_INCREF(Py_None); resultobj = Py_None;
12940 return resultobj;
12941 fail:
12942 return NULL;
12943 }
12944
12945
12946 static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12947 PyObject *resultobj;
12948 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12949 wxDC *arg2 = 0 ;
12950 PyObject * obj0 = 0 ;
12951 PyObject * obj1 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self",(char *) "dc", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12959 if (arg2 == NULL) {
12960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 (arg1)->base_OnDrawContents(*arg2);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 return resultobj;
12971 fail:
12972 return NULL;
12973 }
12974
12975
12976 static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
12979 wxDC *arg2 = 0 ;
12980 bool arg3 = (bool) FALSE ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 char *kwnames[] = {
12985 (char *) "self",(char *) "dc",(char *) "erase", NULL
12986 };
12987
12988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12991 if (arg2 == NULL) {
12992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12993 }
12994 if (obj2) {
12995 arg3 = PyInt_AsLong(obj2) ? true : false;
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 (arg1)->base_OnDrawBranches(*arg2,arg3);
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 Py_INCREF(Py_None); resultobj = Py_None;
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13015 wxDC *arg2 = 0 ;
13016 PyObject * obj0 = 0 ;
13017 PyObject * obj1 = 0 ;
13018 char *kwnames[] = {
13019 (char *) "self",(char *) "dc", NULL
13020 };
13021
13022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13025 if (arg2 == NULL) {
13026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->base_OnMoveLinks(*arg2);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13045 wxDC *arg2 = 0 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "dc", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 if (arg2 == NULL) {
13056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 (arg1)->base_OnErase(*arg2);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 Py_INCREF(Py_None); resultobj = Py_None;
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13075 wxDC *arg2 = 0 ;
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "self",(char *) "dc", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13085 if (arg2 == NULL) {
13086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 (arg1)->base_OnEraseContents(*arg2);
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 Py_INCREF(Py_None); resultobj = Py_None;
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13105 wxDC *arg2 = 0 ;
13106 PyObject * obj0 = 0 ;
13107 PyObject * obj1 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "self",(char *) "dc", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13115 if (arg2 == NULL) {
13116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13117 }
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 (arg1)->base_OnHighlight(*arg2);
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 Py_INCREF(Py_None); resultobj = Py_None;
13126 return resultobj;
13127 fail:
13128 return NULL;
13129 }
13130
13131
13132 static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13135 double arg2 ;
13136 double arg3 ;
13137 int arg4 = (int) 0 ;
13138 int arg5 = (int) 0 ;
13139 PyObject * obj0 = 0 ;
13140 char *kwnames[] = {
13141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13142 };
13143
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13149
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 Py_INCREF(Py_None); resultobj = Py_None;
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj;
13162 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13163 double arg2 ;
13164 double arg3 ;
13165 int arg4 = (int) 0 ;
13166 int arg5 = (int) 0 ;
13167 PyObject * obj0 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 Py_INCREF(Py_None); resultobj = Py_None;
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13191 double arg2 ;
13192 double arg3 ;
13193 int arg4 = (int) 0 ;
13194 int arg5 = (int) 0 ;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 Py_INCREF(Py_None); resultobj = Py_None;
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13219 double arg2 ;
13220 double arg3 ;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "x",(char *) "y", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 (arg1)->base_OnSize(arg2,arg3);
13231
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 Py_INCREF(Py_None); resultobj = Py_None;
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13245 wxDC *arg2 = 0 ;
13246 double arg3 ;
13247 double arg4 ;
13248 double arg5 ;
13249 double arg6 ;
13250 bool arg7 = (bool) TRUE ;
13251 bool result;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 PyObject * obj6 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
13266 arg7 = PyInt_AsLong(obj6) ? true : false;
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = PyInt_FromLong((long)result);
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13286 wxDC *arg2 = 0 ;
13287 double arg3 ;
13288 double arg4 ;
13289 double arg5 ;
13290 double arg6 ;
13291 bool arg7 = (bool) TRUE ;
13292 PyObject * obj0 = 0 ;
13293 PyObject * obj1 = 0 ;
13294 PyObject * obj6 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
13300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 if (arg2 == NULL) {
13303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13304 }
13305 if (obj6) {
13306 arg7 = PyInt_AsLong(obj6) ? true : false;
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 Py_INCREF(Py_None); resultobj = Py_None;
13317 return resultobj;
13318 fail:
13319 return NULL;
13320 }
13321
13322
13323 static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj;
13325 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13326 bool arg2 ;
13327 double arg3 ;
13328 double arg4 ;
13329 int arg5 = (int) 0 ;
13330 int arg6 = (int) 0 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13339 arg2 = PyInt_AsLong(obj1) ? true : false;
13340 if (PyErr_Occurred()) SWIG_fail;
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 Py_INCREF(Py_None); resultobj = Py_None;
13349 return resultobj;
13350 fail:
13351 return NULL;
13352 }
13353
13354
13355 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj;
13357 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13358 double arg2 ;
13359 double arg3 ;
13360 int arg4 = (int) 0 ;
13361 int arg5 = (int) 0 ;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 Py_INCREF(Py_None); resultobj = Py_None;
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13386 double arg2 ;
13387 double arg3 ;
13388 int arg4 = (int) 0 ;
13389 int arg5 = (int) 0 ;
13390 PyObject * obj0 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 Py_INCREF(Py_None); resultobj = Py_None;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj;
13413 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13414 bool arg2 ;
13415 double arg3 ;
13416 double arg4 ;
13417 int arg5 = (int) 0 ;
13418 int arg6 = (int) 0 ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 arg2 = PyInt_AsLong(obj1) ? true : false;
13428 if (PyErr_Occurred()) SWIG_fail;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 return resultobj;
13438 fail:
13439 return NULL;
13440 }
13441
13442
13443 static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj;
13445 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13446 double arg2 ;
13447 double arg3 ;
13448 int arg4 = (int) 0 ;
13449 int arg5 = (int) 0 ;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13457 {
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
13460
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
13464 Py_INCREF(Py_None); resultobj = Py_None;
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj;
13473 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13474 double arg2 ;
13475 double arg3 ;
13476 int arg4 = (int) 0 ;
13477 int arg5 = (int) 0 ;
13478 PyObject * obj0 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 Py_INCREF(Py_None); resultobj = Py_None;
13493 return resultobj;
13494 fail:
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13502 wxDC *arg2 = 0 ;
13503 double arg3 ;
13504 double arg4 ;
13505 double arg5 ;
13506 double arg6 ;
13507 PyObject * obj0 = 0 ;
13508 PyObject * obj1 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13516 if (arg2 == NULL) {
13517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13518 }
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 Py_INCREF(Py_None); resultobj = Py_None;
13527 return resultobj;
13528 fail:
13529 return NULL;
13530 }
13531
13532
13533 static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13536 wxDC *arg2 = 0 ;
13537 PyObject * obj0 = 0 ;
13538 PyObject * obj1 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self",(char *) "dc", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13546 if (arg2 == NULL) {
13547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13548 }
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 (arg1)->base_OnDrawControlPoints(*arg2);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 Py_INCREF(Py_None); resultobj = Py_None;
13557 return resultobj;
13558 fail:
13559 return NULL;
13560 }
13561
13562
13563 static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13566 wxDC *arg2 = 0 ;
13567 PyObject * obj0 = 0 ;
13568 PyObject * obj1 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "self",(char *) "dc", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13576 if (arg2 == NULL) {
13577 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13578 }
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->base_OnEraseControlPoints(*arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13596 wxDC *arg2 = 0 ;
13597 bool arg3 = (bool) TRUE ;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 PyObject * obj2 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13608 if (arg2 == NULL) {
13609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13610 }
13611 if (obj2) {
13612 arg3 = PyInt_AsLong(obj2) ? true : false;
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->base_OnMoveLink(*arg2,arg3);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13632 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13633 bool arg3 ;
13634 double arg4 ;
13635 double arg5 ;
13636 int arg6 = (int) 0 ;
13637 int arg7 = (int) 0 ;
13638 PyObject * obj0 = 0 ;
13639 PyObject * obj1 = 0 ;
13640 PyObject * obj2 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
13646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13648 arg3 = PyInt_AsLong(obj2) ? true : false;
13649 if (PyErr_Occurred()) SWIG_fail;
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13653
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 Py_INCREF(Py_None); resultobj = Py_None;
13658 return resultobj;
13659 fail:
13660 return NULL;
13661 }
13662
13663
13664 static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13667 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13668 double arg3 ;
13669 double arg4 ;
13670 int arg5 = (int) 0 ;
13671 int arg6 = (int) 0 ;
13672 PyObject * obj0 = 0 ;
13673 PyObject * obj1 = 0 ;
13674 char *kwnames[] = {
13675 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13676 };
13677
13678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 Py_INCREF(Py_None); resultobj = Py_None;
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13696 PyObject *resultobj;
13697 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13698 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13699 double arg3 ;
13700 double arg4 ;
13701 int arg5 = (int) 0 ;
13702 int arg6 = (int) 0 ;
13703 PyObject * obj0 = 0 ;
13704 PyObject * obj1 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
13710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 Py_INCREF(Py_None); resultobj = Py_None;
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13729 double arg2 ;
13730 double arg3 ;
13731 PyObject * obj0 = 0 ;
13732 char *kwnames[] = {
13733 (char *) "self",(char *) "w",(char *) "h", NULL
13734 };
13735
13736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->base_OnBeginSize(arg2,arg3);
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 Py_INCREF(Py_None); resultobj = Py_None;
13746 return resultobj;
13747 fail:
13748 return NULL;
13749 }
13750
13751
13752 static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
13755 double arg2 ;
13756 double arg3 ;
13757 PyObject * obj0 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "w",(char *) "h", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 (arg1)->base_OnEndSize(arg2,arg3);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 Py_INCREF(Py_None); resultobj = Py_None;
13772 return resultobj;
13773 fail:
13774 return NULL;
13775 }
13776
13777
13778 static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
13779 PyObject *obj;
13780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13781 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
13782 Py_INCREF(obj);
13783 return Py_BuildValue((char *)"");
13784 }
13785 static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 int arg1 ;
13788 wxPyShape *arg2 = (wxPyShape *) 0 ;
13789 PyObject *arg3 = (PyObject *) 0 ;
13790 wxOGLConstraint *result;
13791 PyObject * obj1 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOO:new_OGLConstraint",kwnames,&arg1,&obj1,&obj2)) goto fail;
13798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 arg3 = obj2;
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
13803
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 {
13808 resultobj = wxPyMake_wxObject(result);
13809 }
13810 return resultobj;
13811 fail:
13812 return NULL;
13813 }
13814
13815
13816 static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13819 bool result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
13826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (bool)(arg1)->Evaluate();
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = PyInt_FromLong((long)result);
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13844 double arg2 ;
13845 double arg3 ;
13846 PyObject * obj0 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self",(char *) "x",(char *) "y", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_SetSpacing",kwnames,&obj0,&arg2,&arg3)) goto fail;
13852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 (arg1)->SetSpacing(arg2,arg3);
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 Py_INCREF(Py_None); resultobj = Py_None;
13861 return resultobj;
13862 fail:
13863 return NULL;
13864 }
13865
13866
13867 static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
13870 double arg2 ;
13871 double arg3 ;
13872 bool result;
13873 PyObject * obj0 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "a",(char *) "b", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:OGLConstraint_Equals",kwnames,&obj0,&arg2,&arg3)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (bool)(arg1)->Equals(arg2,arg3);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 resultobj = PyInt_FromLong((long)result);
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
13895 PyObject *obj;
13896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13897 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
13898 Py_INCREF(obj);
13899 return Py_BuildValue((char *)"");
13900 }
13901 static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxPyCompositeShape *result;
13904 char *kwnames[] = {
13905 NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
13911 result = (wxPyCompositeShape *)new wxPyCompositeShape();
13912
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj;
13925 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13926 PyObject *arg2 = (PyObject *) 0 ;
13927 PyObject *arg3 = (PyObject *) 0 ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 PyObject * obj2 = 0 ;
13931 char *kwnames[] = {
13932 (char *) "self",(char *) "self",(char *) "_class", NULL
13933 };
13934
13935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13937 arg2 = obj1;
13938 arg3 = obj2;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 (arg1)->_setCallbackInfo(arg2,arg3);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 Py_INCREF(Py_None); resultobj = Py_None;
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13956 wxPyShape *arg2 = (wxPyShape *) 0 ;
13957 wxPyShape *arg3 = (wxPyShape *) NULL ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 PyObject * obj2 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13968 if (obj2) {
13969 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->AddChild(arg2,arg3);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 Py_INCREF(Py_None); resultobj = Py_None;
13979 return resultobj;
13980 fail:
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
13988 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
13989 wxOGLConstraint *result;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "constraint", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 {
14007 resultobj = wxPyMake_wxObject(result);
14008 }
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14018 int arg2 ;
14019 wxPyShape *arg3 = (wxPyShape *) 0 ;
14020 PyObject *arg4 = (PyObject *) 0 ;
14021 wxOGLConstraint *result;
14022 PyObject * obj0 = 0 ;
14023 PyObject * obj2 = 0 ;
14024 PyObject * obj3 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14031 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 arg4 = obj3;
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 {
14041 resultobj = wxPyMake_wxObject(result);
14042 }
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14052 int arg2 ;
14053 wxPyShape *arg3 = (wxPyShape *) 0 ;
14054 wxPyShape *arg4 = (wxPyShape *) 0 ;
14055 wxOGLConstraint *result;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj2 = 0 ;
14058 PyObject * obj3 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 {
14075 resultobj = wxPyMake_wxObject(result);
14076 }
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 (arg1)->CalculateSize();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 Py_INCREF(Py_None); resultobj = Py_None;
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14110 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
14111 bool result;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self",(char *) "division", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
14119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (bool)(arg1)->ContainsDivision(arg2);
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 resultobj = PyInt_FromLong((long)result);
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14138 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self",(char *) "constraint", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 (arg1)->DeleteConstraint(arg2);
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 Py_INCREF(Py_None); resultobj = Py_None;
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14165 wxPyShape *arg2 = (wxPyShape *) 0 ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self",(char *) "child", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 (arg1)->DeleteConstraintsInvolvingChild(arg2);
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 Py_INCREF(Py_None); resultobj = Py_None;
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14192 wxPyShape *result;
14193 PyObject * obj0 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
14199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (wxPyShape *)(arg1)->FindContainerImage();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 resultobj = wxPyMake_wxShapeEvtHandler(result);
14209 }
14210 return resultobj;
14211 fail:
14212 return NULL;
14213 }
14214
14215
14216 static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
14217 PyObject *resultobj;
14218 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14219 PyObject *result;
14220 PyObject * obj0 = 0 ;
14221 char *kwnames[] = {
14222 (char *) "self", NULL
14223 };
14224
14225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
14226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = result;
14235 return resultobj;
14236 fail:
14237 return NULL;
14238 }
14239
14240
14241 static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14244 PyObject *result;
14245 PyObject * obj0 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self", NULL
14248 };
14249
14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
14251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14252 {
14253 PyThreadState* __tstate = wxPyBeginAllowThreads();
14254 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
14255
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 resultobj = result;
14260 return resultobj;
14261 fail:
14262 return NULL;
14263 }
14264
14265
14266 static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
14267 PyObject *resultobj;
14268 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14269 PyObject * obj0 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
14275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 (arg1)->MakeContainer();
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 Py_INCREF(Py_None); resultobj = Py_None;
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14293 bool result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (bool)(arg1)->Recompute();
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = PyInt_FromLong((long)result);
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14318 wxPyShape *arg2 = (wxPyShape *) 0 ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self",(char *) "child", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 (arg1)->RemoveChild(arg2);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 Py_INCREF(Py_None); resultobj = Py_None;
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14345 PyObject * obj0 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->base_OnDelete();
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14369 wxDC *arg2 = 0 ;
14370 PyObject * obj0 = 0 ;
14371 PyObject * obj1 = 0 ;
14372 char *kwnames[] = {
14373 (char *) "self",(char *) "dc", NULL
14374 };
14375
14376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
14377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14379 if (arg2 == NULL) {
14380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14381 }
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 (arg1)->base_OnDraw(*arg2);
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 Py_INCREF(Py_None); resultobj = Py_None;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14399 wxDC *arg2 = 0 ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self",(char *) "dc", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14409 if (arg2 == NULL) {
14410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14411 }
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 (arg1)->base_OnDrawContents(*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_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14429 wxDC *arg2 = 0 ;
14430 bool arg3 = (bool) FALSE ;
14431 PyObject * obj0 = 0 ;
14432 PyObject * obj1 = 0 ;
14433 PyObject * obj2 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self",(char *) "dc",(char *) "erase", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
14439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14441 if (arg2 == NULL) {
14442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14443 }
14444 if (obj2) {
14445 arg3 = PyInt_AsLong(obj2) ? true : false;
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 (arg1)->base_OnDrawBranches(*arg2,arg3);
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 Py_INCREF(Py_None); resultobj = Py_None;
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14465 wxDC *arg2 = 0 ;
14466 PyObject * obj0 = 0 ;
14467 PyObject * obj1 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self",(char *) "dc", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
14473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 if (arg2 == NULL) {
14476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14477 }
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 (arg1)->base_OnMoveLinks(*arg2);
14481
14482 wxPyEndAllowThreads(__tstate);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 }
14485 Py_INCREF(Py_None); resultobj = Py_None;
14486 return resultobj;
14487 fail:
14488 return NULL;
14489 }
14490
14491
14492 static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
14493 PyObject *resultobj;
14494 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14495 wxDC *arg2 = 0 ;
14496 PyObject * obj0 = 0 ;
14497 PyObject * obj1 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "self",(char *) "dc", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14505 if (arg2 == NULL) {
14506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->base_OnErase(*arg2);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14525 wxDC *arg2 = 0 ;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self",(char *) "dc", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14535 if (arg2 == NULL) {
14536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14537 }
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 (arg1)->base_OnEraseContents(*arg2);
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 Py_INCREF(Py_None); resultobj = Py_None;
14546 return resultobj;
14547 fail:
14548 return NULL;
14549 }
14550
14551
14552 static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14555 wxDC *arg2 = 0 ;
14556 PyObject * obj0 = 0 ;
14557 PyObject * obj1 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self",(char *) "dc", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",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_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14565 if (arg2 == NULL) {
14566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14567 }
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 (arg1)->base_OnHighlight(*arg2);
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 Py_INCREF(Py_None); resultobj = Py_None;
14576 return resultobj;
14577 fail:
14578 return NULL;
14579 }
14580
14581
14582 static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj;
14584 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14585 double arg2 ;
14586 double arg3 ;
14587 int arg4 = (int) 0 ;
14588 int arg5 = (int) 0 ;
14589 PyObject * obj0 = 0 ;
14590 char *kwnames[] = {
14591 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14592 };
14593
14594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 Py_INCREF(Py_None); resultobj = Py_None;
14604 return resultobj;
14605 fail:
14606 return NULL;
14607 }
14608
14609
14610 static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj;
14612 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14613 double arg2 ;
14614 double arg3 ;
14615 int arg4 = (int) 0 ;
14616 int arg5 = (int) 0 ;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 Py_INCREF(Py_None); resultobj = Py_None;
14632 return resultobj;
14633 fail:
14634 return NULL;
14635 }
14636
14637
14638 static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14641 double arg2 ;
14642 double arg3 ;
14643 int arg4 = (int) 0 ;
14644 int arg5 = (int) 0 ;
14645 PyObject * obj0 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 Py_INCREF(Py_None); resultobj = Py_None;
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14669 double arg2 ;
14670 double arg3 ;
14671 PyObject * obj0 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self",(char *) "x",(char *) "y", NULL
14674 };
14675
14676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 (arg1)->base_OnSize(arg2,arg3);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 Py_INCREF(Py_None); resultobj = Py_None;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14695 wxDC *arg2 = 0 ;
14696 double arg3 ;
14697 double arg4 ;
14698 double arg5 ;
14699 double arg6 ;
14700 bool arg7 = (bool) TRUE ;
14701 bool result;
14702 PyObject * obj0 = 0 ;
14703 PyObject * obj1 = 0 ;
14704 PyObject * obj6 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
14716 arg7 = PyInt_AsLong(obj6) ? true : false;
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 resultobj = PyInt_FromLong((long)result);
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14736 wxDC *arg2 = 0 ;
14737 double arg3 ;
14738 double arg4 ;
14739 double arg5 ;
14740 double arg6 ;
14741 bool arg7 = (bool) TRUE ;
14742 PyObject * obj0 = 0 ;
14743 PyObject * obj1 = 0 ;
14744 PyObject * obj6 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14752 if (arg2 == NULL) {
14753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14754 }
14755 if (obj6) {
14756 arg7 = PyInt_AsLong(obj6) ? true : false;
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 Py_INCREF(Py_None); resultobj = Py_None;
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14776 bool arg2 ;
14777 double arg3 ;
14778 double arg4 ;
14779 int arg5 = (int) 0 ;
14780 int arg6 = (int) 0 ;
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14789 arg2 = PyInt_AsLong(obj1) ? true : false;
14790 if (PyErr_Occurred()) SWIG_fail;
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 Py_INCREF(Py_None); resultobj = Py_None;
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14808 double arg2 ;
14809 double arg3 ;
14810 int arg4 = (int) 0 ;
14811 int arg5 = (int) 0 ;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 Py_INCREF(Py_None); resultobj = Py_None;
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14836 double arg2 ;
14837 double arg3 ;
14838 int arg4 = (int) 0 ;
14839 int arg5 = (int) 0 ;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 Py_INCREF(Py_None); resultobj = Py_None;
14855 return resultobj;
14856 fail:
14857 return NULL;
14858 }
14859
14860
14861 static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14864 bool arg2 ;
14865 double arg3 ;
14866 double arg4 ;
14867 int arg5 = (int) 0 ;
14868 int arg6 = (int) 0 ;
14869 PyObject * obj0 = 0 ;
14870 PyObject * obj1 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14877 arg2 = PyInt_AsLong(obj1) ? true : false;
14878 if (PyErr_Occurred()) SWIG_fail;
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 Py_INCREF(Py_None); resultobj = Py_None;
14887 return resultobj;
14888 fail:
14889 return NULL;
14890 }
14891
14892
14893 static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14896 double arg2 ;
14897 double arg3 ;
14898 int arg4 = (int) 0 ;
14899 int arg5 = (int) 0 ;
14900 PyObject * obj0 = 0 ;
14901 char *kwnames[] = {
14902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 Py_INCREF(Py_None); resultobj = Py_None;
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14924 double arg2 ;
14925 double arg3 ;
14926 int arg4 = (int) 0 ;
14927 int arg5 = (int) 0 ;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14952 wxDC *arg2 = 0 ;
14953 double arg3 ;
14954 double arg4 ;
14955 double arg5 ;
14956 double arg6 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14966 if (arg2 == NULL) {
14967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14968 }
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
14986 wxDC *arg2 = 0 ;
14987 PyObject * obj0 = 0 ;
14988 PyObject * obj1 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self",(char *) "dc", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14996 if (arg2 == NULL) {
14997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14998 }
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 (arg1)->base_OnDrawControlPoints(*arg2);
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 Py_INCREF(Py_None); resultobj = Py_None;
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15016 wxDC *arg2 = 0 ;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self",(char *) "dc", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15026 if (arg2 == NULL) {
15027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15028 }
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 (arg1)->base_OnEraseControlPoints(*arg2);
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 Py_INCREF(Py_None); resultobj = Py_None;
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15046 wxDC *arg2 = 0 ;
15047 bool arg3 = (bool) TRUE ;
15048 PyObject * obj0 = 0 ;
15049 PyObject * obj1 = 0 ;
15050 PyObject * obj2 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15058 if (arg2 == NULL) {
15059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15060 }
15061 if (obj2) {
15062 arg3 = PyInt_AsLong(obj2) ? true : false;
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 (arg1)->base_OnMoveLink(*arg2,arg3);
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 Py_INCREF(Py_None); resultobj = Py_None;
15073 return resultobj;
15074 fail:
15075 return NULL;
15076 }
15077
15078
15079 static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15082 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15083 bool arg3 ;
15084 double arg4 ;
15085 double arg5 ;
15086 int arg6 = (int) 0 ;
15087 int arg7 = (int) 0 ;
15088 PyObject * obj0 = 0 ;
15089 PyObject * obj1 = 0 ;
15090 PyObject * obj2 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 arg3 = PyInt_AsLong(obj2) ? true : false;
15099 if (PyErr_Occurred()) SWIG_fail;
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 Py_INCREF(Py_None); resultobj = Py_None;
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15117 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15118 double arg3 ;
15119 double arg4 ;
15120 int arg5 = (int) 0 ;
15121 int arg6 = (int) 0 ;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 Py_INCREF(Py_None); resultobj = Py_None;
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15148 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15149 double arg3 ;
15150 double arg4 ;
15151 int arg5 = (int) 0 ;
15152 int arg6 = (int) 0 ;
15153 PyObject * obj0 = 0 ;
15154 PyObject * obj1 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 Py_INCREF(Py_None); resultobj = Py_None;
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15179 double arg2 ;
15180 double arg3 ;
15181 PyObject * obj0 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "self",(char *) "w",(char *) "h", NULL
15184 };
15185
15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->base_OnBeginSize(arg2,arg3);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
15205 double arg2 ;
15206 double arg3 ;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self",(char *) "w",(char *) "h", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->base_OnEndSize(arg2,arg3);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
15229 PyObject *obj;
15230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15231 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
15232 Py_INCREF(obj);
15233 return Py_BuildValue((char *)"");
15234 }
15235 static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 double arg1 = (double) 0.0 ;
15238 double arg2 = (double) 0.0 ;
15239 wxPyDividedShape *result;
15240 char *kwnames[] = {
15241 (char *) "width",(char *) "height", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyDividedShape",kwnames,&arg1,&arg2)) goto fail;
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15262 PyObject *arg2 = (PyObject *) 0 ;
15263 PyObject *arg3 = (PyObject *) 0 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 PyObject * obj2 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self",(char *) "self",(char *) "_class", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15273 arg2 = obj1;
15274 arg3 = obj2;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->_setCallbackInfo(arg2,arg3);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->EditRegions();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 (arg1)->SetRegionSizes();
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 Py_INCREF(Py_None); resultobj = Py_None;
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 (arg1)->base_OnDelete();
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 Py_INCREF(Py_None); resultobj = Py_None;
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15364 wxDC *arg2 = 0 ;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "dc", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15374 if (arg2 == NULL) {
15375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 (arg1)->base_OnDraw(*arg2);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 Py_INCREF(Py_None); resultobj = Py_None;
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15394 wxDC *arg2 = 0 ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self",(char *) "dc", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
15402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15404 if (arg2 == NULL) {
15405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15406 }
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 (arg1)->base_OnDrawContents(*arg2);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 Py_INCREF(Py_None); resultobj = Py_None;
15415 return resultobj;
15416 fail:
15417 return NULL;
15418 }
15419
15420
15421 static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj;
15423 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15424 wxDC *arg2 = 0 ;
15425 bool arg3 = (bool) FALSE ;
15426 PyObject * obj0 = 0 ;
15427 PyObject * obj1 = 0 ;
15428 PyObject * obj2 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self",(char *) "dc",(char *) "erase", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 if (arg2 == NULL) {
15437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15438 }
15439 if (obj2) {
15440 arg3 = PyInt_AsLong(obj2) ? true : false;
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->base_OnDrawBranches(*arg2,arg3);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15460 wxDC *arg2 = 0 ;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "dc", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15470 if (arg2 == NULL) {
15471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15472 }
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 (arg1)->base_OnMoveLinks(*arg2);
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 Py_INCREF(Py_None); resultobj = Py_None;
15481 return resultobj;
15482 fail:
15483 return NULL;
15484 }
15485
15486
15487 static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15490 wxDC *arg2 = 0 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "dc", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15500 if (arg2 == NULL) {
15501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15502 }
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 (arg1)->base_OnErase(*arg2);
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 Py_INCREF(Py_None); resultobj = Py_None;
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15520 wxDC *arg2 = 0 ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self",(char *) "dc", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15530 if (arg2 == NULL) {
15531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15532 }
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->base_OnEraseContents(*arg2);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15550 wxDC *arg2 = 0 ;
15551 PyObject * obj0 = 0 ;
15552 PyObject * obj1 = 0 ;
15553 char *kwnames[] = {
15554 (char *) "self",(char *) "dc", NULL
15555 };
15556
15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
15558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15560 if (arg2 == NULL) {
15561 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15562 }
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->base_OnHighlight(*arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15580 double arg2 ;
15581 double arg3 ;
15582 int arg4 = (int) 0 ;
15583 int arg5 = (int) 0 ;
15584 PyObject * obj0 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15608 double arg2 ;
15609 double arg3 ;
15610 int arg4 = (int) 0 ;
15611 int arg5 = (int) 0 ;
15612 PyObject * obj0 = 0 ;
15613 char *kwnames[] = {
15614 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15615 };
15616
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 Py_INCREF(Py_None); resultobj = Py_None;
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15636 double arg2 ;
15637 double arg3 ;
15638 int arg4 = (int) 0 ;
15639 int arg5 = (int) 0 ;
15640 PyObject * obj0 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 Py_INCREF(Py_None); resultobj = Py_None;
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15664 double arg2 ;
15665 double arg3 ;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self",(char *) "x",(char *) "y", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->base_OnSize(arg2,arg3);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 Py_INCREF(Py_None); resultobj = Py_None;
15681 return resultobj;
15682 fail:
15683 return NULL;
15684 }
15685
15686
15687 static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15690 wxDC *arg2 = 0 ;
15691 double arg3 ;
15692 double arg4 ;
15693 double arg5 ;
15694 double arg6 ;
15695 bool arg7 = (bool) TRUE ;
15696 bool result;
15697 PyObject * obj0 = 0 ;
15698 PyObject * obj1 = 0 ;
15699 PyObject * obj6 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
15711 arg7 = PyInt_AsLong(obj6) ? true : false;
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = PyInt_FromLong((long)result);
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15731 wxDC *arg2 = 0 ;
15732 double arg3 ;
15733 double arg4 ;
15734 double arg5 ;
15735 double arg6 ;
15736 bool arg7 = (bool) TRUE ;
15737 PyObject * obj0 = 0 ;
15738 PyObject * obj1 = 0 ;
15739 PyObject * obj6 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15747 if (arg2 == NULL) {
15748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15749 }
15750 if (obj6) {
15751 arg7 = PyInt_AsLong(obj6) ? true : false;
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15771 bool arg2 ;
15772 double arg3 ;
15773 double arg4 ;
15774 int arg5 = (int) 0 ;
15775 int arg6 = (int) 0 ;
15776 PyObject * obj0 = 0 ;
15777 PyObject * obj1 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15784 arg2 = PyInt_AsLong(obj1) ? true : false;
15785 if (PyErr_Occurred()) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15803 double arg2 ;
15804 double arg3 ;
15805 int arg4 = (int) 0 ;
15806 int arg5 = (int) 0 ;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 Py_INCREF(Py_None); resultobj = Py_None;
15822 return resultobj;
15823 fail:
15824 return NULL;
15825 }
15826
15827
15828 static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15831 double arg2 ;
15832 double arg3 ;
15833 int arg4 = (int) 0 ;
15834 int arg5 = (int) 0 ;
15835 PyObject * obj0 = 0 ;
15836 char *kwnames[] = {
15837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15838 };
15839
15840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 Py_INCREF(Py_None); resultobj = Py_None;
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15857 PyObject *resultobj;
15858 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15859 bool arg2 ;
15860 double arg3 ;
15861 double arg4 ;
15862 int arg5 = (int) 0 ;
15863 int arg6 = (int) 0 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15872 arg2 = PyInt_AsLong(obj1) ? true : false;
15873 if (PyErr_Occurred()) SWIG_fail;
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
15877
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 Py_INCREF(Py_None); resultobj = Py_None;
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15891 double arg2 ;
15892 double arg3 ;
15893 int arg4 = (int) 0 ;
15894 int arg5 = (int) 0 ;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 Py_INCREF(Py_None); resultobj = Py_None;
15910 return resultobj;
15911 fail:
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15919 double arg2 ;
15920 double arg3 ;
15921 int arg4 = (int) 0 ;
15922 int arg5 = (int) 0 ;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 Py_INCREF(Py_None); resultobj = Py_None;
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15947 wxDC *arg2 = 0 ;
15948 double arg3 ;
15949 double arg4 ;
15950 double arg5 ;
15951 double arg6 ;
15952 PyObject * obj0 = 0 ;
15953 PyObject * obj1 = 0 ;
15954 char *kwnames[] = {
15955 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15956 };
15957
15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
15959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15961 if (arg2 == NULL) {
15962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15963 }
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
15981 wxDC *arg2 = 0 ;
15982 PyObject * obj0 = 0 ;
15983 PyObject * obj1 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "dc", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15991 if (arg2 == NULL) {
15992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15993 }
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 (arg1)->base_OnDrawControlPoints(*arg2);
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 Py_INCREF(Py_None); resultobj = Py_None;
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16011 wxDC *arg2 = 0 ;
16012 PyObject * obj0 = 0 ;
16013 PyObject * obj1 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self",(char *) "dc", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16021 if (arg2 == NULL) {
16022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->base_OnEraseControlPoints(*arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16041 wxDC *arg2 = 0 ;
16042 bool arg3 = (bool) TRUE ;
16043 PyObject * obj0 = 0 ;
16044 PyObject * obj1 = 0 ;
16045 PyObject * obj2 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16053 if (arg2 == NULL) {
16054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16055 }
16056 if (obj2) {
16057 arg3 = PyInt_AsLong(obj2) ? true : false;
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 (arg1)->base_OnMoveLink(*arg2,arg3);
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 Py_INCREF(Py_None); resultobj = Py_None;
16068 return resultobj;
16069 fail:
16070 return NULL;
16071 }
16072
16073
16074 static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj;
16076 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16077 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16078 bool arg3 ;
16079 double arg4 ;
16080 double arg5 ;
16081 int arg6 = (int) 0 ;
16082 int arg7 = (int) 0 ;
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 PyObject * obj2 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16088 };
16089
16090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
16091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 arg3 = PyInt_AsLong(obj2) ? true : false;
16094 if (PyErr_Occurred()) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 Py_INCREF(Py_None); resultobj = Py_None;
16103 return resultobj;
16104 fail:
16105 return NULL;
16106 }
16107
16108
16109 static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj;
16111 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16112 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16113 double arg3 ;
16114 double arg4 ;
16115 int arg5 = (int) 0 ;
16116 int arg6 = (int) 0 ;
16117 PyObject * obj0 = 0 ;
16118 PyObject * obj1 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 Py_INCREF(Py_None); resultobj = Py_None;
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16143 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16144 double arg3 ;
16145 double arg4 ;
16146 int arg5 = (int) 0 ;
16147 int arg6 = (int) 0 ;
16148 PyObject * obj0 = 0 ;
16149 PyObject * obj1 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 Py_INCREF(Py_None); resultobj = Py_None;
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16174 double arg2 ;
16175 double arg3 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self",(char *) "w",(char *) "h", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 (arg1)->base_OnBeginSize(arg2,arg3);
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 Py_INCREF(Py_None); resultobj = Py_None;
16191 return resultobj;
16192 fail:
16193 return NULL;
16194 }
16195
16196
16197 static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
16200 double arg2 ;
16201 double arg3 ;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "w",(char *) "h", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 (arg1)->base_OnEndSize(arg2,arg3);
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 Py_INCREF(Py_None); resultobj = Py_None;
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
16224 PyObject *obj;
16225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
16227 Py_INCREF(obj);
16228 return Py_BuildValue((char *)"");
16229 }
16230 static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxPyDivisionShape *result;
16233 char *kwnames[] = {
16234 NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 result = (wxPyDivisionShape *)new wxPyDivisionShape();
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 {
16246 resultobj = wxPyMake_wxShapeEvtHandler(result);
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16257 PyObject *arg2 = (PyObject *) 0 ;
16258 PyObject *arg3 = (PyObject *) 0 ;
16259 PyObject * obj0 = 0 ;
16260 PyObject * obj1 = 0 ;
16261 PyObject * obj2 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self",(char *) "self",(char *) "_class", NULL
16264 };
16265
16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16268 arg2 = obj1;
16269 arg3 = obj2;
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 (arg1)->_setCallbackInfo(arg2,arg3);
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 Py_INCREF(Py_None); resultobj = Py_None;
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16287 double arg2 ;
16288 bool arg3 ;
16289 PyObject * obj0 = 0 ;
16290 PyObject * obj2 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "bottom",(char *) "test", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&arg2,&obj2)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 arg3 = PyInt_AsLong(obj2) ? true : false;
16298 if (PyErr_Occurred()) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 (arg1)->AdjustBottom(arg2,arg3);
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16316 double arg2 ;
16317 bool arg3 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj2 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "left",(char *) "test", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&arg2,&obj2)) goto fail;
16325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16326 arg3 = PyInt_AsLong(obj2) ? true : false;
16327 if (PyErr_Occurred()) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 (arg1)->AdjustLeft(arg2,arg3);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 Py_INCREF(Py_None); resultobj = Py_None;
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16345 double arg2 ;
16346 bool arg3 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj2 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "right",(char *) "test", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames,&obj0,&arg2,&obj2)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16355 arg3 = PyInt_AsLong(obj2) ? true : false;
16356 if (PyErr_Occurred()) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 (arg1)->AdjustRight(arg2,arg3);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 Py_INCREF(Py_None); resultobj = Py_None;
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16374 double arg2 ;
16375 bool arg3 ;
16376 PyObject * obj0 = 0 ;
16377 PyObject * obj2 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self",(char *) "top",(char *) "test", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames,&obj0,&arg2,&obj2)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 arg3 = PyInt_AsLong(obj2) ? true : false;
16385 if (PyErr_Occurred()) SWIG_fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 (arg1)->AdjustTop(arg2,arg3);
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 Py_INCREF(Py_None); resultobj = Py_None;
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16403 int arg2 ;
16404 PyObject * obj0 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "direction", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_Divide",kwnames,&obj0,&arg2)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16411 {
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 (arg1)->Divide(arg2);
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 Py_INCREF(Py_None); resultobj = Py_None;
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16428 int arg2 ;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self",(char *) "side", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_EditEdge",kwnames,&obj0,&arg2)) goto fail;
16435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 (arg1)->EditEdge(arg2);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 Py_INCREF(Py_None); resultobj = Py_None;
16444 return resultobj;
16445 fail:
16446 return NULL;
16447 }
16448
16449
16450 static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16453 wxPyDivisionShape *result;
16454 PyObject * obj0 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 {
16469 resultobj = wxPyMake_wxShapeEvtHandler(result);
16470 }
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj;
16479 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16480 int result;
16481 PyObject * obj0 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self", NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
16487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (int)(arg1)->GetHandleSide();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = PyInt_FromLong((long)result);
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16505 wxPyDivisionShape *result;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 {
16521 resultobj = wxPyMake_wxShapeEvtHandler(result);
16522 }
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16532 wxString result;
16533 PyObject * obj0 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
16539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 result = (arg1)->GetLeftSideColour();
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 {
16548 #if wxUSE_UNICODE
16549 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16550 #else
16551 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16552 #endif
16553 }
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16563 wxPen *result;
16564 PyObject * obj0 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
16570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 result = (wxPen *)(arg1)->GetLeftSidePen();
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16588 wxPyDivisionShape *result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 resultobj = wxPyMake_wxShapeEvtHandler(result);
16605 }
16606 return resultobj;
16607 fail:
16608 return NULL;
16609 }
16610
16611
16612 static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16615 wxPyDivisionShape *result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 resultobj = wxPyMake_wxShapeEvtHandler(result);
16632 }
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16642 wxPen *result;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
16649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (wxPen *)(arg1)->GetTopSidePen();
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16667 int arg2 ;
16668 double arg3 ;
16669 bool arg4 ;
16670 PyObject * obj0 = 0 ;
16671 PyObject * obj3 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16678 arg4 = PyInt_AsLong(obj3) ? true : false;
16679 if (PyErr_Occurred()) SWIG_fail;
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 Py_INCREF(Py_None); resultobj = Py_None;
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16697 double arg2 ;
16698 double arg3 ;
16699 PyObject * obj0 = 0 ;
16700 char *kwnames[] = {
16701 (char *) "self",(char *) "x",(char *) "y", NULL
16702 };
16703
16704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames,&obj0,&arg2,&arg3)) goto fail;
16705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 (arg1)->PopupMenu(arg2,arg3);
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 Py_INCREF(Py_None); resultobj = Py_None;
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16723 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self",(char *) "shape", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
16731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 (arg1)->SetBottomSide(arg2);
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 Py_INCREF(Py_None); resultobj = Py_None;
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj;
16749 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16750 int arg2 ;
16751 PyObject * obj0 = 0 ;
16752 char *kwnames[] = {
16753 (char *) "self",(char *) "side", NULL
16754 };
16755
16756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames,&obj0,&arg2)) goto fail;
16757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 (arg1)->SetHandleSide(arg2);
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 Py_INCREF(Py_None); resultobj = Py_None;
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16775 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "shape", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->SetLeftSide(arg2);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 return resultobj;
16794 fail:
16795 return NULL;
16796 }
16797
16798
16799 static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16800 PyObject *resultobj;
16801 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16802 wxString *arg2 = 0 ;
16803 bool temp2 = false ;
16804 PyObject * obj0 = 0 ;
16805 PyObject * obj1 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self",(char *) "colour", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16812 {
16813 arg2 = wxString_in_helper(obj1);
16814 if (arg2 == NULL) SWIG_fail;
16815 temp2 = true;
16816 }
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 (arg1)->SetLeftSideColour((wxString const &)*arg2);
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 Py_INCREF(Py_None); resultobj = Py_None;
16825 {
16826 if (temp2)
16827 delete arg2;
16828 }
16829 return resultobj;
16830 fail:
16831 {
16832 if (temp2)
16833 delete arg2;
16834 }
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16842 wxPen *arg2 = (wxPen *) 0 ;
16843 PyObject * obj0 = 0 ;
16844 PyObject * obj1 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "pen", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16851 {
16852 wxPen* temp;
16853 if (obj1) {
16854 if (obj1 == Py_None) {
16855 temp = NULL;
16856 }
16857 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16858 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16859 return NULL;
16860 }
16861 }
16862 if (temp)
16863 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
16864 temp->GetWidth(),
16865 temp->GetStyle());
16866 else
16867 arg2 = NULL;
16868 }
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 (arg1)->SetLeftSidePen(arg2);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 Py_INCREF(Py_None); resultobj = Py_None;
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj;
16885 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16886 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16887 PyObject * obj0 = 0 ;
16888 PyObject * obj1 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self",(char *) "shape", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 (arg1)->SetRightSide(arg2);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16913 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "self",(char *) "shape", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
16921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 (arg1)->SetTopSide(arg2);
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 Py_INCREF(Py_None); resultobj = Py_None;
16931 return resultobj;
16932 fail:
16933 return NULL;
16934 }
16935
16936
16937 static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16940 wxString *arg2 = 0 ;
16941 bool temp2 = false ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self",(char *) "colour", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16950 {
16951 arg2 = wxString_in_helper(obj1);
16952 if (arg2 == NULL) SWIG_fail;
16953 temp2 = true;
16954 }
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->SetTopSideColour((wxString const &)*arg2);
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 Py_INCREF(Py_None); resultobj = Py_None;
16963 {
16964 if (temp2)
16965 delete arg2;
16966 }
16967 return resultobj;
16968 fail:
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
16980 wxPen *arg2 = (wxPen *) 0 ;
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "pen", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
16988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16989 {
16990 wxPen* temp;
16991 if (obj1) {
16992 if (obj1 == Py_None) {
16993 temp = NULL;
16994 }
16995 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
16996 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
16997 return NULL;
16998 }
16999 }
17000 if (temp)
17001 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17002 temp->GetWidth(),
17003 temp->GetStyle());
17004 else
17005 arg2 = NULL;
17006 }
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 (arg1)->SetTopSidePen(arg2);
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 Py_INCREF(Py_None); resultobj = Py_None;
17015 return resultobj;
17016 fail:
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 (arg1)->base_OnDelete();
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 Py_INCREF(Py_None); resultobj = Py_None;
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17048 wxDC *arg2 = 0 ;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self",(char *) "dc", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 if (arg2 == NULL) {
17059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17060 }
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 (arg1)->base_OnDraw(*arg2);
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 Py_INCREF(Py_None); resultobj = Py_None;
17069 return resultobj;
17070 fail:
17071 return NULL;
17072 }
17073
17074
17075 static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17078 wxDC *arg2 = 0 ;
17079 PyObject * obj0 = 0 ;
17080 PyObject * obj1 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self",(char *) "dc", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17088 if (arg2 == NULL) {
17089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17090 }
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 (arg1)->base_OnDrawContents(*arg2);
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 Py_INCREF(Py_None); resultobj = Py_None;
17099 return resultobj;
17100 fail:
17101 return NULL;
17102 }
17103
17104
17105 static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj;
17107 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17108 wxDC *arg2 = 0 ;
17109 bool arg3 = (bool) FALSE ;
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 PyObject * obj2 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self",(char *) "dc",(char *) "erase", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17120 if (arg2 == NULL) {
17121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17122 }
17123 if (obj2) {
17124 arg3 = PyInt_AsLong(obj2) ? true : false;
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 (arg1)->base_OnDrawBranches(*arg2,arg3);
17130
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 Py_INCREF(Py_None); resultobj = Py_None;
17135 return resultobj;
17136 fail:
17137 return NULL;
17138 }
17139
17140
17141 static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17144 wxDC *arg2 = 0 ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "dc", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 if (arg2 == NULL) {
17155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17156 }
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 (arg1)->base_OnMoveLinks(*arg2);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 Py_INCREF(Py_None); resultobj = Py_None;
17165 return resultobj;
17166 fail:
17167 return NULL;
17168 }
17169
17170
17171 static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17174 wxDC *arg2 = 0 ;
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "dc", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17184 if (arg2 == NULL) {
17185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17186 }
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 (arg1)->base_OnErase(*arg2);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 Py_INCREF(Py_None); resultobj = Py_None;
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17204 wxDC *arg2 = 0 ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "dc", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
17212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 if (arg2 == NULL) {
17215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->base_OnEraseContents(*arg2);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17234 wxDC *arg2 = 0 ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "dc", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17244 if (arg2 == NULL) {
17245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17246 }
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 (arg1)->base_OnHighlight(*arg2);
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 Py_INCREF(Py_None); resultobj = Py_None;
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17264 double arg2 ;
17265 double arg3 ;
17266 int arg4 = (int) 0 ;
17267 int arg5 = (int) 0 ;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 Py_INCREF(Py_None); resultobj = Py_None;
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17292 double arg2 ;
17293 double arg3 ;
17294 int arg4 = (int) 0 ;
17295 int arg5 = (int) 0 ;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 Py_INCREF(Py_None); resultobj = Py_None;
17311 return resultobj;
17312 fail:
17313 return NULL;
17314 }
17315
17316
17317 static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17320 double arg2 ;
17321 double arg3 ;
17322 int arg4 = (int) 0 ;
17323 int arg5 = (int) 0 ;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17348 double arg2 ;
17349 double arg3 ;
17350 PyObject * obj0 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self",(char *) "x",(char *) "y", NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 (arg1)->base_OnSize(arg2,arg3);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 Py_INCREF(Py_None); resultobj = Py_None;
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17374 wxDC *arg2 = 0 ;
17375 double arg3 ;
17376 double arg4 ;
17377 double arg5 ;
17378 double arg6 ;
17379 bool arg7 = (bool) TRUE ;
17380 bool result;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 PyObject * obj6 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
17395 arg7 = PyInt_AsLong(obj6) ? true : false;
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 resultobj = PyInt_FromLong((long)result);
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17415 wxDC *arg2 = 0 ;
17416 double arg3 ;
17417 double arg4 ;
17418 double arg5 ;
17419 double arg6 ;
17420 bool arg7 = (bool) TRUE ;
17421 PyObject * obj0 = 0 ;
17422 PyObject * obj1 = 0 ;
17423 PyObject * obj6 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
17429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17431 if (arg2 == NULL) {
17432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17433 }
17434 if (obj6) {
17435 arg7 = PyInt_AsLong(obj6) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 Py_INCREF(Py_None); resultobj = Py_None;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17455 bool arg2 ;
17456 double arg3 ;
17457 double arg4 ;
17458 int arg5 = (int) 0 ;
17459 int arg6 = (int) 0 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17468 arg2 = PyInt_AsLong(obj1) ? true : false;
17469 if (PyErr_Occurred()) SWIG_fail;
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 Py_INCREF(Py_None); resultobj = Py_None;
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17487 double arg2 ;
17488 double arg3 ;
17489 int arg4 = (int) 0 ;
17490 int arg5 = (int) 0 ;
17491 PyObject * obj0 = 0 ;
17492 char *kwnames[] = {
17493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17494 };
17495
17496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17515 double arg2 ;
17516 double arg3 ;
17517 int arg4 = (int) 0 ;
17518 int arg5 = (int) 0 ;
17519 PyObject * obj0 = 0 ;
17520 char *kwnames[] = {
17521 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17522 };
17523
17524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 Py_INCREF(Py_None); resultobj = Py_None;
17534 return resultobj;
17535 fail:
17536 return NULL;
17537 }
17538
17539
17540 static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17543 bool arg2 ;
17544 double arg3 ;
17545 double arg4 ;
17546 int arg5 = (int) 0 ;
17547 int arg6 = (int) 0 ;
17548 PyObject * obj0 = 0 ;
17549 PyObject * obj1 = 0 ;
17550 char *kwnames[] = {
17551 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17552 };
17553
17554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17556 arg2 = PyInt_AsLong(obj1) ? true : false;
17557 if (PyErr_Occurred()) SWIG_fail;
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 Py_INCREF(Py_None); resultobj = Py_None;
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17575 double arg2 ;
17576 double arg3 ;
17577 int arg4 = (int) 0 ;
17578 int arg5 = (int) 0 ;
17579 PyObject * obj0 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17586 {
17587 PyThreadState* __tstate = wxPyBeginAllowThreads();
17588 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
17589
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 Py_INCREF(Py_None); resultobj = Py_None;
17594 return resultobj;
17595 fail:
17596 return NULL;
17597 }
17598
17599
17600 static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17601 PyObject *resultobj;
17602 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17603 double arg2 ;
17604 double arg3 ;
17605 int arg4 = (int) 0 ;
17606 int arg5 = (int) 0 ;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 Py_INCREF(Py_None); resultobj = Py_None;
17622 return resultobj;
17623 fail:
17624 return NULL;
17625 }
17626
17627
17628 static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17631 wxDC *arg2 = 0 ;
17632 double arg3 ;
17633 double arg4 ;
17634 double arg5 ;
17635 double arg6 ;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 if (arg2 == NULL) {
17646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 Py_INCREF(Py_None); resultobj = Py_None;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17665 wxDC *arg2 = 0 ;
17666 PyObject * obj0 = 0 ;
17667 PyObject * obj1 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self",(char *) "dc", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17675 if (arg2 == NULL) {
17676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17677 }
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 (arg1)->base_OnDrawControlPoints(*arg2);
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 Py_INCREF(Py_None); resultobj = Py_None;
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
17693 PyObject *resultobj;
17694 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17695 wxDC *arg2 = 0 ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "dc", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17705 if (arg2 == NULL) {
17706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17707 }
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->base_OnEraseControlPoints(*arg2);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 Py_INCREF(Py_None); resultobj = Py_None;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17725 wxDC *arg2 = 0 ;
17726 bool arg3 = (bool) TRUE ;
17727 PyObject * obj0 = 0 ;
17728 PyObject * obj1 = 0 ;
17729 PyObject * obj2 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 if (arg2 == NULL) {
17738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17739 }
17740 if (obj2) {
17741 arg3 = PyInt_AsLong(obj2) ? true : false;
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->base_OnMoveLink(*arg2,arg3);
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17761 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17762 bool arg3 ;
17763 double arg4 ;
17764 double arg5 ;
17765 int arg6 = (int) 0 ;
17766 int arg7 = (int) 0 ;
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 PyObject * obj2 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17772 };
17773
17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
17775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17777 arg3 = PyInt_AsLong(obj2) ? true : false;
17778 if (PyErr_Occurred()) SWIG_fail;
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
17782
17783 wxPyEndAllowThreads(__tstate);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 Py_INCREF(Py_None); resultobj = Py_None;
17787 return resultobj;
17788 fail:
17789 return NULL;
17790 }
17791
17792
17793 static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17796 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17797 double arg3 ;
17798 double arg4 ;
17799 int arg5 = (int) 0 ;
17800 int arg6 = (int) 0 ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 Py_INCREF(Py_None); resultobj = Py_None;
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj;
17826 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17827 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17828 double arg3 ;
17829 double arg4 ;
17830 int arg5 = (int) 0 ;
17831 int arg6 = (int) 0 ;
17832 PyObject * obj0 = 0 ;
17833 PyObject * obj1 = 0 ;
17834 char *kwnames[] = {
17835 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
17839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 Py_INCREF(Py_None); resultobj = Py_None;
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj;
17857 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17858 double arg2 ;
17859 double arg3 ;
17860 PyObject * obj0 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "w",(char *) "h", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 (arg1)->base_OnBeginSize(arg2,arg3);
17870
17871 wxPyEndAllowThreads(__tstate);
17872 if (PyErr_Occurred()) SWIG_fail;
17873 }
17874 Py_INCREF(Py_None); resultobj = Py_None;
17875 return resultobj;
17876 fail:
17877 return NULL;
17878 }
17879
17880
17881 static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
17884 double arg2 ;
17885 double arg3 ;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self",(char *) "w",(char *) "h", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->base_OnEndSize(arg2,arg3);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
17908 PyObject *obj;
17909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17910 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
17911 Py_INCREF(obj);
17912 return Py_BuildValue((char *)"");
17913 }
17914 static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 double arg1 = (double) 0.0 ;
17917 double arg2 = (double) 0.0 ;
17918 wxPyEllipseShape *result;
17919 char *kwnames[] = {
17920 (char *) "width",(char *) "height", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyEllipseShape",kwnames,&arg1,&arg2)) goto fail;
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17941 PyObject *arg2 = (PyObject *) 0 ;
17942 PyObject *arg3 = (PyObject *) 0 ;
17943 PyObject * obj0 = 0 ;
17944 PyObject * obj1 = 0 ;
17945 PyObject * obj2 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "self",(char *) "_class", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17952 arg2 = obj1;
17953 arg3 = obj2;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->_setCallbackInfo(arg2,arg3);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
17971 wxDC *arg2 = 0 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "dc", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 if (arg2 == NULL) {
17982 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 (arg1)->base_OnDraw(*arg2);
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 Py_INCREF(Py_None); resultobj = Py_None;
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18001 wxDC *arg2 = 0 ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "dc", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 if (arg2 == NULL) {
18012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 (arg1)->base_OnDrawContents(*arg2);
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 Py_INCREF(Py_None); resultobj = Py_None;
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18031 wxDC *arg2 = 0 ;
18032 bool arg3 = (bool) FALSE ;
18033 PyObject * obj0 = 0 ;
18034 PyObject * obj1 = 0 ;
18035 PyObject * obj2 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self",(char *) "dc",(char *) "erase", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18043 if (arg2 == NULL) {
18044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18045 }
18046 if (obj2) {
18047 arg3 = PyInt_AsLong(obj2) ? true : false;
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->base_OnDrawBranches(*arg2,arg3);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18067 wxDC *arg2 = 0 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "dc", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18077 if (arg2 == NULL) {
18078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18079 }
18080 {
18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
18082 (arg1)->base_OnMoveLinks(*arg2);
18083
18084 wxPyEndAllowThreads(__tstate);
18085 if (PyErr_Occurred()) SWIG_fail;
18086 }
18087 Py_INCREF(Py_None); resultobj = Py_None;
18088 return resultobj;
18089 fail:
18090 return NULL;
18091 }
18092
18093
18094 static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
18095 PyObject *resultobj;
18096 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18097 wxDC *arg2 = 0 ;
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
18100 char *kwnames[] = {
18101 (char *) "self",(char *) "dc", NULL
18102 };
18103
18104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
18105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18107 if (arg2 == NULL) {
18108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18109 }
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 (arg1)->base_OnErase(*arg2);
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 Py_INCREF(Py_None); resultobj = Py_None;
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18127 wxDC *arg2 = 0 ;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 char *kwnames[] = {
18131 (char *) "self",(char *) "dc", NULL
18132 };
18133
18134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18137 if (arg2 == NULL) {
18138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18139 }
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 (arg1)->base_OnEraseContents(*arg2);
18143
18144 wxPyEndAllowThreads(__tstate);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 }
18147 Py_INCREF(Py_None); resultobj = Py_None;
18148 return resultobj;
18149 fail:
18150 return NULL;
18151 }
18152
18153
18154 static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18155 PyObject *resultobj;
18156 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18157 wxDC *arg2 = 0 ;
18158 PyObject * obj0 = 0 ;
18159 PyObject * obj1 = 0 ;
18160 char *kwnames[] = {
18161 (char *) "self",(char *) "dc", NULL
18162 };
18163
18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 if (arg2 == NULL) {
18168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18169 }
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 (arg1)->base_OnHighlight(*arg2);
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 Py_INCREF(Py_None); resultobj = Py_None;
18178 return resultobj;
18179 fail:
18180 return NULL;
18181 }
18182
18183
18184 static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18185 PyObject *resultobj;
18186 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18187 double arg2 ;
18188 double arg3 ;
18189 int arg4 = (int) 0 ;
18190 int arg5 = (int) 0 ;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 Py_INCREF(Py_None); resultobj = Py_None;
18206 return resultobj;
18207 fail:
18208 return NULL;
18209 }
18210
18211
18212 static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18213 PyObject *resultobj;
18214 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18215 double arg2 ;
18216 double arg3 ;
18217 int arg4 = (int) 0 ;
18218 int arg5 = (int) 0 ;
18219 PyObject * obj0 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 Py_INCREF(Py_None); resultobj = Py_None;
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18243 double arg2 ;
18244 double arg3 ;
18245 int arg4 = (int) 0 ;
18246 int arg5 = (int) 0 ;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 Py_INCREF(Py_None); resultobj = Py_None;
18262 return resultobj;
18263 fail:
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18271 double arg2 ;
18272 double arg3 ;
18273 PyObject * obj0 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self",(char *) "x",(char *) "y", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->base_OnSize(arg2,arg3);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18297 wxDC *arg2 = 0 ;
18298 double arg3 ;
18299 double arg4 ;
18300 double arg5 ;
18301 double arg6 ;
18302 bool arg7 = (bool) TRUE ;
18303 bool result;
18304 PyObject * obj0 = 0 ;
18305 PyObject * obj1 = 0 ;
18306 PyObject * obj6 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
18318 arg7 = PyInt_AsLong(obj6) ? true : false;
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = PyInt_FromLong((long)result);
18329 return resultobj;
18330 fail:
18331 return NULL;
18332 }
18333
18334
18335 static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18336 PyObject *resultobj;
18337 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18338 wxDC *arg2 = 0 ;
18339 double arg3 ;
18340 double arg4 ;
18341 double arg5 ;
18342 double arg6 ;
18343 bool arg7 = (bool) TRUE ;
18344 PyObject * obj0 = 0 ;
18345 PyObject * obj1 = 0 ;
18346 PyObject * obj6 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18354 if (arg2 == NULL) {
18355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18356 }
18357 if (obj6) {
18358 arg7 = PyInt_AsLong(obj6) ? true : false;
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 Py_INCREF(Py_None); resultobj = Py_None;
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18378 bool arg2 ;
18379 double arg3 ;
18380 double arg4 ;
18381 int arg5 = (int) 0 ;
18382 int arg6 = (int) 0 ;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18391 arg2 = PyInt_AsLong(obj1) ? true : false;
18392 if (PyErr_Occurred()) SWIG_fail;
18393 {
18394 PyThreadState* __tstate = wxPyBeginAllowThreads();
18395 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18396
18397 wxPyEndAllowThreads(__tstate);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 Py_INCREF(Py_None); resultobj = Py_None;
18401 return resultobj;
18402 fail:
18403 return NULL;
18404 }
18405
18406
18407 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj;
18409 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18410 double arg2 ;
18411 double arg3 ;
18412 int arg4 = (int) 0 ;
18413 int arg5 = (int) 0 ;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 Py_INCREF(Py_None); resultobj = Py_None;
18429 return resultobj;
18430 fail:
18431 return NULL;
18432 }
18433
18434
18435 static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18438 double arg2 ;
18439 double arg3 ;
18440 int arg4 = (int) 0 ;
18441 int arg5 = (int) 0 ;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 Py_INCREF(Py_None); resultobj = Py_None;
18457 return resultobj;
18458 fail:
18459 return NULL;
18460 }
18461
18462
18463 static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18466 bool arg2 ;
18467 double arg3 ;
18468 double arg4 ;
18469 int arg5 = (int) 0 ;
18470 int arg6 = (int) 0 ;
18471 PyObject * obj0 = 0 ;
18472 PyObject * obj1 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 arg2 = PyInt_AsLong(obj1) ? true : false;
18480 if (PyErr_Occurred()) SWIG_fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18498 double arg2 ;
18499 double arg3 ;
18500 int arg4 = (int) 0 ;
18501 int arg5 = (int) 0 ;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 Py_INCREF(Py_None); resultobj = Py_None;
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18526 double arg2 ;
18527 double arg3 ;
18528 int arg4 = (int) 0 ;
18529 int arg5 = (int) 0 ;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 Py_INCREF(Py_None); resultobj = Py_None;
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18554 wxDC *arg2 = 0 ;
18555 double arg3 ;
18556 double arg4 ;
18557 double arg5 ;
18558 double arg6 ;
18559 PyObject * obj0 = 0 ;
18560 PyObject * obj1 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18563 };
18564
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 if (arg2 == NULL) {
18569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18570 }
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 Py_INCREF(Py_None); resultobj = Py_None;
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18588 wxDC *arg2 = 0 ;
18589 PyObject * obj0 = 0 ;
18590 PyObject * obj1 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "dc", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18598 if (arg2 == NULL) {
18599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18600 }
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 (arg1)->base_OnDrawControlPoints(*arg2);
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18618 wxDC *arg2 = 0 ;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self",(char *) "dc", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18627 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 if (arg2 == NULL) {
18629 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18630 }
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->base_OnEraseControlPoints(*arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18648 wxDC *arg2 = 0 ;
18649 bool arg3 = (bool) TRUE ;
18650 PyObject * obj0 = 0 ;
18651 PyObject * obj1 = 0 ;
18652 PyObject * obj2 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18660 if (arg2 == NULL) {
18661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18662 }
18663 if (obj2) {
18664 arg3 = PyInt_AsLong(obj2) ? true : false;
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 (arg1)->base_OnMoveLink(*arg2,arg3);
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 Py_INCREF(Py_None); resultobj = Py_None;
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18684 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18685 bool arg3 ;
18686 double arg4 ;
18687 double arg5 ;
18688 int arg6 = (int) 0 ;
18689 int arg7 = (int) 0 ;
18690 PyObject * obj0 = 0 ;
18691 PyObject * obj1 = 0 ;
18692 PyObject * obj2 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 arg3 = PyInt_AsLong(obj2) ? true : false;
18701 if (PyErr_Occurred()) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 Py_INCREF(Py_None); resultobj = Py_None;
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18719 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18720 double arg3 ;
18721 double arg4 ;
18722 int arg5 = (int) 0 ;
18723 int arg6 = (int) 0 ;
18724 PyObject * obj0 = 0 ;
18725 PyObject * obj1 = 0 ;
18726 char *kwnames[] = {
18727 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 Py_INCREF(Py_None); resultobj = Py_None;
18741 return resultobj;
18742 fail:
18743 return NULL;
18744 }
18745
18746
18747 static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18750 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18751 double arg3 ;
18752 double arg4 ;
18753 int arg5 = (int) 0 ;
18754 int arg6 = (int) 0 ;
18755 PyObject * obj0 = 0 ;
18756 PyObject * obj1 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18781 double arg2 ;
18782 double arg3 ;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "w",(char *) "h", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 (arg1)->base_OnBeginSize(arg2,arg3);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 Py_INCREF(Py_None); resultobj = Py_None;
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
18807 double arg2 ;
18808 double arg3 ;
18809 PyObject * obj0 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "w",(char *) "h", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 (arg1)->base_OnEndSize(arg2,arg3);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
18831 PyObject *obj;
18832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18833 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
18834 Py_INCREF(obj);
18835 return Py_BuildValue((char *)"");
18836 }
18837 static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj;
18839 double arg1 = (double) 0.0 ;
18840 wxPyCircleShape *result;
18841 char *kwnames[] = {
18842 (char *) "width", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|d:new_PyCircleShape",kwnames,&arg1)) goto fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18863 PyObject *arg2 = (PyObject *) 0 ;
18864 PyObject *arg3 = (PyObject *) 0 ;
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867 PyObject * obj2 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self",(char *) "self",(char *) "_class", NULL
18870 };
18871
18872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18874 arg2 = obj1;
18875 arg3 = obj2;
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 (arg1)->_setCallbackInfo(arg2,arg3);
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 Py_INCREF(Py_None); resultobj = Py_None;
18884 return resultobj;
18885 fail:
18886 return NULL;
18887 }
18888
18889
18890 static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18893 wxDC *arg2 = 0 ;
18894 PyObject * obj0 = 0 ;
18895 PyObject * obj1 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self",(char *) "dc", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
18901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18903 if (arg2 == NULL) {
18904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18905 }
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
18908 (arg1)->base_OnDraw(*arg2);
18909
18910 wxPyEndAllowThreads(__tstate);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 }
18913 Py_INCREF(Py_None); resultobj = Py_None;
18914 return resultobj;
18915 fail:
18916 return NULL;
18917 }
18918
18919
18920 static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
18921 PyObject *resultobj;
18922 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18923 wxDC *arg2 = 0 ;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self",(char *) "dc", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
18931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18933 if (arg2 == NULL) {
18934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18935 }
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 (arg1)->base_OnDrawContents(*arg2);
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 return resultobj;
18945 fail:
18946 return NULL;
18947 }
18948
18949
18950 static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18953 wxDC *arg2 = 0 ;
18954 bool arg3 = (bool) FALSE ;
18955 PyObject * obj0 = 0 ;
18956 PyObject * obj1 = 0 ;
18957 PyObject * obj2 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self",(char *) "dc",(char *) "erase", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
18963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 if (arg2 == NULL) {
18966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18967 }
18968 if (obj2) {
18969 arg3 = PyInt_AsLong(obj2) ? true : false;
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 (arg1)->base_OnDrawBranches(*arg2,arg3);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 Py_INCREF(Py_None); resultobj = Py_None;
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
18989 wxDC *arg2 = 0 ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "dc", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18999 if (arg2 == NULL) {
19000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19001 }
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->base_OnMoveLinks(*arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19019 wxDC *arg2 = 0 ;
19020 PyObject * obj0 = 0 ;
19021 PyObject * obj1 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self",(char *) "dc", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19029 if (arg2 == NULL) {
19030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->base_OnErase(*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19049 wxDC *arg2 = 0 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "dc", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19059 if (arg2 == NULL) {
19060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19061 }
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 (arg1)->base_OnEraseContents(*arg2);
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 Py_INCREF(Py_None); resultobj = Py_None;
19070 return resultobj;
19071 fail:
19072 return NULL;
19073 }
19074
19075
19076 static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj;
19078 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19079 wxDC *arg2 = 0 ;
19080 PyObject * obj0 = 0 ;
19081 PyObject * obj1 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self",(char *) "dc", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19089 if (arg2 == NULL) {
19090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19091 }
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 (arg1)->base_OnHighlight(*arg2);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19109 double arg2 ;
19110 double arg3 ;
19111 int arg4 = (int) 0 ;
19112 int arg5 = (int) 0 ;
19113 PyObject * obj0 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19137 double arg2 ;
19138 double arg3 ;
19139 int arg4 = (int) 0 ;
19140 int arg5 = (int) 0 ;
19141 PyObject * obj0 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 return resultobj;
19157 fail:
19158 return NULL;
19159 }
19160
19161
19162 static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19165 double arg2 ;
19166 double arg3 ;
19167 int arg4 = (int) 0 ;
19168 int arg5 = (int) 0 ;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19193 double arg2 ;
19194 double arg3 ;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "x",(char *) "y", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->base_OnSize(arg2,arg3);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19219 wxDC *arg2 = 0 ;
19220 double arg3 ;
19221 double arg4 ;
19222 double arg5 ;
19223 double arg6 ;
19224 bool arg7 = (bool) TRUE ;
19225 bool result;
19226 PyObject * obj0 = 0 ;
19227 PyObject * obj1 = 0 ;
19228 PyObject * obj6 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) 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 if (obj6) {
19240 arg7 = PyInt_AsLong(obj6) ? true : false;
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = PyInt_FromLong((long)result);
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19260 wxDC *arg2 = 0 ;
19261 double arg3 ;
19262 double arg4 ;
19263 double arg5 ;
19264 double arg6 ;
19265 bool arg7 = (bool) TRUE ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 PyObject * obj6 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19276 if (arg2 == NULL) {
19277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19278 }
19279 if (obj6) {
19280 arg7 = PyInt_AsLong(obj6) ? true : false;
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19300 bool arg2 ;
19301 double arg3 ;
19302 double arg4 ;
19303 int arg5 = (int) 0 ;
19304 int arg6 = (int) 0 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19313 arg2 = PyInt_AsLong(obj1) ? true : false;
19314 if (PyErr_Occurred()) SWIG_fail;
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 Py_INCREF(Py_None); resultobj = Py_None;
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19332 double arg2 ;
19333 double arg3 ;
19334 int arg4 = (int) 0 ;
19335 int arg5 = (int) 0 ;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19360 double arg2 ;
19361 double arg3 ;
19362 int arg4 = (int) 0 ;
19363 int arg5 = (int) 0 ;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 Py_INCREF(Py_None); resultobj = Py_None;
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19388 bool arg2 ;
19389 double arg3 ;
19390 double arg4 ;
19391 int arg5 = (int) 0 ;
19392 int arg6 = (int) 0 ;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj1 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19401 arg2 = PyInt_AsLong(obj1) ? true : false;
19402 if (PyErr_Occurred()) SWIG_fail;
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 Py_INCREF(Py_None); resultobj = Py_None;
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19420 double arg2 ;
19421 double arg3 ;
19422 int arg4 = (int) 0 ;
19423 int arg5 = (int) 0 ;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 Py_INCREF(Py_None); resultobj = Py_None;
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19448 double arg2 ;
19449 double arg3 ;
19450 int arg4 = (int) 0 ;
19451 int arg5 = (int) 0 ;
19452 PyObject * obj0 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 Py_INCREF(Py_None); resultobj = Py_None;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19476 wxDC *arg2 = 0 ;
19477 double arg3 ;
19478 double arg4 ;
19479 double arg5 ;
19480 double arg6 ;
19481 PyObject * obj0 = 0 ;
19482 PyObject * obj1 = 0 ;
19483 char *kwnames[] = {
19484 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19490 if (arg2 == NULL) {
19491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19492 }
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19510 wxDC *arg2 = 0 ;
19511 PyObject * obj0 = 0 ;
19512 PyObject * obj1 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self",(char *) "dc", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
19518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 if (arg2 == NULL) {
19521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19522 }
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 (arg1)->base_OnDrawControlPoints(*arg2);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 Py_INCREF(Py_None); resultobj = Py_None;
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19540 wxDC *arg2 = 0 ;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj1 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self",(char *) "dc", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if (arg2 == NULL) {
19551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19552 }
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 (arg1)->base_OnEraseControlPoints(*arg2);
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 Py_INCREF(Py_None); resultobj = Py_None;
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19570 wxDC *arg2 = 0 ;
19571 bool arg3 = (bool) TRUE ;
19572 PyObject * obj0 = 0 ;
19573 PyObject * obj1 = 0 ;
19574 PyObject * obj2 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 if (arg2 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19584 }
19585 if (obj2) {
19586 arg3 = PyInt_AsLong(obj2) ? true : false;
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 (arg1)->base_OnMoveLink(*arg2,arg3);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 Py_INCREF(Py_None); resultobj = Py_None;
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19606 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19607 bool arg3 ;
19608 double arg4 ;
19609 double arg5 ;
19610 int arg6 = (int) 0 ;
19611 int arg7 = (int) 0 ;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 PyObject * obj2 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
19620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 arg3 = PyInt_AsLong(obj2) ? true : false;
19623 if (PyErr_Occurred()) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 Py_INCREF(Py_None); resultobj = Py_None;
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19641 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19642 double arg3 ;
19643 double arg4 ;
19644 int arg5 = (int) 0 ;
19645 int arg6 = (int) 0 ;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 Py_INCREF(Py_None); resultobj = Py_None;
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19670 PyObject *resultobj;
19671 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19672 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19673 double arg3 ;
19674 double arg4 ;
19675 int arg5 = (int) 0 ;
19676 int arg6 = (int) 0 ;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
19684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19703 double arg2 ;
19704 double arg3 ;
19705 PyObject * obj0 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self",(char *) "w",(char *) "h", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 (arg1)->base_OnBeginSize(arg2,arg3);
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 Py_INCREF(Py_None); resultobj = Py_None;
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
19729 double arg2 ;
19730 double arg3 ;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "w",(char *) "h", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 (arg1)->base_OnEndSize(arg2,arg3);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 Py_INCREF(Py_None); resultobj = Py_None;
19746 return resultobj;
19747 fail:
19748 return NULL;
19749 }
19750
19751
19752 static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
19753 PyObject *obj;
19754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19755 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
19756 Py_INCREF(obj);
19757 return Py_BuildValue((char *)"");
19758 }
19759 static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 int arg1 = (int) 0 ;
19762 int arg2 = (int) 0 ;
19763 double arg3 = (double) 0.0 ;
19764 double arg4 = (double) 0.0 ;
19765 wxString const &arg5_defvalue = wxPyEmptyString ;
19766 wxString *arg5 = (wxString *) &arg5_defvalue ;
19767 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
19768 long arg7 = (long) -1 ;
19769 wxArrowHead *result;
19770 bool temp5 = false ;
19771 PyObject * obj4 = 0 ;
19772 PyObject * obj5 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiddOOl:new_ArrowHead",kwnames,&arg1,&arg2,&arg3,&arg4,&obj4,&obj5,&arg7)) goto fail;
19778 if (obj4) {
19779 {
19780 arg5 = wxString_in_helper(obj4);
19781 if (arg5 == NULL) SWIG_fail;
19782 temp5 = true;
19783 }
19784 }
19785 if (obj5) {
19786 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 {
19796 resultobj = wxPyMake_wxObject(result);
19797 }
19798 {
19799 if (temp5)
19800 delete arg5;
19801 }
19802 return resultobj;
19803 fail:
19804 {
19805 if (temp5)
19806 delete arg5;
19807 }
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19815 PyObject * obj0 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
19821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 delete arg1;
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 Py_INCREF(Py_None); resultobj = Py_None;
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj;
19838 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19839 int result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (int)(arg1)->_GetType();
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 resultobj = PyInt_FromLong((long)result);
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19864 int result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = (int)(arg1)->GetPosition();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = PyInt_FromLong((long)result);
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19889 int arg2 ;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "pos", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ArrowHead_SetPosition",kwnames,&obj0,&arg2)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 (arg1)->SetPosition(arg2);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 Py_INCREF(Py_None); resultobj = Py_None;
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19914 double result;
19915 PyObject * obj0 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (double)(arg1)->GetXOffset();
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 resultobj = PyFloat_FromDouble(result);
19930 return resultobj;
19931 fail:
19932 return NULL;
19933 }
19934
19935
19936 static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19939 double result;
19940 PyObject * obj0 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
19946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (double)(arg1)->GetYOffset();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 resultobj = PyFloat_FromDouble(result);
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19964 double result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (double)(arg1)->GetSpacing();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 resultobj = PyFloat_FromDouble(result);
19980 return resultobj;
19981 fail:
19982 return NULL;
19983 }
19984
19985
19986 static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19987 PyObject *resultobj;
19988 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
19989 double result;
19990 PyObject * obj0 = 0 ;
19991 char *kwnames[] = {
19992 (char *) "self", NULL
19993 };
19994
19995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
19996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19997 {
19998 PyThreadState* __tstate = wxPyBeginAllowThreads();
19999 result = (double)(arg1)->GetSize();
20000
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 resultobj = PyFloat_FromDouble(result);
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj;
20013 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20014 wxString result;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
20021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (arg1)->GetName();
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 {
20030 #if wxUSE_UNICODE
20031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20032 #else
20033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20034 #endif
20035 }
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20043 PyObject *resultobj;
20044 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20045 double arg2 ;
20046 PyObject * obj0 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self",(char *) "x", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 (arg1)->SetXOffset(arg2);
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 Py_INCREF(Py_None); resultobj = Py_None;
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20070 double arg2 ;
20071 PyObject * obj0 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "y", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetYOffset",kwnames,&obj0,&arg2)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetYOffset(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20095 wxPseudoMetaFile *result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 {
20111 resultobj = wxPyMake_wxObject(result);
20112 }
20113 return resultobj;
20114 fail:
20115 return NULL;
20116 }
20117
20118
20119 static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20122 long result;
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
20129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = (long)(arg1)->GetId();
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 resultobj = PyInt_FromLong((long)result);
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20147 int result;
20148 PyObject * obj0 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)(arg1)->GetArrowEnd();
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 resultobj = PyInt_FromLong((long)result);
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20172 double result;
20173 PyObject * obj0 = 0 ;
20174 char *kwnames[] = {
20175 (char *) "self", NULL
20176 };
20177
20178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
20179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 result = (double)(arg1)->GetArrowSize();
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 resultobj = PyFloat_FromDouble(result);
20188 return resultobj;
20189 fail:
20190 return NULL;
20191 }
20192
20193
20194 static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20195 PyObject *resultobj;
20196 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20197 double arg2 ;
20198 PyObject * obj0 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "size", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSize",kwnames,&obj0,&arg2)) goto fail;
20204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20205 {
20206 PyThreadState* __tstate = wxPyBeginAllowThreads();
20207 (arg1)->SetSize(arg2);
20208
20209 wxPyEndAllowThreads(__tstate);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 Py_INCREF(Py_None); resultobj = Py_None;
20213 return resultobj;
20214 fail:
20215 return NULL;
20216 }
20217
20218
20219 static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20220 PyObject *resultobj;
20221 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
20222 double arg2 ;
20223 PyObject * obj0 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "sp", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:ArrowHead_SetSpacing",kwnames,&obj0,&arg2)) goto fail;
20229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 (arg1)->SetSpacing(arg2);
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 Py_INCREF(Py_None); resultobj = Py_None;
20238 return resultobj;
20239 fail:
20240 return NULL;
20241 }
20242
20243
20244 static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
20245 PyObject *obj;
20246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20247 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
20248 Py_INCREF(obj);
20249 return Py_BuildValue((char *)"");
20250 }
20251 static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxPyLineShape *result;
20254 char *kwnames[] = {
20255 NULL
20256 };
20257
20258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
20259 {
20260 PyThreadState* __tstate = wxPyBeginAllowThreads();
20261 result = (wxPyLineShape *)new wxPyLineShape();
20262
20263 wxPyEndAllowThreads(__tstate);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
20267 return resultobj;
20268 fail:
20269 return NULL;
20270 }
20271
20272
20273 static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20274 PyObject *resultobj;
20275 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20276 PyObject *arg2 = (PyObject *) 0 ;
20277 PyObject *arg3 = (PyObject *) 0 ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 PyObject * obj2 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self",(char *) "self",(char *) "_class", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20287 arg2 = obj1;
20288 arg3 = obj2;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->_setCallbackInfo(arg2,arg3);
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 Py_INCREF(Py_None); resultobj = Py_None;
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20306 int arg2 ;
20307 int arg3 = (int) ARROW_POSITION_END ;
20308 double arg4 = (double) 10.0 ;
20309 double arg5 = (double) 0.0 ;
20310 wxString const &arg6_defvalue = wxPyEmptyString ;
20311 wxString *arg6 = (wxString *) &arg6_defvalue ;
20312 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
20313 long arg8 = (long) -1 ;
20314 bool temp6 = false ;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj5 = 0 ;
20317 PyObject * obj6 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8)) goto fail;
20323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20324 if (obj5) {
20325 {
20326 arg6 = wxString_in_helper(obj5);
20327 if (arg6 == NULL) SWIG_fail;
20328 temp6 = true;
20329 }
20330 }
20331 if (obj6) {
20332 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 }
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 Py_INCREF(Py_None); resultobj = Py_None;
20342 {
20343 if (temp6)
20344 delete arg6;
20345 }
20346 return resultobj;
20347 fail:
20348 {
20349 if (temp6)
20350 delete arg6;
20351 }
20352 return NULL;
20353 }
20354
20355
20356 static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20359 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
20360 PyObject *arg3 = (PyObject *) 0 ;
20361 int arg4 ;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364 PyObject * obj2 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20372 arg3 = obj2;
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 return resultobj;
20382 fail:
20383 return NULL;
20384 }
20385
20386
20387 static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20390 wxString *arg2 = 0 ;
20391 bool result;
20392 bool temp2 = false ;
20393 PyObject * obj0 = 0 ;
20394 PyObject * obj1 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self",(char *) "name", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
20400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20401 {
20402 arg2 = wxString_in_helper(obj1);
20403 if (arg2 == NULL) SWIG_fail;
20404 temp2 = true;
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = PyInt_FromLong((long)result);
20414 {
20415 if (temp2)
20416 delete arg2;
20417 }
20418 return resultobj;
20419 fail:
20420 {
20421 if (temp2)
20422 delete arg2;
20423 }
20424 return NULL;
20425 }
20426
20427
20428 static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20431 int arg2 = (int) -1 ;
20432 PyObject * obj0 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "position", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&arg2)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->ClearArrowsAtPosition(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20456 wxDC *arg2 = 0 ;
20457 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
20458 double arg4 ;
20459 bool arg5 ;
20460 PyObject * obj0 = 0 ;
20461 PyObject * obj1 = 0 ;
20462 PyObject * obj2 = 0 ;
20463 PyObject * obj4 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20471 if (arg2 == NULL) {
20472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20473 }
20474 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20475 arg5 = PyInt_AsLong(obj4) ? true : false;
20476 if (PyErr_Occurred()) SWIG_fail;
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 Py_INCREF(Py_None); resultobj = Py_None;
20485 return resultobj;
20486 fail:
20487 return NULL;
20488 }
20489
20490
20491 static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20492 PyObject *resultobj;
20493 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20494 long arg2 ;
20495 bool result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self",(char *) "arrowId", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (bool)(arg1)->DeleteArrowHead(arg2);
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 resultobj = PyInt_FromLong((long)result);
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20520 int arg2 ;
20521 wxString *arg3 = 0 ;
20522 bool result;
20523 bool temp3 = false ;
20524 PyObject * obj0 = 0 ;
20525 PyObject * obj2 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "position",(char *) "name", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 {
20533 arg3 = wxString_in_helper(obj2);
20534 if (arg3 == NULL) SWIG_fail;
20535 temp3 = true;
20536 }
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = PyInt_FromLong((long)result);
20545 {
20546 if (temp3)
20547 delete arg3;
20548 }
20549 return resultobj;
20550 fail:
20551 {
20552 if (temp3)
20553 delete arg3;
20554 }
20555 return NULL;
20556 }
20557
20558
20559 static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj;
20561 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20562 bool result;
20563 PyObject * obj0 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
20569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 result = (bool)(arg1)->DeleteLineControlPoint();
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 resultobj = PyInt_FromLong((long)result);
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20587 wxDC *arg2 = 0 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self",(char *) "dc", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
20595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20597 if (arg2 == NULL) {
20598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20599 }
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->DrawArrows(*arg2);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20617 wxDC *arg2 = 0 ;
20618 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20619 double arg4 ;
20620 double arg5 ;
20621 PyObject * obj0 = 0 ;
20622 PyObject * obj1 = 0 ;
20623 PyObject * obj2 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20626 };
20627
20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20631 if (arg2 == NULL) {
20632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20633 }
20634 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 Py_INCREF(Py_None); resultobj = Py_None;
20643 return resultobj;
20644 fail:
20645 return NULL;
20646 }
20647
20648
20649 static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj;
20651 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20652 wxDC *arg2 = 0 ;
20653 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
20654 double arg4 ;
20655 double arg5 ;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658 PyObject * obj2 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20666 if (arg2 == NULL) {
20667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20668 }
20669 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 Py_INCREF(Py_None); resultobj = Py_None;
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20687 long arg2 ;
20688 wxArrowHead *result;
20689 PyObject * obj0 = 0 ;
20690 char *kwnames[] = {
20691 (char *) "self",(char *) "arrowId", NULL
20692 };
20693
20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames,&obj0,&arg2)) goto fail;
20695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
20699
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 {
20704 resultobj = wxPyMake_wxObject(result);
20705 }
20706 return resultobj;
20707 fail:
20708 return NULL;
20709 }
20710
20711
20712 static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj;
20714 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20715 int arg2 ;
20716 wxString *arg3 = 0 ;
20717 wxArrowHead *result;
20718 bool temp3 = false ;
20719 PyObject * obj0 = 0 ;
20720 PyObject * obj2 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self",(char *) "position",(char *) "name", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:PyLineShape_FindArrowHead",kwnames,&obj0,&arg2,&obj2)) goto fail;
20726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20727 {
20728 arg3 = wxString_in_helper(obj2);
20729 if (arg3 == NULL) SWIG_fail;
20730 temp3 = true;
20731 }
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740 resultobj = wxPyMake_wxObject(result);
20741 }
20742 {
20743 if (temp3)
20744 delete arg3;
20745 }
20746 return resultobj;
20747 fail:
20748 {
20749 if (temp3)
20750 delete arg3;
20751 }
20752 return NULL;
20753 }
20754
20755
20756 static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20759 double *arg2 = (double *) 0 ;
20760 double *arg3 = (double *) 0 ;
20761 double *arg4 = (double *) 0 ;
20762 double *arg5 = (double *) 0 ;
20763 double temp2 ;
20764 double temp3 ;
20765 double temp4 ;
20766 double temp5 ;
20767 PyObject * obj0 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self", NULL
20770 };
20771
20772 arg2 = &temp2;
20773 arg3 = &temp3;
20774 arg4 = &temp4;
20775 arg5 = &temp5;
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
20777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 Py_INCREF(Py_None); resultobj = Py_None;
20786 {
20787 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20788 resultobj = t_output_helper(resultobj,o);
20789 }
20790 {
20791 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20792 resultobj = t_output_helper(resultobj,o);
20793 }
20794 {
20795 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20796 resultobj = t_output_helper(resultobj,o);
20797 }
20798 {
20799 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20800 resultobj = t_output_helper(resultobj,o);
20801 }
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20811 double arg2 ;
20812 double arg3 ;
20813 int result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self",(char *) "x",(char *) "y", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_FindLinePosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
20820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (int)(arg1)->FindLinePosition(arg2,arg3);
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 resultobj = PyInt_FromLong((long)result);
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20838 double result;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = (double)(arg1)->FindMinimumWidth();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 resultobj = PyFloat_FromDouble(result);
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20863 wxPyShape *arg2 = (wxPyShape *) 0 ;
20864 int *arg3 = (int *) 0 ;
20865 int *arg4 = (int *) 0 ;
20866 bool arg5 ;
20867 int temp3 ;
20868 int temp4 ;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871 PyObject * obj2 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "image",(char *) "incoming", NULL
20874 };
20875
20876 arg3 = &temp3;
20877 arg4 = &temp4;
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20881 arg5 = PyInt_AsLong(obj2) ? true : false;
20882 if (PyErr_Occurred()) SWIG_fail;
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 (arg1)->FindNth(arg2,arg3,arg4,arg5);
20886
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 Py_INCREF(Py_None); resultobj = Py_None;
20891 {
20892 PyObject *o = PyInt_FromLong((long) (*arg3));
20893 resultobj = t_output_helper(resultobj,o);
20894 }
20895 {
20896 PyObject *o = PyInt_FromLong((long) (*arg4));
20897 resultobj = t_output_helper(resultobj,o);
20898 }
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20908 int result;
20909 PyObject * obj0 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
20915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = (int)(arg1)->GetAttachmentFrom();
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 resultobj = PyInt_FromLong((long)result);
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20933 int result;
20934 PyObject * obj0 = 0 ;
20935 char *kwnames[] = {
20936 (char *) "self", NULL
20937 };
20938
20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
20940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 result = (int)(arg1)->GetAttachmentTo();
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 resultobj = PyInt_FromLong((long)result);
20949 return resultobj;
20950 fail:
20951 return NULL;
20952 }
20953
20954
20955 static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
20958 double *arg2 = (double *) 0 ;
20959 double *arg3 = (double *) 0 ;
20960 double *arg4 = (double *) 0 ;
20961 double *arg5 = (double *) 0 ;
20962 double temp2 ;
20963 double temp3 ;
20964 double temp4 ;
20965 double temp5 ;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 arg2 = &temp2;
20972 arg3 = &temp3;
20973 arg4 = &temp4;
20974 arg5 = &temp5;
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
20976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
20980
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 Py_INCREF(Py_None); resultobj = Py_None;
20985 {
20986 PyObject *o = PyFloat_FromDouble((double) (*arg2));
20987 resultobj = t_output_helper(resultobj,o);
20988 }
20989 {
20990 PyObject *o = PyFloat_FromDouble((double) (*arg3));
20991 resultobj = t_output_helper(resultobj,o);
20992 }
20993 {
20994 PyObject *o = PyFloat_FromDouble((double) (*arg4));
20995 resultobj = t_output_helper(resultobj,o);
20996 }
20997 {
20998 PyObject *o = PyFloat_FromDouble((double) (*arg5));
20999 resultobj = t_output_helper(resultobj,o);
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21010 wxPyShape *result;
21011 PyObject * obj0 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
21017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (wxPyShape *)(arg1)->GetFrom();
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 resultobj = wxPyMake_wxShapeEvtHandler(result);
21027 }
21028 return resultobj;
21029 fail:
21030 return NULL;
21031 }
21032
21033
21034 static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj;
21036 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21037 int arg2 ;
21038 double *arg3 = (double *) 0 ;
21039 double *arg4 = (double *) 0 ;
21040 double temp3 ;
21041 double temp4 ;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "position", NULL
21045 };
21046
21047 arg3 = &temp3;
21048 arg4 = &temp4;
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames,&obj0,&arg2)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 (arg1)->GetLabelPosition(arg2,arg3,arg4);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 {
21060 PyObject *o = PyFloat_FromDouble((double) (*arg3));
21061 resultobj = t_output_helper(resultobj,o);
21062 }
21063 {
21064 PyObject *o = PyFloat_FromDouble((double) (*arg4));
21065 resultobj = t_output_helper(resultobj,o);
21066 }
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21076 wxPyShape *arg2 = (wxPyShape *) 0 ;
21077 wxRealPoint *result;
21078 PyObject * obj0 = 0 ;
21079 PyObject * obj1 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self",(char *) "shape", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
21095 return resultobj;
21096 fail:
21097 return NULL;
21098 }
21099
21100
21101 static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21104 wxPyShape *result;
21105 PyObject * obj0 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (wxPyShape *)(arg1)->GetTo();
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 {
21120 resultobj = wxPyMake_wxShapeEvtHandler(result);
21121 }
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21131 PyObject * obj0 = 0 ;
21132 char *kwnames[] = {
21133 (char *) "self", NULL
21134 };
21135
21136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
21137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 (arg1)->Initialise();
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 Py_INCREF(Py_None); resultobj = Py_None;
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21155 wxDC *arg2 = (wxDC *) 0 ;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self",(char *) "dc", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
21163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 (arg1)->InsertLineControlPoint(arg2);
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 Py_INCREF(Py_None); resultobj = Py_None;
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj;
21181 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21182 wxPyShape *arg2 = (wxPyShape *) 0 ;
21183 bool result;
21184 PyObject * obj0 = 0 ;
21185 PyObject * obj1 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self",(char *) "shape", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = (bool)(arg1)->IsEnd(arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 resultobj = PyInt_FromLong((long)result);
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21210 bool result;
21211 PyObject * obj0 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 result = (bool)(arg1)->IsSpline();
21221
21222 wxPyEndAllowThreads(__tstate);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 resultobj = PyInt_FromLong((long)result);
21226 return resultobj;
21227 fail:
21228 return NULL;
21229 }
21230
21231
21232 static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21233 PyObject *resultobj;
21234 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21235 int arg2 ;
21236 PyObject * obj0 = 0 ;
21237 char *kwnames[] = {
21238 (char *) "self",(char *) "n", NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&arg2)) goto fail;
21242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 (arg1)->MakeLineControlPoints(arg2);
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 Py_INCREF(Py_None); resultobj = Py_None;
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
21258 PyObject *resultobj;
21259 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21260 PyObject *result;
21261 PyObject * obj0 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = result;
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21285 int arg2 ;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "fromAttach", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&arg2)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 (arg1)->SetAttachmentFrom(arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 Py_INCREF(Py_None); resultobj = Py_None;
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21310 int arg2 ;
21311 int arg3 ;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyLineShape_SetAttachments",kwnames,&obj0,&arg2,&arg3)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 (arg1)->SetAttachments(arg2,arg3);
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 Py_INCREF(Py_None); resultobj = Py_None;
21327 return resultobj;
21328 fail:
21329 return NULL;
21330 }
21331
21332
21333 static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21334 PyObject *resultobj;
21335 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21336 int arg2 ;
21337 PyObject * obj0 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "toAttach", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames,&obj0,&arg2)) goto fail;
21343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 (arg1)->SetAttachmentTo(arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 Py_INCREF(Py_None); resultobj = Py_None;
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21361 double arg2 ;
21362 double arg3 ;
21363 double arg4 ;
21364 double arg5 ;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odddd:PyLineShape_SetEnds",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21389 wxPyShape *arg2 = (wxPyShape *) 0 ;
21390 PyObject * obj0 = 0 ;
21391 PyObject * obj1 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self",(char *) "object", NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 (arg1)->SetFrom(arg2);
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 Py_INCREF(Py_None); resultobj = Py_None;
21407 return resultobj;
21408 fail:
21409 return NULL;
21410 }
21411
21412
21413 static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
21414 PyObject *resultobj;
21415 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21416 bool arg2 ;
21417 PyObject * obj0 = 0 ;
21418 PyObject * obj1 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "self",(char *) "ignore", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
21424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21425 arg2 = PyInt_AsLong(obj1) ? true : false;
21426 if (PyErr_Occurred()) SWIG_fail;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->SetIgnoreOffsets(arg2);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 Py_INCREF(Py_None); resultobj = Py_None;
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21444 bool arg2 ;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "spline", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 arg2 = PyInt_AsLong(obj1) ? true : false;
21454 if (PyErr_Occurred()) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 (arg1)->SetSpline(arg2);
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 Py_INCREF(Py_None); resultobj = Py_None;
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21472 wxPyShape *arg2 = (wxPyShape *) 0 ;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "object", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetTo(arg2);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21499 wxDC *arg2 = (wxDC *) NULL ;
21500 PyObject * obj0 = 0 ;
21501 PyObject * obj1 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self",(char *) "dc", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21508 if (obj1) {
21509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21510 }
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 (arg1)->Straighten(arg2);
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 Py_INCREF(Py_None); resultobj = Py_None;
21519 return resultobj;
21520 fail:
21521 return NULL;
21522 }
21523
21524
21525 static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
21526 PyObject *resultobj;
21527 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 (arg1)->Unlink();
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 Py_INCREF(Py_None); resultobj = Py_None;
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21552 wxDC *arg2 = 0 ;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "dc", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 if (arg2 == NULL) {
21563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21564 }
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 (arg1)->base_OnDraw(*arg2);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 Py_INCREF(Py_None); resultobj = Py_None;
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21582 wxDC *arg2 = 0 ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self",(char *) "dc", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21592 if (arg2 == NULL) {
21593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21594 }
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 (arg1)->base_OnDrawContents(*arg2);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 Py_INCREF(Py_None); resultobj = Py_None;
21603 return resultobj;
21604 fail:
21605 return NULL;
21606 }
21607
21608
21609 static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21610 PyObject *resultobj;
21611 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21612 wxDC *arg2 = 0 ;
21613 bool arg3 = (bool) FALSE ;
21614 PyObject * obj0 = 0 ;
21615 PyObject * obj1 = 0 ;
21616 PyObject * obj2 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self",(char *) "dc",(char *) "erase", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21624 if (arg2 == NULL) {
21625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21626 }
21627 if (obj2) {
21628 arg3 = PyInt_AsLong(obj2) ? true : false;
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 (arg1)->base_OnDrawBranches(*arg2,arg3);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 Py_INCREF(Py_None); resultobj = Py_None;
21639 return resultobj;
21640 fail:
21641 return NULL;
21642 }
21643
21644
21645 static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj;
21647 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21648 wxDC *arg2 = 0 ;
21649 PyObject * obj0 = 0 ;
21650 PyObject * obj1 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self",(char *) "dc", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21658 if (arg2 == NULL) {
21659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21660 }
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 (arg1)->base_OnMoveLinks(*arg2);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 Py_INCREF(Py_None); resultobj = Py_None;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21678 wxDC *arg2 = 0 ;
21679 PyObject * obj0 = 0 ;
21680 PyObject * obj1 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self",(char *) "dc", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21688 if (arg2 == NULL) {
21689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21690 }
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 (arg1)->base_OnErase(*arg2);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 Py_INCREF(Py_None); resultobj = Py_None;
21699 return resultobj;
21700 fail:
21701 return NULL;
21702 }
21703
21704
21705 static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21706 PyObject *resultobj;
21707 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21708 wxDC *arg2 = 0 ;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self",(char *) "dc", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if (arg2 == NULL) {
21719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21720 }
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 (arg1)->base_OnEraseContents(*arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 Py_INCREF(Py_None); resultobj = Py_None;
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21738 wxDC *arg2 = 0 ;
21739 PyObject * obj0 = 0 ;
21740 PyObject * obj1 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self",(char *) "dc", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 if (arg2 == NULL) {
21749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->base_OnHighlight(*arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21768 double arg2 ;
21769 double arg3 ;
21770 int arg4 = (int) 0 ;
21771 int arg5 = (int) 0 ;
21772 PyObject * obj0 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 Py_INCREF(Py_None); resultobj = Py_None;
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21796 double arg2 ;
21797 double arg3 ;
21798 int arg4 = (int) 0 ;
21799 int arg5 = (int) 0 ;
21800 PyObject * obj0 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21824 double arg2 ;
21825 double arg3 ;
21826 int arg4 = (int) 0 ;
21827 int arg5 = (int) 0 ;
21828 PyObject * obj0 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
21834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 Py_INCREF(Py_None); resultobj = Py_None;
21843 return resultobj;
21844 fail:
21845 return NULL;
21846 }
21847
21848
21849 static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21850 PyObject *resultobj;
21851 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21852 double arg2 ;
21853 double arg3 ;
21854 PyObject * obj0 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "x",(char *) "y", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 (arg1)->base_OnSize(arg2,arg3);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 Py_INCREF(Py_None); resultobj = Py_None;
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21878 wxDC *arg2 = 0 ;
21879 double arg3 ;
21880 double arg4 ;
21881 double arg5 ;
21882 double arg6 ;
21883 bool arg7 = (bool) TRUE ;
21884 bool result;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 PyObject * obj6 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 if (arg2 == NULL) {
21896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21897 }
21898 if (obj6) {
21899 arg7 = PyInt_AsLong(obj6) ? true : false;
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 resultobj = PyInt_FromLong((long)result);
21910 return resultobj;
21911 fail:
21912 return NULL;
21913 }
21914
21915
21916 static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21919 wxDC *arg2 = 0 ;
21920 double arg3 ;
21921 double arg4 ;
21922 double arg5 ;
21923 double arg6 ;
21924 bool arg7 = (bool) TRUE ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj6 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if (arg2 == NULL) {
21936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21937 }
21938 if (obj6) {
21939 arg7 = PyInt_AsLong(obj6) ? true : false;
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 Py_INCREF(Py_None); resultobj = Py_None;
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21959 bool arg2 ;
21960 double arg3 ;
21961 double arg4 ;
21962 int arg5 = (int) 0 ;
21963 int arg6 = (int) 0 ;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21972 arg2 = PyInt_AsLong(obj1) ? true : false;
21973 if (PyErr_Occurred()) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 Py_INCREF(Py_None); resultobj = Py_None;
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
21991 double arg2 ;
21992 double arg3 ;
21993 int arg4 = (int) 0 ;
21994 int arg5 = (int) 0 ;
21995 PyObject * obj0 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 Py_INCREF(Py_None); resultobj = Py_None;
22010 return resultobj;
22011 fail:
22012 return NULL;
22013 }
22014
22015
22016 static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22019 double arg2 ;
22020 double arg3 ;
22021 int arg4 = (int) 0 ;
22022 int arg5 = (int) 0 ;
22023 PyObject * obj0 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 Py_INCREF(Py_None); resultobj = Py_None;
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22047 bool arg2 ;
22048 double arg3 ;
22049 double arg4 ;
22050 int arg5 = (int) 0 ;
22051 int arg6 = (int) 0 ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22060 arg2 = PyInt_AsLong(obj1) ? true : false;
22061 if (PyErr_Occurred()) SWIG_fail;
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22079 double arg2 ;
22080 double arg3 ;
22081 int arg4 = (int) 0 ;
22082 int arg5 = (int) 0 ;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 Py_INCREF(Py_None); resultobj = Py_None;
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22107 double arg2 ;
22108 double arg3 ;
22109 int arg4 = (int) 0 ;
22110 int arg5 = (int) 0 ;
22111 PyObject * obj0 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22121
22122 wxPyEndAllowThreads(__tstate);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 }
22125 Py_INCREF(Py_None); resultobj = Py_None;
22126 return resultobj;
22127 fail:
22128 return NULL;
22129 }
22130
22131
22132 static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22133 PyObject *resultobj;
22134 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22135 wxDC *arg2 = 0 ;
22136 double arg3 ;
22137 double arg4 ;
22138 double arg5 ;
22139 double arg6 ;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 char *kwnames[] = {
22143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22144 };
22145
22146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22149 if (arg2 == NULL) {
22150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22151 }
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 Py_INCREF(Py_None); resultobj = Py_None;
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj;
22168 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22169 wxDC *arg2 = 0 ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "dc", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22179 if (arg2 == NULL) {
22180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22181 }
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 (arg1)->base_OnDrawControlPoints(*arg2);
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 Py_INCREF(Py_None); resultobj = Py_None;
22190 return resultobj;
22191 fail:
22192 return NULL;
22193 }
22194
22195
22196 static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22199 wxDC *arg2 = 0 ;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self",(char *) "dc", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22209 if (arg2 == NULL) {
22210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22211 }
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 (arg1)->base_OnEraseControlPoints(*arg2);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 Py_INCREF(Py_None); resultobj = Py_None;
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22229 wxDC *arg2 = 0 ;
22230 bool arg3 = (bool) TRUE ;
22231 PyObject * obj0 = 0 ;
22232 PyObject * obj1 = 0 ;
22233 PyObject * obj2 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22241 if (arg2 == NULL) {
22242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22243 }
22244 if (obj2) {
22245 arg3 = PyInt_AsLong(obj2) ? true : false;
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 (arg1)->base_OnMoveLink(*arg2,arg3);
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 Py_INCREF(Py_None); resultobj = Py_None;
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22265 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22266 bool arg3 ;
22267 double arg4 ;
22268 double arg5 ;
22269 int arg6 = (int) 0 ;
22270 int arg7 = (int) 0 ;
22271 PyObject * obj0 = 0 ;
22272 PyObject * obj1 = 0 ;
22273 PyObject * obj2 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
22279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22281 arg3 = PyInt_AsLong(obj2) ? true : false;
22282 if (PyErr_Occurred()) SWIG_fail;
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 Py_INCREF(Py_None); resultobj = Py_None;
22291 return resultobj;
22292 fail:
22293 return NULL;
22294 }
22295
22296
22297 static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22298 PyObject *resultobj;
22299 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22300 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22301 double arg3 ;
22302 double arg4 ;
22303 int arg5 = (int) 0 ;
22304 int arg6 = (int) 0 ;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 Py_INCREF(Py_None); resultobj = Py_None;
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22331 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22332 double arg3 ;
22333 double arg4 ;
22334 int arg5 = (int) 0 ;
22335 int arg6 = (int) 0 ;
22336 PyObject * obj0 = 0 ;
22337 PyObject * obj1 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
22343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 Py_INCREF(Py_None); resultobj = Py_None;
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22362 double arg2 ;
22363 double arg3 ;
22364 PyObject * obj0 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "w",(char *) "h", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->base_OnBeginSize(arg2,arg3);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 return resultobj;
22380 fail:
22381 return NULL;
22382 }
22383
22384
22385 static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
22388 double arg2 ;
22389 double arg3 ;
22390 PyObject * obj0 = 0 ;
22391 char *kwnames[] = {
22392 (char *) "self",(char *) "w",(char *) "h", NULL
22393 };
22394
22395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 (arg1)->base_OnEndSize(arg2,arg3);
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 Py_INCREF(Py_None); resultobj = Py_None;
22405 return resultobj;
22406 fail:
22407 return NULL;
22408 }
22409
22410
22411 static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
22412 PyObject *obj;
22413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22414 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
22415 Py_INCREF(obj);
22416 return Py_BuildValue((char *)"");
22417 }
22418 static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyPolygonShape *result;
22421 char *kwnames[] = {
22422 NULL
22423 };
22424
22425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = (wxPyPolygonShape *)new wxPyPolygonShape();
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
22434 return resultobj;
22435 fail:
22436 return NULL;
22437 }
22438
22439
22440 static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22441 PyObject *resultobj;
22442 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22443 PyObject *arg2 = (PyObject *) 0 ;
22444 PyObject *arg3 = (PyObject *) 0 ;
22445 PyObject * obj0 = 0 ;
22446 PyObject * obj1 = 0 ;
22447 PyObject * obj2 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self",(char *) "self",(char *) "_class", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22454 arg2 = obj1;
22455 arg3 = obj2;
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->_setCallbackInfo(arg2,arg3);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22473 PyObject *arg2 = (PyObject *) 0 ;
22474 PyObject *result;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "points", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
22482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22483 arg2 = obj1;
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 resultobj = result;
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj;
22500 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22501 int arg2 = (int) 0 ;
22502 PyObject * obj0 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "pos", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 (arg1)->AddPolygonPoint(arg2);
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 Py_INCREF(Py_None); resultobj = Py_None;
22517 return resultobj;
22518 fail:
22519 return NULL;
22520 }
22521
22522
22523 static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22526 PyObject * obj0 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 (arg1)->CalculatePolygonCentre();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 Py_INCREF(Py_None); resultobj = Py_None;
22541 return resultobj;
22542 fail:
22543 return NULL;
22544 }
22545
22546
22547 static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22550 int arg2 = (int) 0 ;
22551 PyObject * obj0 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "pos", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&arg2)) goto fail;
22557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->DeletePolygonPoint(arg2);
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_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22575 PyObject *result;
22576 PyObject * obj0 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
22582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = result;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22600 PyObject * obj0 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->UpdateOriginalPoints();
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22624 wxDC *arg2 = 0 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "dc", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22634 if (arg2 == NULL) {
22635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22636 }
22637 {
22638 PyThreadState* __tstate = wxPyBeginAllowThreads();
22639 (arg1)->base_OnDraw(*arg2);
22640
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 Py_INCREF(Py_None); resultobj = Py_None;
22645 return resultobj;
22646 fail:
22647 return NULL;
22648 }
22649
22650
22651 static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22652 PyObject *resultobj;
22653 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22654 wxDC *arg2 = 0 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "dc", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22664 if (arg2 == NULL) {
22665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 (arg1)->base_OnDrawContents(*arg2);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22684 wxDC *arg2 = 0 ;
22685 bool arg3 = (bool) FALSE ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 PyObject * obj2 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "dc",(char *) "erase", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22696 if (arg2 == NULL) {
22697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22698 }
22699 if (obj2) {
22700 arg3 = PyInt_AsLong(obj2) ? true : false;
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->base_OnDrawBranches(*arg2,arg3);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22720 wxDC *arg2 = 0 ;
22721 PyObject * obj0 = 0 ;
22722 PyObject * obj1 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self",(char *) "dc", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22730 if (arg2 == NULL) {
22731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22732 }
22733 {
22734 PyThreadState* __tstate = wxPyBeginAllowThreads();
22735 (arg1)->base_OnMoveLinks(*arg2);
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 Py_INCREF(Py_None); resultobj = Py_None;
22741 return resultobj;
22742 fail:
22743 return NULL;
22744 }
22745
22746
22747 static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj;
22749 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22750 wxDC *arg2 = 0 ;
22751 PyObject * obj0 = 0 ;
22752 PyObject * obj1 = 0 ;
22753 char *kwnames[] = {
22754 (char *) "self",(char *) "dc", NULL
22755 };
22756
22757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22760 if (arg2 == NULL) {
22761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22762 }
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 (arg1)->base_OnErase(*arg2);
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 Py_INCREF(Py_None); resultobj = Py_None;
22771 return resultobj;
22772 fail:
22773 return NULL;
22774 }
22775
22776
22777 static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22778 PyObject *resultobj;
22779 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22780 wxDC *arg2 = 0 ;
22781 PyObject * obj0 = 0 ;
22782 PyObject * obj1 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self",(char *) "dc", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22790 if (arg2 == NULL) {
22791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22792 }
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 (arg1)->base_OnEraseContents(*arg2);
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 Py_INCREF(Py_None); resultobj = Py_None;
22801 return resultobj;
22802 fail:
22803 return NULL;
22804 }
22805
22806
22807 static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22808 PyObject *resultobj;
22809 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22810 wxDC *arg2 = 0 ;
22811 PyObject * obj0 = 0 ;
22812 PyObject * obj1 = 0 ;
22813 char *kwnames[] = {
22814 (char *) "self",(char *) "dc", NULL
22815 };
22816
22817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22820 if (arg2 == NULL) {
22821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22822 }
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 (arg1)->base_OnHighlight(*arg2);
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 Py_INCREF(Py_None); resultobj = Py_None;
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22840 double arg2 ;
22841 double arg3 ;
22842 int arg4 = (int) 0 ;
22843 int arg5 = (int) 0 ;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22868 double arg2 ;
22869 double arg3 ;
22870 int arg4 = (int) 0 ;
22871 int arg5 = (int) 0 ;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22882
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 Py_INCREF(Py_None); resultobj = Py_None;
22887 return resultobj;
22888 fail:
22889 return NULL;
22890 }
22891
22892
22893 static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj;
22895 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22896 double arg2 ;
22897 double arg3 ;
22898 int arg4 = (int) 0 ;
22899 int arg5 = (int) 0 ;
22900 PyObject * obj0 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 Py_INCREF(Py_None); resultobj = Py_None;
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22924 double arg2 ;
22925 double arg3 ;
22926 PyObject * obj0 = 0 ;
22927 char *kwnames[] = {
22928 (char *) "self",(char *) "x",(char *) "y", NULL
22929 };
22930
22931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
22932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->base_OnSize(arg2,arg3);
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22950 wxDC *arg2 = 0 ;
22951 double arg3 ;
22952 double arg4 ;
22953 double arg5 ;
22954 double arg6 ;
22955 bool arg7 = (bool) TRUE ;
22956 bool result;
22957 PyObject * obj0 = 0 ;
22958 PyObject * obj1 = 0 ;
22959 PyObject * obj6 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22967 if (arg2 == NULL) {
22968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22969 }
22970 if (obj6) {
22971 arg7 = PyInt_AsLong(obj6) ? true : false;
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = PyInt_FromLong((long)result);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
22991 wxDC *arg2 = 0 ;
22992 double arg3 ;
22993 double arg4 ;
22994 double arg5 ;
22995 double arg6 ;
22996 bool arg7 = (bool) TRUE ;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 PyObject * obj6 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 if (arg2 == NULL) {
23008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23009 }
23010 if (obj6) {
23011 arg7 = PyInt_AsLong(obj6) ? true : false;
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 Py_INCREF(Py_None); resultobj = Py_None;
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23031 bool arg2 ;
23032 double arg3 ;
23033 double arg4 ;
23034 int arg5 = (int) 0 ;
23035 int arg6 = (int) 0 ;
23036 PyObject * obj0 = 0 ;
23037 PyObject * obj1 = 0 ;
23038 char *kwnames[] = {
23039 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23040 };
23041
23042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23044 arg2 = PyInt_AsLong(obj1) ? true : false;
23045 if (PyErr_Occurred()) SWIG_fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057 }
23058
23059
23060 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23063 double arg2 ;
23064 double arg3 ;
23065 int arg4 = (int) 0 ;
23066 int arg5 = (int) 0 ;
23067 PyObject * obj0 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 Py_INCREF(Py_None); resultobj = Py_None;
23082 return resultobj;
23083 fail:
23084 return NULL;
23085 }
23086
23087
23088 static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23091 double arg2 ;
23092 double arg3 ;
23093 int arg4 = (int) 0 ;
23094 int arg5 = (int) 0 ;
23095 PyObject * obj0 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23105
23106 wxPyEndAllowThreads(__tstate);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 Py_INCREF(Py_None); resultobj = Py_None;
23110 return resultobj;
23111 fail:
23112 return NULL;
23113 }
23114
23115
23116 static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23117 PyObject *resultobj;
23118 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23119 bool arg2 ;
23120 double arg3 ;
23121 double arg4 ;
23122 int arg5 = (int) 0 ;
23123 int arg6 = (int) 0 ;
23124 PyObject * obj0 = 0 ;
23125 PyObject * obj1 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23132 arg2 = PyInt_AsLong(obj1) ? true : false;
23133 if (PyErr_Occurred()) SWIG_fail;
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 Py_INCREF(Py_None); resultobj = Py_None;
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23151 double arg2 ;
23152 double arg3 ;
23153 int arg4 = (int) 0 ;
23154 int arg5 = (int) 0 ;
23155 PyObject * obj0 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 Py_INCREF(Py_None); resultobj = Py_None;
23170 return resultobj;
23171 fail:
23172 return NULL;
23173 }
23174
23175
23176 static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23177 PyObject *resultobj;
23178 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23179 double arg2 ;
23180 double arg3 ;
23181 int arg4 = (int) 0 ;
23182 int arg5 = (int) 0 ;
23183 PyObject * obj0 = 0 ;
23184 char *kwnames[] = {
23185 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23193
23194 wxPyEndAllowThreads(__tstate);
23195 if (PyErr_Occurred()) SWIG_fail;
23196 }
23197 Py_INCREF(Py_None); resultobj = Py_None;
23198 return resultobj;
23199 fail:
23200 return NULL;
23201 }
23202
23203
23204 static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23207 wxDC *arg2 = 0 ;
23208 double arg3 ;
23209 double arg4 ;
23210 double arg5 ;
23211 double arg6 ;
23212 PyObject * obj0 = 0 ;
23213 PyObject * obj1 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23221 if (arg2 == NULL) {
23222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23223 }
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 Py_INCREF(Py_None); resultobj = Py_None;
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23241 wxDC *arg2 = 0 ;
23242 PyObject * obj0 = 0 ;
23243 PyObject * obj1 = 0 ;
23244 char *kwnames[] = {
23245 (char *) "self",(char *) "dc", NULL
23246 };
23247
23248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23251 if (arg2 == NULL) {
23252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23253 }
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 (arg1)->base_OnDrawControlPoints(*arg2);
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 Py_INCREF(Py_None); resultobj = Py_None;
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj;
23270 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23271 wxDC *arg2 = 0 ;
23272 PyObject * obj0 = 0 ;
23273 PyObject * obj1 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self",(char *) "dc", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23281 if (arg2 == NULL) {
23282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23283 }
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 (arg1)->base_OnEraseControlPoints(*arg2);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 Py_INCREF(Py_None); resultobj = Py_None;
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23301 wxDC *arg2 = 0 ;
23302 bool arg3 = (bool) TRUE ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 PyObject * obj2 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23313 if (arg2 == NULL) {
23314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23315 }
23316 if (obj2) {
23317 arg3 = PyInt_AsLong(obj2) ? true : false;
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 (arg1)->base_OnMoveLink(*arg2,arg3);
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 Py_INCREF(Py_None); resultobj = Py_None;
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23337 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23338 bool arg3 ;
23339 double arg4 ;
23340 double arg5 ;
23341 int arg6 = (int) 0 ;
23342 int arg7 = (int) 0 ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 PyObject * obj2 = 0 ;
23346 char *kwnames[] = {
23347 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23348 };
23349
23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
23351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23353 arg3 = PyInt_AsLong(obj2) ? true : false;
23354 if (PyErr_Occurred()) SWIG_fail;
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 Py_INCREF(Py_None); resultobj = Py_None;
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23372 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23373 double arg3 ;
23374 double arg4 ;
23375 int arg5 = (int) 0 ;
23376 int arg6 = (int) 0 ;
23377 PyObject * obj0 = 0 ;
23378 PyObject * obj1 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 Py_INCREF(Py_None); resultobj = Py_None;
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23401 PyObject *resultobj;
23402 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23403 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23404 double arg3 ;
23405 double arg4 ;
23406 int arg5 = (int) 0 ;
23407 int arg6 = (int) 0 ;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 Py_INCREF(Py_None); resultobj = Py_None;
23425 return resultobj;
23426 fail:
23427 return NULL;
23428 }
23429
23430
23431 static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23432 PyObject *resultobj;
23433 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23434 double arg2 ;
23435 double arg3 ;
23436 PyObject * obj0 = 0 ;
23437 char *kwnames[] = {
23438 (char *) "self",(char *) "w",(char *) "h", NULL
23439 };
23440
23441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 (arg1)->base_OnBeginSize(arg2,arg3);
23446
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 Py_INCREF(Py_None); resultobj = Py_None;
23451 return resultobj;
23452 fail:
23453 return NULL;
23454 }
23455
23456
23457 static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23458 PyObject *resultobj;
23459 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
23460 double arg2 ;
23461 double arg3 ;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self",(char *) "w",(char *) "h", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23469 {
23470 PyThreadState* __tstate = wxPyBeginAllowThreads();
23471 (arg1)->base_OnEndSize(arg2,arg3);
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 Py_INCREF(Py_None); resultobj = Py_None;
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
23484 PyObject *obj;
23485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
23487 Py_INCREF(obj);
23488 return Py_BuildValue((char *)"");
23489 }
23490 static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj;
23492 double arg1 = (double) 0.0 ;
23493 double arg2 = (double) 0.0 ;
23494 wxPyTextShape *result;
23495 char *kwnames[] = {
23496 (char *) "width",(char *) "height", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_PyTextShape",kwnames,&arg1,&arg2)) goto fail;
23500 {
23501 PyThreadState* __tstate = wxPyBeginAllowThreads();
23502 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
23503
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj;
23516 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23517 PyObject *arg2 = (PyObject *) 0 ;
23518 PyObject *arg3 = (PyObject *) 0 ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 PyObject * obj2 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self",(char *) "self",(char *) "_class", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23528 arg2 = obj1;
23529 arg3 = obj2;
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 (arg1)->_setCallbackInfo(arg2,arg3);
23533
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 Py_INCREF(Py_None); resultobj = Py_None;
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
23545 PyObject *resultobj;
23546 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23547 PyObject * obj0 = 0 ;
23548 char *kwnames[] = {
23549 (char *) "self", NULL
23550 };
23551
23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
23553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 (arg1)->base_OnDelete();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 Py_INCREF(Py_None); resultobj = Py_None;
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
23569 PyObject *resultobj;
23570 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23571 wxDC *arg2 = 0 ;
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "dc", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
23579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23581 if (arg2 == NULL) {
23582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23583 }
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 (arg1)->base_OnDraw(*arg2);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 Py_INCREF(Py_None); resultobj = Py_None;
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23601 wxDC *arg2 = 0 ;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self",(char *) "dc", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23611 if (arg2 == NULL) {
23612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23613 }
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 (arg1)->base_OnDrawContents(*arg2);
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 Py_INCREF(Py_None); resultobj = Py_None;
23622 return resultobj;
23623 fail:
23624 return NULL;
23625 }
23626
23627
23628 static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
23629 PyObject *resultobj;
23630 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23631 wxDC *arg2 = 0 ;
23632 bool arg3 = (bool) FALSE ;
23633 PyObject * obj0 = 0 ;
23634 PyObject * obj1 = 0 ;
23635 PyObject * obj2 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self",(char *) "dc",(char *) "erase", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
23641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23643 if (arg2 == NULL) {
23644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23645 }
23646 if (obj2) {
23647 arg3 = PyInt_AsLong(obj2) ? true : false;
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 {
23651 PyThreadState* __tstate = wxPyBeginAllowThreads();
23652 (arg1)->base_OnDrawBranches(*arg2,arg3);
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 Py_INCREF(Py_None); resultobj = Py_None;
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23667 wxDC *arg2 = 0 ;
23668 PyObject * obj0 = 0 ;
23669 PyObject * obj1 = 0 ;
23670 char *kwnames[] = {
23671 (char *) "self",(char *) "dc", NULL
23672 };
23673
23674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
23675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23677 if (arg2 == NULL) {
23678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 (arg1)->base_OnMoveLinks(*arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 Py_INCREF(Py_None); resultobj = Py_None;
23688 return resultobj;
23689 fail:
23690 return NULL;
23691 }
23692
23693
23694 static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23697 wxDC *arg2 = 0 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj1 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self",(char *) "dc", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23707 if (arg2 == NULL) {
23708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23709 }
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->base_OnErase(*arg2);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23727 wxDC *arg2 = 0 ;
23728 PyObject * obj0 = 0 ;
23729 PyObject * obj1 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self",(char *) "dc", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
23735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23737 if (arg2 == NULL) {
23738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23739 }
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 (arg1)->base_OnEraseContents(*arg2);
23743
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 Py_INCREF(Py_None); resultobj = Py_None;
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
23755 PyObject *resultobj;
23756 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23757 wxDC *arg2 = 0 ;
23758 PyObject * obj0 = 0 ;
23759 PyObject * obj1 = 0 ;
23760 char *kwnames[] = {
23761 (char *) "self",(char *) "dc", NULL
23762 };
23763
23764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
23765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23767 if (arg2 == NULL) {
23768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23769 }
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 (arg1)->base_OnHighlight(*arg2);
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 Py_INCREF(Py_None); resultobj = Py_None;
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23787 double arg2 ;
23788 double arg3 ;
23789 int arg4 = (int) 0 ;
23790 int arg5 = (int) 0 ;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 Py_INCREF(Py_None); resultobj = Py_None;
23806 return resultobj;
23807 fail:
23808 return NULL;
23809 }
23810
23811
23812 static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj;
23814 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23815 double arg2 ;
23816 double arg3 ;
23817 int arg4 = (int) 0 ;
23818 int arg5 = (int) 0 ;
23819 PyObject * obj0 = 0 ;
23820 char *kwnames[] = {
23821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23822 };
23823
23824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 Py_INCREF(Py_None); resultobj = Py_None;
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj;
23842 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23843 double arg2 ;
23844 double arg3 ;
23845 int arg4 = (int) 0 ;
23846 int arg5 = (int) 0 ;
23847 PyObject * obj0 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23850 };
23851
23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865 }
23866
23867
23868 static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj;
23870 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23871 double arg2 ;
23872 double arg3 ;
23873 PyObject * obj0 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "x",(char *) "y", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 (arg1)->base_OnSize(arg2,arg3);
23883
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 Py_INCREF(Py_None); resultobj = Py_None;
23888 return resultobj;
23889 fail:
23890 return NULL;
23891 }
23892
23893
23894 static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23895 PyObject *resultobj;
23896 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23897 wxDC *arg2 = 0 ;
23898 double arg3 ;
23899 double arg4 ;
23900 double arg5 ;
23901 double arg6 ;
23902 bool arg7 = (bool) TRUE ;
23903 bool result;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 PyObject * obj6 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23914 if (arg2 == NULL) {
23915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23916 }
23917 if (obj6) {
23918 arg7 = PyInt_AsLong(obj6) ? true : false;
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 {
23922 PyThreadState* __tstate = wxPyBeginAllowThreads();
23923 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23924
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 resultobj = PyInt_FromLong((long)result);
23929 return resultobj;
23930 fail:
23931 return NULL;
23932 }
23933
23934
23935 static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23938 wxDC *arg2 = 0 ;
23939 double arg3 ;
23940 double arg4 ;
23941 double arg5 ;
23942 double arg6 ;
23943 bool arg7 = (bool) TRUE ;
23944 PyObject * obj0 = 0 ;
23945 PyObject * obj1 = 0 ;
23946 PyObject * obj6 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23954 if (arg2 == NULL) {
23955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23956 }
23957 if (obj6) {
23958 arg7 = PyInt_AsLong(obj6) ? true : false;
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 Py_INCREF(Py_None); resultobj = Py_None;
23969 return resultobj;
23970 fail:
23971 return NULL;
23972 }
23973
23974
23975 static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23976 PyObject *resultobj;
23977 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
23978 bool arg2 ;
23979 double arg3 ;
23980 double arg4 ;
23981 int arg5 = (int) 0 ;
23982 int arg6 = (int) 0 ;
23983 PyObject * obj0 = 0 ;
23984 PyObject * obj1 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23991 arg2 = PyInt_AsLong(obj1) ? true : false;
23992 if (PyErr_Occurred()) SWIG_fail;
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23996
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 Py_INCREF(Py_None); resultobj = Py_None;
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24008 PyObject *resultobj;
24009 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24010 double arg2 ;
24011 double arg3 ;
24012 int arg4 = (int) 0 ;
24013 int arg5 = (int) 0 ;
24014 PyObject * obj0 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24038 double arg2 ;
24039 double arg3 ;
24040 int arg4 = (int) 0 ;
24041 int arg5 = (int) 0 ;
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24052
24053 wxPyEndAllowThreads(__tstate);
24054 if (PyErr_Occurred()) SWIG_fail;
24055 }
24056 Py_INCREF(Py_None); resultobj = Py_None;
24057 return resultobj;
24058 fail:
24059 return NULL;
24060 }
24061
24062
24063 static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24064 PyObject *resultobj;
24065 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24066 bool arg2 ;
24067 double arg3 ;
24068 double arg4 ;
24069 int arg5 = (int) 0 ;
24070 int arg6 = (int) 0 ;
24071 PyObject * obj0 = 0 ;
24072 PyObject * obj1 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 arg2 = PyInt_AsLong(obj1) ? true : false;
24080 if (PyErr_Occurred()) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 Py_INCREF(Py_None); resultobj = Py_None;
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24098 double arg2 ;
24099 double arg3 ;
24100 int arg4 = (int) 0 ;
24101 int arg5 = (int) 0 ;
24102 PyObject * obj0 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 Py_INCREF(Py_None); resultobj = Py_None;
24117 return resultobj;
24118 fail:
24119 return NULL;
24120 }
24121
24122
24123 static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24126 double arg2 ;
24127 double arg3 ;
24128 int arg4 = (int) 0 ;
24129 int arg5 = (int) 0 ;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 Py_INCREF(Py_None); resultobj = Py_None;
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24154 wxDC *arg2 = 0 ;
24155 double arg3 ;
24156 double arg4 ;
24157 double arg5 ;
24158 double arg6 ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24168 if (arg2 == NULL) {
24169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24170 }
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 Py_INCREF(Py_None); resultobj = Py_None;
24179 return resultobj;
24180 fail:
24181 return NULL;
24182 }
24183
24184
24185 static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24186 PyObject *resultobj;
24187 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24188 wxDC *arg2 = 0 ;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self",(char *) "dc", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24198 if (arg2 == NULL) {
24199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24200 }
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->base_OnDrawControlPoints(*arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24218 wxDC *arg2 = 0 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "dc", NULL
24223 };
24224
24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24228 if (arg2 == NULL) {
24229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24230 }
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 (arg1)->base_OnEraseControlPoints(*arg2);
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 Py_INCREF(Py_None); resultobj = Py_None;
24239 return resultobj;
24240 fail:
24241 return NULL;
24242 }
24243
24244
24245 static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj;
24247 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24248 wxDC *arg2 = 0 ;
24249 bool arg3 = (bool) TRUE ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 PyObject * obj2 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24260 if (arg2 == NULL) {
24261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24262 }
24263 if (obj2) {
24264 arg3 = PyInt_AsLong(obj2) ? true : false;
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->base_OnMoveLink(*arg2,arg3);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24284 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24285 bool arg3 ;
24286 double arg4 ;
24287 double arg5 ;
24288 int arg6 = (int) 0 ;
24289 int arg7 = (int) 0 ;
24290 PyObject * obj0 = 0 ;
24291 PyObject * obj1 = 0 ;
24292 PyObject * obj2 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7)) goto fail;
24298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 arg3 = PyInt_AsLong(obj2) ? true : false;
24301 if (PyErr_Occurred()) SWIG_fail;
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24305
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 Py_INCREF(Py_None); resultobj = Py_None;
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24319 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24320 double arg3 ;
24321 double arg4 ;
24322 int arg5 = (int) 0 ;
24323 int arg6 = (int) 0 ;
24324 PyObject * obj0 = 0 ;
24325 PyObject * obj1 = 0 ;
24326 char *kwnames[] = {
24327 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24328 };
24329
24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24333 {
24334 PyThreadState* __tstate = wxPyBeginAllowThreads();
24335 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24336
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 Py_INCREF(Py_None); resultobj = Py_None;
24341 return resultobj;
24342 fail:
24343 return NULL;
24344 }
24345
24346
24347 static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24348 PyObject *resultobj;
24349 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24350 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24351 double arg3 ;
24352 double arg4 ;
24353 int arg5 = (int) 0 ;
24354 int arg6 = (int) 0 ;
24355 PyObject * obj0 = 0 ;
24356 PyObject * obj1 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 Py_INCREF(Py_None); resultobj = Py_None;
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24381 double arg2 ;
24382 double arg3 ;
24383 PyObject * obj0 = 0 ;
24384 char *kwnames[] = {
24385 (char *) "self",(char *) "w",(char *) "h", NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->base_OnBeginSize(arg2,arg3);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
24407 double arg2 ;
24408 double arg3 ;
24409 PyObject * obj0 = 0 ;
24410 char *kwnames[] = {
24411 (char *) "self",(char *) "w",(char *) "h", NULL
24412 };
24413
24414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 (arg1)->base_OnEndSize(arg2,arg3);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 Py_INCREF(Py_None); resultobj = Py_None;
24424 return resultobj;
24425 fail:
24426 return NULL;
24427 }
24428
24429
24430 static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
24431 PyObject *obj;
24432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
24434 Py_INCREF(obj);
24435 return Py_BuildValue((char *)"");
24436 }
24437 static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxDiagram *result;
24440 char *kwnames[] = {
24441 NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (wxDiagram *)new wxDiagram();
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 resultobj = wxPyMake_wxObject(result);
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxDiagram *arg1 = (wxDiagram *) 0 ;
24464 wxPyShape *arg2 = (wxPyShape *) 0 ;
24465 wxPyShape *arg3 = (wxPyShape *) NULL ;
24466 PyObject * obj0 = 0 ;
24467 PyObject * obj1 = 0 ;
24468 PyObject * obj2 = 0 ;
24469 char *kwnames[] = {
24470 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24471 };
24472
24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
24474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24476 if (obj2) {
24477 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24478 }
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 (arg1)->AddShape(arg2,arg3);
24482
24483 wxPyEndAllowThreads(__tstate);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 Py_INCREF(Py_None); resultobj = Py_None;
24487 return resultobj;
24488 fail:
24489 return NULL;
24490 }
24491
24492
24493 static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24494 PyObject *resultobj;
24495 wxDiagram *arg1 = (wxDiagram *) 0 ;
24496 wxDC *arg2 = 0 ;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self",(char *) "dc", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24506 if (arg2 == NULL) {
24507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 (arg1)->Clear(*arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 Py_INCREF(Py_None); resultobj = Py_None;
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxDiagram *arg1 = (wxDiagram *) 0 ;
24526 PyObject * obj0 = 0 ;
24527 char *kwnames[] = {
24528 (char *) "self", NULL
24529 };
24530
24531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
24532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 (arg1)->DeleteAllShapes();
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxDiagram *arg1 = (wxDiagram *) 0 ;
24550 wxDC *arg2 = 0 ;
24551 double arg3 ;
24552 double arg4 ;
24553 double arg5 ;
24554 double arg6 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdddd:Diagram_DrawOutline",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24564 if (arg2 == NULL) {
24565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24566 }
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxDiagram *arg1 = (wxDiagram *) 0 ;
24584 long arg2 ;
24585 wxPyShape *result;
24586 PyObject * obj0 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "id", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Diagram_FindShape",kwnames,&obj0,&arg2)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = (wxPyShape *)(arg1)->FindShape(arg2);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 {
24601 resultobj = wxPyMake_wxShapeEvtHandler(result);
24602 }
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxDiagram *arg1 = (wxDiagram *) 0 ;
24612 wxPyShapeCanvas *result;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
24623
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 {
24628 resultobj = wxPyMake_wxObject(result);
24629 }
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxDiagram *arg1 = (wxDiagram *) 0 ;
24639 int result;
24640 PyObject * obj0 = 0 ;
24641 char *kwnames[] = {
24642 (char *) "self", NULL
24643 };
24644
24645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
24646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 result = (int)(arg1)->GetCount();
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 resultobj = PyInt_FromLong((long)result);
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj;
24663 wxDiagram *arg1 = (wxDiagram *) 0 ;
24664 double result;
24665 PyObject * obj0 = 0 ;
24666 char *kwnames[] = {
24667 (char *) "self", NULL
24668 };
24669
24670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
24671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 result = (double)(arg1)->GetGridSpacing();
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 resultobj = PyFloat_FromDouble(result);
24680 return resultobj;
24681 fail:
24682 return NULL;
24683 }
24684
24685
24686 static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24687 PyObject *resultobj;
24688 wxDiagram *arg1 = (wxDiagram *) 0 ;
24689 int result;
24690 PyObject * obj0 = 0 ;
24691 char *kwnames[] = {
24692 (char *) "self", NULL
24693 };
24694
24695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
24696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (int)(arg1)->GetMouseTolerance();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 resultobj = PyInt_FromLong((long)result);
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxDiagram *arg1 = (wxDiagram *) 0 ;
24714 PyObject *result;
24715 PyObject * obj0 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (PyObject *)wxDiagram_GetShapeList(arg1);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 resultobj = result;
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
24737 PyObject *resultobj;
24738 wxDiagram *arg1 = (wxDiagram *) 0 ;
24739 bool result;
24740 PyObject * obj0 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (bool)(arg1)->GetQuickEditMode();
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 resultobj = PyInt_FromLong((long)result);
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
24762 PyObject *resultobj;
24763 wxDiagram *arg1 = (wxDiagram *) 0 ;
24764 bool result;
24765 PyObject * obj0 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
24771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 result = (bool)(arg1)->GetSnapToGrid();
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 resultobj = PyInt_FromLong((long)result);
24780 return resultobj;
24781 fail:
24782 return NULL;
24783 }
24784
24785
24786 static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24787 PyObject *resultobj;
24788 wxDiagram *arg1 = (wxDiagram *) 0 ;
24789 wxPyShape *arg2 = (wxPyShape *) 0 ;
24790 PyObject * obj0 = 0 ;
24791 PyObject * obj1 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self",(char *) "shape", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
24797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 (arg1)->InsertShape(arg2);
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 Py_INCREF(Py_None); resultobj = Py_None;
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj;
24815 wxDiagram *arg1 = (wxDiagram *) 0 ;
24816 wxDC *arg2 = 0 ;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
24819 char *kwnames[] = {
24820 (char *) "self",(char *) "dc", NULL
24821 };
24822
24823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
24824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24826 if (arg2 == NULL) {
24827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24828 }
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 (arg1)->RecentreAll(*arg2);
24832
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 Py_INCREF(Py_None); resultobj = Py_None;
24837 return resultobj;
24838 fail:
24839 return NULL;
24840 }
24841
24842
24843 static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxDiagram *arg1 = (wxDiagram *) 0 ;
24846 wxDC *arg2 = 0 ;
24847 PyObject * obj0 = 0 ;
24848 PyObject * obj1 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self",(char *) "dc", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
24854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24856 if (arg2 == NULL) {
24857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24858 }
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 (arg1)->Redraw(*arg2);
24862
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
24866 Py_INCREF(Py_None); resultobj = Py_None;
24867 return resultobj;
24868 fail:
24869 return NULL;
24870 }
24871
24872
24873 static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj;
24875 wxDiagram *arg1 = (wxDiagram *) 0 ;
24876 PyObject * obj0 = 0 ;
24877 char *kwnames[] = {
24878 (char *) "self", NULL
24879 };
24880
24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
24882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 (arg1)->RemoveAllShapes();
24886
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 Py_INCREF(Py_None); resultobj = Py_None;
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxDiagram *arg1 = (wxDiagram *) 0 ;
24900 wxPyShape *arg2 = (wxPyShape *) 0 ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self",(char *) "shape", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 (arg1)->RemoveShape(arg2);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 Py_INCREF(Py_None); resultobj = Py_None;
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxDiagram *arg1 = (wxDiagram *) 0 ;
24927 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
24928 PyObject * obj0 = 0 ;
24929 PyObject * obj1 = 0 ;
24930 char *kwnames[] = {
24931 (char *) "self",(char *) "canvas", NULL
24932 };
24933
24934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 (arg1)->SetCanvas(arg2);
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 Py_INCREF(Py_None); resultobj = Py_None;
24945 return resultobj;
24946 fail:
24947 return NULL;
24948 }
24949
24950
24951 static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24952 PyObject *resultobj;
24953 wxDiagram *arg1 = (wxDiagram *) 0 ;
24954 double arg2 ;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self",(char *) "spacing", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Diagram_SetGridSpacing",kwnames,&obj0,&arg2)) goto fail;
24961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 (arg1)->SetGridSpacing(arg2);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 Py_INCREF(Py_None); resultobj = Py_None;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxDiagram *arg1 = (wxDiagram *) 0 ;
24979 int arg2 ;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self",(char *) "tolerance", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Diagram_SetMouseTolerance",kwnames,&obj0,&arg2)) goto fail;
24986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 (arg1)->SetMouseTolerance(arg2);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 Py_INCREF(Py_None); resultobj = Py_None;
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25002 PyObject *resultobj;
25003 wxDiagram *arg1 = (wxDiagram *) 0 ;
25004 bool arg2 ;
25005 PyObject * obj0 = 0 ;
25006 PyObject * obj1 = 0 ;
25007 char *kwnames[] = {
25008 (char *) "self",(char *) "mode", NULL
25009 };
25010
25011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
25012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25013 arg2 = PyInt_AsLong(obj1) ? true : false;
25014 if (PyErr_Occurred()) SWIG_fail;
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 (arg1)->SetQuickEditMode(arg2);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 Py_INCREF(Py_None); resultobj = Py_None;
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxDiagram *arg1 = (wxDiagram *) 0 ;
25032 bool arg2 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "snap", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
25040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25041 arg2 = PyInt_AsLong(obj1) ? true : false;
25042 if (PyErr_Occurred()) SWIG_fail;
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 (arg1)->SetSnapToGrid(arg2);
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 Py_INCREF(Py_None); resultobj = Py_None;
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxDiagram *arg1 = (wxDiagram *) 0 ;
25060 bool arg2 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "show", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
25068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25069 arg2 = PyInt_AsLong(obj1) ? true : false;
25070 if (PyErr_Occurred()) SWIG_fail;
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 (arg1)->ShowAll(arg2);
25074
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 Py_INCREF(Py_None); resultobj = Py_None;
25079 return resultobj;
25080 fail:
25081 return NULL;
25082 }
25083
25084
25085 static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxDiagram *arg1 = (wxDiagram *) 0 ;
25088 double *arg2 = (double *) 0 ;
25089 double *arg3 = (double *) 0 ;
25090 double temp2 ;
25091 double temp3 ;
25092 PyObject * obj0 = 0 ;
25093 PyObject * obj1 = 0 ;
25094 PyObject * obj2 = 0 ;
25095 char *kwnames[] = {
25096 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25097 };
25098
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25101 {
25102 temp2 = PyFloat_AsDouble(obj1);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 arg2 = &temp2;
25105 }
25106 {
25107 temp3 = PyFloat_AsDouble(obj2);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 arg3 = &temp3;
25110 }
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->Snap(arg2,arg3);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 {
25120 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25121 resultobj = t_output_helper(resultobj,o);
25122 }
25123 {
25124 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25125 resultobj = t_output_helper(resultobj,o);
25126 }
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
25134 PyObject *obj;
25135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
25137 Py_INCREF(obj);
25138 return Py_BuildValue((char *)"");
25139 }
25140 static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj;
25142 wxWindow *arg1 = (wxWindow *) NULL ;
25143 wxWindowID arg2 = (wxWindowID) -1 ;
25144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25146 wxSize const &arg4_defvalue = wxDefaultSize ;
25147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25148 long arg5 = (long) wxBORDER ;
25149 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
25150 wxString *arg6 = (wxString *) &arg6_defvalue ;
25151 wxPyShapeCanvas *result;
25152 wxPoint temp3 ;
25153 wxSize temp4 ;
25154 bool temp6 = false ;
25155 PyObject * obj0 = 0 ;
25156 PyObject * obj2 = 0 ;
25157 PyObject * obj3 = 0 ;
25158 PyObject * obj5 = 0 ;
25159 char *kwnames[] = {
25160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25161 };
25162
25163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
25164 if (obj0) {
25165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25166 }
25167 if (obj2) {
25168 {
25169 arg3 = &temp3;
25170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25171 }
25172 }
25173 if (obj3) {
25174 {
25175 arg4 = &temp4;
25176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25177 }
25178 }
25179 if (obj5) {
25180 {
25181 arg6 = wxString_in_helper(obj5);
25182 if (arg6 == NULL) SWIG_fail;
25183 temp6 = true;
25184 }
25185 }
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25189
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 {
25194 resultobj = wxPyMake_wxObject(result);
25195 }
25196 {
25197 if (temp6)
25198 delete arg6;
25199 }
25200 return resultobj;
25201 fail:
25202 {
25203 if (temp6)
25204 delete arg6;
25205 }
25206 return NULL;
25207 }
25208
25209
25210 static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25211 PyObject *resultobj;
25212 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25213 PyObject *arg2 = (PyObject *) 0 ;
25214 PyObject *arg3 = (PyObject *) 0 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 PyObject * obj2 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "self",(char *) "self",(char *) "_class", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25224 arg2 = obj1;
25225 arg3 = obj2;
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 (arg1)->_setCallbackInfo(arg2,arg3);
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 Py_INCREF(Py_None); resultobj = Py_None;
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25241 PyObject *resultobj;
25242 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25243 wxPyShape *arg2 = (wxPyShape *) 0 ;
25244 wxPyShape *arg3 = (wxPyShape *) NULL ;
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 PyObject * obj2 = 0 ;
25248 char *kwnames[] = {
25249 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25250 };
25251
25252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
25253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25255 if (obj2) {
25256 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->AddShape(arg2,arg3);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 Py_INCREF(Py_None); resultobj = Py_None;
25266 return resultobj;
25267 fail:
25268 return NULL;
25269 }
25270
25271
25272 static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25275 double arg2 ;
25276 double arg3 ;
25277 int *arg4 = (int *) 0 ;
25278 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
25279 wxPyShape *arg6 = (wxPyShape *) NULL ;
25280 wxPyShape *result;
25281 int temp4 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj3 = 0 ;
25284 PyObject * obj4 = 0 ;
25285 char *kwnames[] = {
25286 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25287 };
25288
25289 arg4 = &temp4;
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
25291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25292 if (obj3) {
25293 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25294 }
25295 if (obj4) {
25296 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 {
25306 resultobj = wxPyMake_wxShapeEvtHandler(result);
25307 }
25308 {
25309 PyObject *o = PyInt_FromLong((long) (*arg4));
25310 resultobj = t_output_helper(resultobj,o);
25311 }
25312 return resultobj;
25313 fail:
25314 return NULL;
25315 }
25316
25317
25318 static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25319 PyObject *resultobj;
25320 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25321 double arg2 ;
25322 double arg3 ;
25323 int *arg4 = (int *) 0 ;
25324 int arg5 ;
25325 wxPyShape *result;
25326 int temp4 ;
25327 PyObject * obj0 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25330 };
25331
25332 arg4 = &temp4;
25333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&arg2,&arg3,&arg5)) goto fail;
25334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 {
25343 resultobj = wxPyMake_wxShapeEvtHandler(result);
25344 }
25345 {
25346 PyObject *o = PyInt_FromLong((long) (*arg4));
25347 resultobj = t_output_helper(resultobj,o);
25348 }
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25358 wxDiagram *result;
25359 PyObject * obj0 = 0 ;
25360 char *kwnames[] = {
25361 (char *) "self", NULL
25362 };
25363
25364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
25365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 result = (wxDiagram *)(arg1)->GetDiagram();
25369
25370 wxPyEndAllowThreads(__tstate);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 {
25374 resultobj = wxPyMake_wxObject(result);
25375 }
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj;
25384 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25385 bool result;
25386 PyObject * obj0 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "self", NULL
25389 };
25390
25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
25392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 result = (bool)(arg1)->GetQuickEditMode();
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 resultobj = PyInt_FromLong((long)result);
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25410 wxPyShape *arg2 = (wxPyShape *) 0 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "shape", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 (arg1)->InsertShape(arg2);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431 }
25432
25433
25434 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25435 PyObject *resultobj;
25436 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25437 double arg2 ;
25438 double arg3 ;
25439 int arg4 = (int) 0 ;
25440 PyObject * obj0 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 Py_INCREF(Py_None); resultobj = Py_None;
25455 return resultobj;
25456 fail:
25457 return NULL;
25458 }
25459
25460
25461 static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25462 PyObject *resultobj;
25463 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25464 double arg2 ;
25465 double arg3 ;
25466 int arg4 = (int) 0 ;
25467 PyObject * obj0 = 0 ;
25468 char *kwnames[] = {
25469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25470 };
25471
25472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 Py_INCREF(Py_None); resultobj = Py_None;
25482 return resultobj;
25483 fail:
25484 return NULL;
25485 }
25486
25487
25488 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25491 double arg2 ;
25492 double arg3 ;
25493 int arg4 = (int) 0 ;
25494 PyObject * obj0 = 0 ;
25495 char *kwnames[] = {
25496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25497 };
25498
25499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 Py_INCREF(Py_None); resultobj = Py_None;
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25518 double arg2 ;
25519 double arg3 ;
25520 int arg4 = (int) 0 ;
25521 PyObject * obj0 = 0 ;
25522 char *kwnames[] = {
25523 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25524 };
25525
25526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
25531
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 Py_INCREF(Py_None); resultobj = Py_None;
25536 return resultobj;
25537 fail:
25538 return NULL;
25539 }
25540
25541
25542 static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25543 PyObject *resultobj;
25544 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25545 bool arg2 ;
25546 double arg3 ;
25547 double arg4 ;
25548 int arg5 = (int) 0 ;
25549 PyObject * obj0 = 0 ;
25550 PyObject * obj1 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25557 arg2 = PyInt_AsLong(obj1) ? true : false;
25558 if (PyErr_Occurred()) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 Py_INCREF(Py_None); resultobj = Py_None;
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25576 bool arg2 ;
25577 double arg3 ;
25578 double arg4 ;
25579 int arg5 = (int) 0 ;
25580 PyObject * obj0 = 0 ;
25581 PyObject * obj1 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25584 };
25585
25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
25587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25588 arg2 = PyInt_AsLong(obj1) ? true : false;
25589 if (PyErr_Occurred()) SWIG_fail;
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 Py_INCREF(Py_None); resultobj = Py_None;
25598 return resultobj;
25599 fail:
25600 return NULL;
25601 }
25602
25603
25604 static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25605 PyObject *resultobj;
25606 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25607 double arg2 ;
25608 double arg3 ;
25609 int arg4 = (int) 0 ;
25610 PyObject * obj0 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 Py_INCREF(Py_None); resultobj = Py_None;
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj;
25633 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25634 double arg2 ;
25635 double arg3 ;
25636 int arg4 = (int) 0 ;
25637 PyObject * obj0 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
25643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 (arg1)->base_OnRightClick(arg2,arg3,arg4);
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 Py_INCREF(Py_None); resultobj = Py_None;
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj;
25660 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25661 wxDC *arg2 = 0 ;
25662 PyObject * obj0 = 0 ;
25663 PyObject * obj1 = 0 ;
25664 char *kwnames[] = {
25665 (char *) "self",(char *) "dc", NULL
25666 };
25667
25668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
25669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25671 if (arg2 == NULL) {
25672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25673 }
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 (arg1)->Redraw(*arg2);
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 Py_INCREF(Py_None); resultobj = Py_None;
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25691 wxPyShape *arg2 = (wxPyShape *) 0 ;
25692 PyObject * obj0 = 0 ;
25693 PyObject * obj1 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self",(char *) "shape", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
25699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 (arg1)->RemoveShape(arg2);
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 Py_INCREF(Py_None); resultobj = Py_None;
25709 return resultobj;
25710 fail:
25711 return NULL;
25712 }
25713
25714
25715 static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
25716 PyObject *resultobj;
25717 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25718 wxDiagram *arg2 = (wxDiagram *) 0 ;
25719 PyObject * obj0 = 0 ;
25720 PyObject * obj1 = 0 ;
25721 char *kwnames[] = {
25722 (char *) "self",(char *) "diagram", NULL
25723 };
25724
25725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
25726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 (arg1)->SetDiagram(arg2);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 Py_INCREF(Py_None); resultobj = Py_None;
25736 return resultobj;
25737 fail:
25738 return NULL;
25739 }
25740
25741
25742 static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj;
25744 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
25745 double *arg2 = (double *) 0 ;
25746 double *arg3 = (double *) 0 ;
25747 double temp2 ;
25748 double temp3 ;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj1 = 0 ;
25751 PyObject * obj2 = 0 ;
25752 char *kwnames[] = {
25753 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
25757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25758 {
25759 temp2 = PyFloat_AsDouble(obj1);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 arg2 = &temp2;
25762 }
25763 {
25764 temp3 = PyFloat_AsDouble(obj2);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 arg3 = &temp3;
25767 }
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 (arg1)->Snap(arg2,arg3);
25771
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
25775 Py_INCREF(Py_None); resultobj = Py_None;
25776 {
25777 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25778 resultobj = t_output_helper(resultobj,o);
25779 }
25780 {
25781 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25782 resultobj = t_output_helper(resultobj,o);
25783 }
25784 return resultobj;
25785 fail:
25786 return NULL;
25787 }
25788
25789
25790 static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
25791 PyObject *obj;
25792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25793 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
25794 Py_INCREF(obj);
25795 return Py_BuildValue((char *)"");
25796 }
25797 static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj;
25799 char *kwnames[] = {
25800 NULL
25801 };
25802
25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 wxOGLInitialize();
25807
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 Py_INCREF(Py_None); resultobj = Py_None;
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
25819 PyObject *resultobj;
25820 char *kwnames[] = {
25821 NULL
25822 };
25823
25824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 wxOGLCleanUp();
25828
25829 wxPyEndAllowThreads(__tstate);
25830 if (PyErr_Occurred()) SWIG_fail;
25831 }
25832 Py_INCREF(Py_None); resultobj = Py_None;
25833 return resultobj;
25834 fail:
25835 return NULL;
25836 }
25837
25838
25839 static PyMethodDef SwigMethods[] = {
25840 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
25870 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
25908 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
26074 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
26116 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
26149 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
26182 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
26218 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
26278 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
26283 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
26329 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
26363 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
26420 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
26451 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
26482 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
26501 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
26572 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
26609 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
26641 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
26667 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
26688 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
26690 { NULL, NULL }
26691 };
26692
26693
26694 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26695
26696 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26697 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26698 }
26699 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26700 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26701 }
26702 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26703 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26704 }
26705 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26706 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26707 }
26708 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26709 return (void *)((wxPanel *) ((wxPyPanel *) x));
26710 }
26711 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26712 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26713 }
26714 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26715 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26716 }
26717 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26718 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26719 }
26720 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
26721 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26722 }
26723 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26724 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26725 }
26726 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
26727 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26728 }
26729 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26730 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26731 }
26732 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26733 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26734 }
26735 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26736 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26737 }
26738 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26739 return (void *)((wxWindow *) ((wxMenuBar *) x));
26740 }
26741 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26743 }
26744 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26745 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26746 }
26747 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26748 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26749 }
26750 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26751 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26752 }
26753 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26755 }
26756 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26758 }
26759 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26761 }
26762 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26763 return (void *)((wxWindow *) ((wxPanel *) x));
26764 }
26765 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26766 return (void *)((wxWindow *) ((wxStatusBar *) x));
26767 }
26768 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26769 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26770 }
26771 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26772 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26773 }
26774 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26775 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26776 }
26777 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26778 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26779 }
26780 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26781 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26782 }
26783 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26784 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26785 }
26786 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26787 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26788 }
26789 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26790 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26791 }
26792 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26793 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26794 }
26795 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26796 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26797 }
26798 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26799 return (void *)((wxWindow *) ((wxSashWindow *) x));
26800 }
26801 static void *_p_wxControlTo_p_wxWindow(void *x) {
26802 return (void *)((wxWindow *) ((wxControl *) x));
26803 }
26804 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26805 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26806 }
26807 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26808 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26809 }
26810 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26811 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26812 }
26813 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26814 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26815 }
26816 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26817 return (void *)((wxWindow *) ((wxPyWindow *) x));
26818 }
26819 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26820 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26821 }
26822 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
26823 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26824 }
26825 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26826 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26827 }
26828 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26829 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26830 }
26831 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26832 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26833 }
26834 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26835 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26836 }
26837 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26838 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26839 }
26840 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26842 }
26843 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26845 }
26846 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26848 }
26849 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26850 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26851 }
26852 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26854 }
26855 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26857 }
26858 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26860 }
26861 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26862 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26863 }
26864 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26865 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26866 }
26867 static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
26868 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
26869 }
26870 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26872 }
26873 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26875 }
26876 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26877 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26878 }
26879 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26880 return (void *)((wxObject *) ((wxSizerItem *) x));
26881 }
26882 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26883 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26884 }
26885 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26886 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26887 }
26888 static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
26889 return (void *)((wxObject *) ((wxOGLConstraint *) x));
26890 }
26891 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26892 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26893 }
26894 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26895 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26896 }
26897 static void *_p_wxSizerTo_p_wxObject(void *x) {
26898 return (void *)((wxObject *) ((wxSizer *) x));
26899 }
26900 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
26901 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
26902 }
26903 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
26904 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
26905 }
26906 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
26907 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
26908 }
26909 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26910 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26911 }
26912 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26914 }
26915 static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
26916 return (void *)((wxObject *) ((wxArrowHead *) x));
26917 }
26918 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26920 }
26921 static void *_p_wxEventTo_p_wxObject(void *x) {
26922 return (void *)((wxObject *) ((wxEvent *) x));
26923 }
26924 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26925 return (void *)((wxObject *) ((wxFontData *) x));
26926 }
26927 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26928 return (void *)((wxObject *) ((wxPrintData *) x));
26929 }
26930 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26931 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26932 }
26933 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26934 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26935 }
26936 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26937 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26938 }
26939 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26940 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26941 }
26942 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26943 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26944 }
26945 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26947 }
26948 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26949 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26950 }
26951 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26952 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26953 }
26954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26955 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26956 }
26957 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26958 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26959 }
26960 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26961 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26962 }
26963 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26964 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26965 }
26966 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26968 }
26969 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
26970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
26971 }
26972 static void *_p_wxControlTo_p_wxObject(void *x) {
26973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26974 }
26975 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
26976 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
26977 }
26978 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26979 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26980 }
26981 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26983 }
26984 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26985 return (void *)((wxObject *) ((wxFSFile *) x));
26986 }
26987 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26988 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26989 }
26990 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
26991 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
26992 }
26993 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26994 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26995 }
26996 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26998 }
26999 static void *_p_wxColourDataTo_p_wxObject(void *x) {
27000 return (void *)((wxObject *) ((wxColourData *) x));
27001 }
27002 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27003 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27004 }
27005 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27006 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27007 }
27008 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
27009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
27010 }
27011 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
27012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27013 }
27014 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
27015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27016 }
27017 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
27018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27019 }
27020 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
27021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27022 }
27023 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
27024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27025 }
27026 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
27027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27028 }
27029 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
27030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27031 }
27032 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
27033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27034 }
27035 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27036 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27037 }
27038 static void *_p_wxPrinterTo_p_wxObject(void *x) {
27039 return (void *)((wxObject *) ((wxPrinter *) x));
27040 }
27041 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27042 return (void *)((wxObject *) ((wxMenuItem *) x));
27043 }
27044 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27045 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27046 }
27047 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27048 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27049 }
27050 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27051 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27052 }
27053 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27054 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27055 }
27056 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27057 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27058 }
27059 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27060 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27061 }
27062 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27063 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27064 }
27065 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27066 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27067 }
27068 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27069 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27070 }
27071 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27072 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27073 }
27074 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27075 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27076 }
27077 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27078 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27079 }
27080 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27081 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27082 }
27083 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27084 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27085 }
27086 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27087 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27088 }
27089 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27090 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27091 }
27092 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27093 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27094 }
27095 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27096 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27097 }
27098 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27099 return (void *)((wxObject *) ((wxImageHandler *) x));
27100 }
27101 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27102 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27103 }
27104 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27105 return (void *)((wxObject *) ((wxEvtHandler *) x));
27106 }
27107 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
27108 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
27109 }
27110 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
27111 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
27112 }
27113 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
27114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27115 }
27116 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
27117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27118 }
27119 static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
27120 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27121 }
27122 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27123 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27124 }
27125 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
27126 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27127 }
27128 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
27129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27130 }
27131 static void *_p_wxImageTo_p_wxObject(void *x) {
27132 return (void *)((wxObject *) ((wxImage *) x));
27133 }
27134 static void *_p_wxFrameTo_p_wxObject(void *x) {
27135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27136 }
27137 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
27138 return (void *)((wxObject *) ((wxPyPrintout *) x));
27139 }
27140 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27141 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27142 }
27143 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
27144 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
27145 }
27146 static void *_p_wxDiagramTo_p_wxObject(void *x) {
27147 return (void *)((wxObject *) ((wxDiagram *) x));
27148 }
27149 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
27150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
27151 }
27152 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
27153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27154 }
27155 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27157 }
27158 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27159 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27160 }
27161 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27162 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27163 }
27164 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
27165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27166 }
27167 static void *_p_wxWindowTo_p_wxObject(void *x) {
27168 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27169 }
27170 static void *_p_wxMenuTo_p_wxObject(void *x) {
27171 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27172 }
27173 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27175 }
27176 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
27177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
27178 }
27179 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
27180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
27181 }
27182 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
27183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
27184 }
27185 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
27186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
27187 }
27188 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
27189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27190 }
27191 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
27192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
27193 }
27194 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
27195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27196 }
27197 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
27198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27199 }
27200 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
27201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27202 }
27203 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
27204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
27205 }
27206 static void *_p_wxSashEventTo_p_wxObject(void *x) {
27207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
27208 }
27209 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
27210 return (void *)((wxObject *) ((wxPrintPreview *) x));
27211 }
27212 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
27213 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
27214 }
27215 static void *_p_wxPanelTo_p_wxObject(void *x) {
27216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
27217 }
27218 static void *_p_wxDialogTo_p_wxObject(void *x) {
27219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27220 }
27221 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
27222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27223 }
27224 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
27225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27226 }
27227 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
27228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27229 }
27230 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
27231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27232 }
27233 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
27234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27235 }
27236 static void *_p_wxPyShapeTo_p_wxObject(void *x) {
27237 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
27238 }
27239 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27240 return (void *)((wxObject *) ((wxFileSystem *) x));
27241 }
27242 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27244 }
27245 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27246 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27247 }
27248 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27249 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27250 }
27251 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27252 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27253 }
27254 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27255 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27256 }
27257 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27258 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27259 }
27260 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27262 }
27263 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27264 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27265 }
27266 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
27267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27268 }
27269 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
27270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27271 }
27272 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27273 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27274 }
27275 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27276 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27277 }
27278 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27280 }
27281 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
27282 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
27283 }
27284 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
27285 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27286 }
27287 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
27288 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27289 }
27290 static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
27291 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
27292 }
27293 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
27294 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
27295 }
27296 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27298 }
27299 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
27300 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
27301 }
27302 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
27303 return (void *)((wxObject *) ((wxPrintDialogData *) x));
27304 }
27305 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27306 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27307 }
27308 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27309 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27310 }
27311 static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
27312 return (void *)((wxObject *) ((wxShapeRegion *) x));
27313 }
27314 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27315 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
27316 }
27317 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
27318 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27319 }
27320 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
27321 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27322 }
27323 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
27324 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
27325 }
27326 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
27327 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
27328 }
27329 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
27330 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
27331 }
27332 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
27333 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
27334 }
27335 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
27336 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27337 }
27338 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
27339 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27340 }
27341 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
27342 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
27343 }
27344 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
27345 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
27346 }
27347 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
27348 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
27349 }
27350 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
27351 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
27352 }
27353 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
27354 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27355 }
27356 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
27357 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27358 }
27359 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
27360 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
27361 }
27362 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27363 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27364 }
27365 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27366 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27367 }
27368 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27369 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27370 }
27371 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27372 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27373 }
27374 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
27375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27376 }
27377 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
27378 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27379 }
27380 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
27381 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27382 }
27383 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
27384 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27385 }
27386 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
27387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27388 }
27389 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
27390 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27391 }
27392 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
27393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27394 }
27395 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
27396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
27397 }
27398 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
27399 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
27400 }
27401 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
27402 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
27403 }
27404 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
27405 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27406 }
27407 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
27408 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27409 }
27410 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
27411 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
27412 }
27413 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
27414 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
27415 }
27416 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
27417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
27418 }
27419 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
27420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
27421 }
27422 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
27423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
27424 }
27425 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27426 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27427 }
27428 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
27429 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
27430 }
27431 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
27432 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
27433 }
27434 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
27435 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
27436 }
27437 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27438 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27439 }
27440 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
27441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27442 }
27443 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
27444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27445 }
27446 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
27447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27448 }
27449 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27450 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27451 }
27452 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27454 }
27455 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
27456 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
27457 }
27458 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
27459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27460 }
27461 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
27462 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
27463 }
27464 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
27465 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27466 }
27467 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
27468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27469 }
27470 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
27471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
27472 }
27473 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
27474 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27475 }
27476 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
27477 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
27478 }
27479 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
27480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
27481 }
27482 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
27483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27484 }
27485 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
27486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27487 }
27488 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
27489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27490 }
27491 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
27492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
27493 }
27494 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
27495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27496 }
27497 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
27498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
27499 }
27500 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
27501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27502 }
27503 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
27504 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
27505 }
27506 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
27507 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
27508 }
27509 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
27510 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27511 }
27512 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
27513 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27514 }
27515 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
27516 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
27517 }
27518 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
27519 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
27520 }
27521 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
27522 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
27523 }
27524 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
27525 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
27526 }
27527 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
27528 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27529 }
27530 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
27531 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27532 }
27533 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
27534 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
27535 }
27536 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
27537 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
27538 }
27539 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
27540 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
27541 }
27542 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
27543 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
27544 }
27545 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
27546 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
27547 }
27548 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
27549 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
27550 }
27551 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
27552 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
27553 }
27554 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
27555 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
27556 }
27557 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
27558 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27559 }
27560 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
27561 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
27562 }
27563 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
27564 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
27565 }
27566 static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27567 static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27568 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27569 static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27570 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27571 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27572 static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27573 static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27574 static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27575 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}};
27576 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27577 static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27578 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27579 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}};
27580 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}};
27581 static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27582 static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27583 static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27584 static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27585 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27586 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_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}};
27587 static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27588 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27589 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}};
27590 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}};
27591 static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
27592 static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27593 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27594 static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27595 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}};
27596 static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27597 static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27598 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}};
27599 static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
27600 static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27601 static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27602 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27603 static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27604 static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27605 static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27606
27607 static swig_type_info *swig_types_initial[] = {
27608 _swigt__p_wxOGLConstraint,
27609 _swigt__p_wxBrush,
27610 _swigt__p_wxColour,
27611 _swigt__p_wxShapeRegion,
27612 _swigt__p_wxDC,
27613 _swigt__p_wxRealPoint,
27614 _swigt__p_wxPyControlPoint,
27615 _swigt__p_wxArrowHead,
27616 _swigt__p_wxStringList,
27617 _swigt__p_wxPanel,
27618 _swigt__p_bool,
27619 _swigt__p_wxList,
27620 _swigt__p_wxFont,
27621 _swigt__p_wxScrolledWindow,
27622 _swigt__p_wxWindow,
27623 _swigt__p_double,
27624 _swigt__p_wxPyDivisionShape,
27625 _swigt__p_wxPyDrawnShape,
27626 _swigt__p_wxPyPolygonShape,
27627 _swigt__p_wxBitmap,
27628 _swigt__p_wxObject,
27629 _swigt__p_wxPyBitmapShape,
27630 _swigt__p_wxString,
27631 _swigt__p_wxPyShapeEvtHandler,
27632 _swigt__p_wxEvtHandler,
27633 _swigt__p_wxPyEllipseShape,
27634 _swigt__p_wxPyShapeCanvas,
27635 _swigt__p_wxPoint,
27636 _swigt__p_wxDiagram,
27637 _swigt__p_wxPyShape,
27638 _swigt__p_wxClassInfo,
27639 _swigt__p_wxPyLineShape,
27640 _swigt__p_wxPyRectangleShape,
27641 _swigt__p_wxPyCompositeShape,
27642 _swigt__p_wxPyCircleShape,
27643 _swigt__p_wxPen,
27644 _swigt__p_int,
27645 _swigt__p_wxPseudoMetaFile,
27646 _swigt__p_wxPyTextShape,
27647 _swigt__p_wxPyDividedShape,
27648 0
27649 };
27650
27651
27652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27653
27654 static swig_const_info swig_const_table[] = {
27655 { SWIG_PY_INT, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE, 0, 0, 0},
27656 { SWIG_PY_INT, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS, 0, 0, 0},
27657 { SWIG_PY_INT, (char *)"KEY_SHIFT", (long) KEY_SHIFT, 0, 0, 0},
27658 { SWIG_PY_INT, (char *)"KEY_CTRL", (long) KEY_CTRL, 0, 0, 0},
27659 { SWIG_PY_INT, (char *)"ARROW_NONE", (long) ARROW_NONE, 0, 0, 0},
27660 { SWIG_PY_INT, (char *)"ARROW_END", (long) ARROW_END, 0, 0, 0},
27661 { SWIG_PY_INT, (char *)"ARROW_BOTH", (long) ARROW_BOTH, 0, 0, 0},
27662 { SWIG_PY_INT, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE, 0, 0, 0},
27663 { SWIG_PY_INT, (char *)"ARROW_START", (long) ARROW_START, 0, 0, 0},
27664 { SWIG_PY_INT, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE, 0, 0, 0},
27665 { SWIG_PY_INT, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE, 0, 0, 0},
27666 { SWIG_PY_INT, (char *)"ARROW_ARROW", (long) ARROW_ARROW, 0, 0, 0},
27667 { SWIG_PY_INT, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE, 0, 0, 0},
27668 { SWIG_PY_INT, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE, 0, 0, 0},
27669 { SWIG_PY_INT, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE, 0, 0, 0},
27670 { SWIG_PY_INT, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END, 0, 0, 0},
27671 { SWIG_PY_INT, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START, 0, 0, 0},
27672 { SWIG_PY_INT, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL, 0, 0, 0},
27673 { SWIG_PY_INT, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL, 0, 0, 0},
27674 { SWIG_PY_INT, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL, 0, 0, 0},
27675 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO, 0, 0, 0},
27676 { SWIG_PY_INT, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM, 0, 0, 0},
27677 { SWIG_PY_INT, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE, 0, 0, 0},
27678 { SWIG_PY_INT, (char *)"FORMAT_NONE", (long) FORMAT_NONE, 0, 0, 0},
27679 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ, 0, 0, 0},
27680 { SWIG_PY_INT, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT, 0, 0, 0},
27681 { SWIG_PY_INT, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS, 0, 0, 0},
27682 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ, 0, 0, 0},
27683 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT, 0, 0, 0},
27684 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE, 0, 0, 0},
27685 { SWIG_PY_INT, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE, 0, 0, 0},
27686 { SWIG_PY_INT, (char *)"SHADOW_NONE", (long) SHADOW_NONE, 0, 0, 0},
27687 { SWIG_PY_INT, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT, 0, 0, 0},
27688 { SWIG_PY_INT, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT, 0, 0, 0},
27689 { SWIG_PY_INT, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT, 0, 0, 0},
27690 { SWIG_PY_INT, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT, 0, 0, 0},
27691 { SWIG_PY_INT, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT, 0, 0, 0},
27692 { SWIG_PY_INT, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT, 0, 0, 0},
27693 { SWIG_PY_INT, (char *)"OP_ALL", (long) OP_ALL, 0, 0, 0},
27694 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE, 0, 0, 0},
27695 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE, 0, 0, 0},
27696 { SWIG_PY_INT, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING, 0, 0, 0},
27697 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL, 0, 0, 0},
27698 { SWIG_PY_INT, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB, 0, 0, 0},
27699 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY, 0, 0, 0},
27700 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY, 0, 0, 0},
27701 { SWIG_PY_INT, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH, 0, 0, 0},
27702 { SWIG_PY_INT, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF, 0, 0, 0},
27703 { SWIG_PY_INT, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF, 0, 0, 0},
27704 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE, 0, 0, 0},
27705 { SWIG_PY_INT, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW, 0, 0, 0},
27706 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP, 0, 0, 0},
27707 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM, 0, 0, 0},
27708 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT, 0, 0, 0},
27709 { SWIG_PY_INT, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT, 0, 0, 0},
27710 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP, 0, 0, 0},
27711 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM, 0, 0, 0},
27712 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT, 0, 0, 0},
27713 { SWIG_PY_INT, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT, 0, 0, 0},
27714 { SWIG_PY_INT, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE, 0, 0, 0},
27715 { SWIG_PY_INT, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT, 0, 0, 0},
27716 { SWIG_PY_INT, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP, 0, 0, 0},
27717 { SWIG_PY_INT, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT, 0, 0, 0},
27718 { SWIG_PY_INT, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM, 0, 0, 0},
27719 {0}};
27720
27721 #ifdef __cplusplus
27722 }
27723 #endif
27724
27725 #ifdef __cplusplus
27726 extern "C"
27727 #endif
27728 SWIGEXPORT(void) SWIG_init(void) {
27729 static PyObject *SWIG_globals = 0;
27730 static int typeinit = 0;
27731 PyObject *m, *d;
27732 int i;
27733 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27734 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27735 d = PyModule_GetDict(m);
27736
27737 if (!typeinit) {
27738 for (i = 0; swig_types_initial[i]; i++) {
27739 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27740 }
27741 typeinit = 1;
27742 }
27743 SWIG_InstallConstants(d,swig_const_table);
27744
27745
27746
27747 // initoglbasicc();
27748 // initoglshapesc();
27749 // initoglshapes2c();
27750 // initoglcanvasc();
27751
27752
27753 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27754 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27755 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27756 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27757 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27758 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27759 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27760 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27761 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27762 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27763 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27764 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27765 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27766 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
27767
27768
27769 }
27770